How can I set SL to minimal SL ?

 

Hi,

How to make my EA set SL to minimal StopLoss ?

Some pair require minimum 10 pips for SL/TP, some may more than 10 pips

Can anyone please advise

 

Thanks in advance 

 
use virtual stop.
 
MarketInfo(Symbol(), MODE_STOPLEVEL)  

 


https://docs.mql4.com/constants/environment_state/marketinfoconstants 

Symbol Properties - MQL4 Documentation
  • docs.mql4.com
Symbol Properties - MQL4 Documentation
 
Thank you
 
naruponk:
Thank you
Welcome :)
Reason: