I need help to figure out how to close all my positions.
You can just search codebase.
- www.mql5.com
Yashar is right, check the code base and furthermore you can always check youtube there are plenty of videos on that topic.
I am trying to write code so that I can close my positions when a certain signal appears on the charts. I have been trying this for a long time but I cannot figure out how to solve this. This is what I have so far but I keep getting errors saying that there is some operator expected in 'symbol' and that ruins the third line of the code and leads to a few other areas in that line.
Is this chatGPT?
I am trying to write code so that I can close my positions when a certain signal appears on the charts. I have been trying this for a long time but I cannot figure out how to solve this. This is what I have so far but I keep getting errors saying that there is some operator expected in 'symbol' and that ruins the third line of the code and leads to a few other areas in that line.