工作已完成
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
指定
Using Martingale
Time filter: only new trades from 8:00 to 16:00 GMT time
Entry:
Using 2 timeframe for entry: i.e H1/ M15 or M15/M5 etc...
Long:
H1:
2 fast MA cross over and over the 3rd (slow) MA
H1 candle close > Daily Pivot ( check after each H1 candle close, only the 1st candle satisfies these condition then move on to check M15 conditions)
then in M15 check:
if 2 other MA cross over --> wait until price goes back to MA faster at least x points from that MA value
--> buy
for example: H1 closed at 1.2100, in M15 there is MA cross over at 1.2000 --> buy limit at 1.2035 ( x= 350)
Continue buying when every successive candle M15 after the first order close > Pivot
Max number for 1 basket: 5
Time expiration: pending order expire after x candles
Reverse for Sell case
Volume:
Fixed first trade: 0.01
or % Equity
Take Profit
Mode 1: no TP (on/off)
Mode 2: TP = Daily R1 - x points
Mode 2: TP = Daily R2 - y points
Mode 3: In case of there is martingale trades: TP = x pip from average price
If the trade TP --> stop the trading for the day, wait for next day signal
Stop Loss:
Mode 1: all trades have SL below Daily Pivot x points and using trailing stop according to pips i.e trail when individual trade have y points in profit
Mode 2: No Stop Loss
In mode 2 will use martingale if the trades above doesn't reach TP:
Use H1 , 2 MA cross and price below Pivot
Then use M15: if M15 candle close below previous candle close x points --> continue to buy
Continue buy according to martingale if M15 candle close below previous candle close x points
When all basket buy is closed --> stop trading for the day, wait for next day signal.
Volume:
Martingale Multiplier: for example 1.5 or 1.7
Close in Profit mode (on/off)
Check at a specific time i.e 20:00
Mode 1: If total Profit for all trades > 0 --> close all trades
Mode 2: or If total Profit for all trades > 0 for a chart (specific magic number) >0 --> close all trades
Security function:
If the EA want to runs it must have a correct account number ( change from source code)
i.e can only run on account no. 12345678 . If account number is different from this --> EA won't work.