However there is bound to be a much more elegant way to do this - so if anyone does know of a way please let me know.
Essentially you need to throw your entryprice into the following command line
where incomingpath = Cbi.Core.UserDataDir.ToString() + "\incoming\oif.txt";
This file is made and destroyed instantly and is better if you increment it for each order to prevent locking in cases of multiple orders hitting the file path simultaneously.
Now I am on to monitoring the outgoing file path for an oco order related to the entry!
I am only using this in sim so far as there are lots of holes but I am very pleased so far - I can now submit an order and place a stop and a target that are oco - its just annoying I can't use all the built in position code as it's all strategy based - unless someone can tell me otherwise...
btw is anyone finding this useful?