How to close all opened positions in profit for the current symbol
I found the problem.
i replaced :
if(PositionNetProfit=>CloseCondition
by
if(m_position.Profit()>=CloseCondition)
I found the problem.
i replaced :
if(PositionNetProfit=>CloseCondition
by
if(m_position.Profit()>=CloseCondition)
You agree to website policy and terms of use
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...