Stepping Stop Loss Issue

 

I've setup stop losses based on FibRetracement. Once the price goes below the Fib100 line this new SL should be set:


OrderModify(ticket,OrderOpenPrice(),Ask+MyPoint*FibRetracement(2),OrderTakeProfit(),0,Red);


The problem is that the SL was set ABOVE the Bid which is wrong. Any ideas?

 
mixtermind:

I've setup stop losses based on FibRetracement. Once the price goes below the Fib100 line this new SL should be set:


OrderModify(ticket,OrderOpenPrice(),Ask+MyPoint*FibRetracement(2),OrderTakeProfit(),0,Red);


The problem is that the SL was set ABOVE the Bid which is wrong. Any ideas?

Take a look at /book.mql4.com/appendix/limits,

Anyway you can try lot parsial closing at that target level.

Cheers

Reason: