I am a rookie here with little programming experience. Still I am able to create some startegies.
Could anyone please tell me why does SetStopLoss() order survive even after the position it had belonged to has already been closed?
let me discribe:
1,I open a position ( let say a long position) and set a stop loss for it (by using SetStopLoss)
2, The candles hit my SL, and the position is over.(But the StopLoss apparently survives!)
3, Later, whenI want to open another position it activates the (previous) SL if the price is below the previous SL level. So the position opens and closes whithin the same seconds.
Why is that? How can I avoid it? Why don't SL orders just cease to exist after their position is history?
Regards
ternero


Comment