ziyang2048:
Hi guys, I want to set sl price to current price - 500dollar,
but that does not work, so how can I write?
Have a look at the documentation - there is a good code example in there which will help you with correct usage
https://www.mql5.com/en/docs/marketinformation/symbolinfodouble
Documentation on MQL5: Market Info / SymbolInfoDouble
- www.mql5.com
SymbolInfoDouble - Market Info - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
R4tna C #:
Have a look at the documentation - there is a good code example in there which will help you with correct usage
https://www.mql5.com/en/docs/marketinformation/symbolinfodouble
thanks, I already found how to solve btw
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi guys, I want to set sl price to current price - 500dollar,
but that does not work, so how can I write?