OpenTicks – EA MetaTrader 5
Author of the idea — Maksim Zerkalov, author of the mq5 code — barabashkakvn. When opening a new bar, the EA analyzes the value of the previous four bars: if(iHigh(1)>iHigh(2) && iHigh(2)>iHigh(3) && iHigh(3)>iHigh(4) && iOpen(1)>iOpen(2) && iOpen(2)>iOpen(3) && iOpen(3)>iOpen(4)) BuyOp=true; if(iHigh(1)<iHigh(2) && iHigh(2)<iHigh(3) && iHigh(3)<iHigh(4) && iOpen(1)<iOpen(2) && iOpen(2)<iOpen(3) && iOpen(3)<iOpen(4)) SellOp=true; When we … Read more