Forum

Changing timeframe restarts EA

Hi, I have been currently running my EA on a demo account "EURUSD". However, everytime i move from an hour chart to 15 mins or any other. The EA restarts and places additional orders for conditions that have alreay been met in the previous time chart. How can I stop this problem ? Regards, Paramoo

How to stop EA from making multiple buy orders

Hi, I am currently working on my EA and ran into some trouble. Part of my script is below. My EA keeps producing a buy order when it is within the price range I have specified below, despite me putting a sleep function there for a long time. Is there an alternative way that is more efficient or