if(OrderType() == OP_BUY && profit >= 300 * Point)Profit is in account currency (e.g. $20.00). 300 * 0.00001 = 0.003. Condition will always be true.
William Roeder #:
Profit is in account currency (e.g. $20.00). 300 * 0.00001 = 0.003. Condition will always be true.
Profit is in account currency (e.g. $20.00). 300 * 0.00001 = 0.003. Condition will always be true.
Please, how can I modify it?
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
In MQL4, the following trailing stop loss function, why the order will be continuously modified within the same 1 second? The effect I want is to adjust the SL position by 100 points every time the profit increases by 100 points.
Is there anyone who can modify it for me? Thanks!