Please edit your post and
use the code button (Alt+S) when pasting code
Sorry about that. I'm just looking for a way to code the EA to open 3 positions when in each zone, then when price enter the next zone, I wait it to reset its memory and start the process again. Using HistoryDealsTotal it remembering the first 3 positions forever. Not sure what else to use?!
Thanks
Will
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 everyone
I've just got a little stuck trying to run this code contiguously. I only want to open 3 positions when in a buy or sell zone but because I'm using HistoryDealsTotal it only works the first time!
I'm pretty new to MQL5 and guessing I might need to use a loop but am getting really stuck and would really appreciate some help!!!
Thanks in advance
Will