Will Stent / Publications
Forum
Reset/break code after an if statement to limit the amount of open positions within a buy/sell zone
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