when there is done a question referring stoploss and profittargets this includes every time the discussion what an OCO is, how it works and where orders reside.
So I want to ask a question referring to order transmission a different way:
I don´t want to have stoploss and profittargets on brokers-server therefore I do NOT code in my strategy stoplosses and targets. I only do stoplosses and the exits I do with conditions.
My concrete question now is:
when eg ExitLong(10000, "xxx", "Long1") is realized what about the referring SetStopLoss("Long1", CalculationMode.Price, Position.AvgPrice,false). Will this order persist or be cancelled? I do some strat-trades in demo mode today with this "solution" to avoid targets on brokers-server and I see the stoploss for every position is cancelled with every exit of position.
I´m happy about this but can you please confirm. This seems to be like an OCO but without targets on brokers server(?)
Thanks
Tony
Comment