EA based on price and time?
-
Is it possible to write and EA that is based on the closing price of say EUR/USD at two different times say 02:00 server time and 04:00 server time with the following conditions open price 00:00 server time, LOGIC: if close of 02:00 > open 00:00 and close 04:00 > open buy EUR/USD if close 02:00 > open 00:00 or close < open and close 04:00 > open buy EUR/USD , if close 02:00 < open 00:00 or close > open and close 04:00 < open 00:00 sell EUR/USD.?
Robert