The list can be any, like EURJPY GBPUSD EURGBP GBPCHF CHFJPY
For some reason I'm getting error 130 if SL or TP is below 80 points. if (takeprofit != 0 ) { TAKEPROFT = Bid - (takeprofit* _Point ); } if (stoploss!= 0 && UseSTOPLOSS) STOPLOSS = Bid + (stoploss* _Point );
I want to add a for loop to check for consecutive up or down bars before entry. Please help. if(iOpen(Symbol(),timeframe1,4)< iClose (Symbol(),timeframe1,4) && iOpen(Symbol(),timeframe1,3)<iClose(Symbol(),timeframe1,3) && iOpen(Symbol(),timeframe1,2)<iClose(Symbol(),timeframe1,2) &&
Can someone help me add a local time filter to my EA? I want the EA to only look for trades in local time between something like 7:25 to 8:05. I can do it for hour only, but adding the minutes got me confused