simple question for coders.

 

some brokers require a minimum distance of where you can place your stop or take profit from quoted price. What is this knowen as in mq4? Incase anyone suggests that is ts the spread, its not the spread..

thanks

 

simple question for coders.

i'm not

MarketInfo(Symbol(),MODE_STOPLEVEL)
 

for both long and shorts yea? cheers..

 

you have to include also the spread in your calculations.

 
zzuegg:

you have to include also the spread in your calculations.


ok, anything else i should know. thanks in advance..
 
gavin:

ok, anything else i should know. thanks in advance..
If you modify the orders you should also take a look at MODE_FREEZELEVEL
Reason: