Trần Thanh: Is there any error in my code
We can't see your code.
You can't move stops (or pending prices) closer to the market than the minimum: MODE_STOPLEVEL * _Point or SymbolInfoInteger(SYMBOL_TRADE_STOPS_LEVEL).
Requirements and Limitations in Making Trades - Appendixes - MQL4 Tutorial
On some ECN type brokers, the value might be zero (the broker doesn't know). Use a minimum of two (2) PIPs.
The checks a trading robot must pass before publication in the Market - MQL5 Articles (2016)

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
Hello community,
I have a problem: When i trailing stop, sometimes i get error 136 (ERR_OFF_QUOTES). Example: Case AAPLm (Apple stock). But In most cases it works fine.
Is there any error in my code or is this just my forex broker error? I am using exness broker, demo.