I found the problem.
i replaced :
if(PositionNetProfit=>CloseCondition
by
if(m_position.Profit()>=CloseCondition)
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 everybody,
A new challenge, i Need to close all the opened positions in profit, compliant with the minimum profit i want, for the current symbol only.
I read some related topics on this forum but i can't make it work.
Here is my code
If someone can help me...