Please, I need help to correct this code
Topics concerning MT4 and MQL4 have their own section.
In future please post in the correct section.
I will move your topic to the MQL4 and Metatrader 4 section.
You agree to website policy and terms of use
I am a novice in code, but I really want to learn; hence I am trying to learn on the job.
I got this EA online - it is an anti-martingale strategy. It opens position at every new bar. Instead, I want it to open a new position immediately when the existing position (in the trend direction) closes.
I have tried to do it myself by coping and pasting from other EA, but could not go further than this.
Please, somebody help me out.