작업 종료됨
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
명시
START EA WITH A MASTER ORDER, 1 LOT
MASTER BUY ORDER IF SIMPLE MOVING AVERAGE 100(1) > SIMPLE MOVING AVERAGE 100(10) AND SIMPLE MOVING AVERAGE 100 (10) -SIMPLE MOVING AVERAGE 100(1) IS > 2 OR
MASTER SELL ORDER IF SIMPLE MOVING AVERAGE 100(1) < SIMPLE MOVING AVERAGE 100(10) AND SIMPLE MOVING AVERAGE 100 (1) -SIMPLE MOVING AVERAGE 100(10) IS >2.
FOR ORDER MASTER, EVERY CANDLE VERIFY:
IF SIMPLE MOVING AVERAGE 100(1) > SIMPLE MOVING AVERAGE 100(10) AND SIMPLE MOVING AVERAGE 100 (10) -SIMPLE MOVING AVERAGE 100(1) IS > 2 : HOLD MASTER ORDER
IF NOT: CLOSE ALL OPENED ORDER (MASTER AND SECONDARY) AND OPEN NEW MASTER ORDER IN OPPOSITE DIRECTON
IF SIMPLE MOVING AVERAGE 100(1) > SIMPLE MOVING AVERAGE 100(10) AND SIMPLE MOVING AVERAGE 100 (10) -SIMPLE MOVING AVERAGE 100(1) IS > 2: HOLD MASTER ORDER
IF NOT: CLOSE ALL OPENED ORDER (MASTER AND SECONDARY) AND OPEN NEW MASTER ORDER IN OPPOSITE DIRECTON
SECONDARY ORDER :
VERIFY CLOSE CANDLE AND IF THERE ARE OPENED SECONDARY ORDER:
(MAX RUNNING MASTER ORDER: 1
MAX RUNNING SECONDARY ORDER: 1)
IF THERE ISN’T OPENED SECONDARY BUY OR SELL ORDER AND IF MASTER ORDER IS MASTER BUY ORDER AND CLOSE CANDLE PRICE IS > UPPER BOLLINGER BANDS 100 S.D. 1.5 AND CLOSE PRICE IF > OF OPENED MASTER ORDER, THAN OPEN SELL SECONDARY ORDER.
TARGET PRICE OF SELL SECONDARY ORDER IS THE UPPER BOLLINGER BANDS 100 S.D. 1 (TRAILING EACH CANDLE).
IF THERE ISN’T OPENED SECONDARY BUY OR SELL ORDER AND IF MASTER ORDER IS A MASTER SELL ORDER AND CLOSE CANDLE PRICE IS < LOWER BOLLINGER BANDS 100 S.D. 1.5 AND CLOSE PRICE IF < OF OPENED MASTER ORDER, THAN OPEN BUY SECONDARY ORDER.
TARGET PRICE OF BUY SECONDARY ORDER IS THE LOWER BOLLINGER BANDS 100 S.D. 1 (TRAILING EACH CANDLE).
EA MUST HAVE A TIME/DATE TRADE FILTER.