Job finished
Specification
I want an EA who can place pending orders on mean daily Pivot points, using 21:00 GMT of the previous day to 20:59 GMT of today price actions.
It must work on MT4 for all 4 digits and 5 digits brokers.
It must work both on demo and real accounts
It can be used for all currency pairs & Gold
Display Account information on the chart
Only Set Pending Orders Once in every 24 hours
At 20:59 GMT, Closes all pending orders
At 21:00 GMT, Sets new pending orders
Dset== 30 pips
DM00=DM0-Dset
DM0=0.5*(S2+S3);
DM1=0.5*(S1+S2);
DM2=0.5*(P+S1);
DM3=0.5*(P+R1);
DM4=0.5*(R1+R2);
DM5=0.5*(R2+R3);
DM6=DM5+Dset
Display DM00, DM0, DM1, DM2, DM3, DM4, DM5, DM6 on the chart
Display Account info on the chart
Pending OrderSend
Check the last 4 hours candle, if the candle is bullish,
1st Sell Limit = DM4 T/P = DM3, S/L=DM5
2nd Sell Limit = DM5 T/P = DM4, S/L=DM6
1st Buy Limit = DM1 T/P = DM2, S/L=DM0
2nd Buy Limit = DM0 T/P = DM1, S/L=DM00
Check the last 4 hours candle, if the candle is Bearish,
1st Sell Limit = DM3 T/P = DM2, S/L=DM4
2nd Sell Limit = DM4 T/P = DM3, S/L=DM5
1st Buy Limit = DM0 T/P = DM1, S/L=DM00
2nd Buy Limit = DM00 T/P = DM0, S/L=DM000
Check the last 4 hours candle, if the candle is neither Bearish nor bullish (Sideways),
1st Sell Limit = DM3 T/P = DM2, S/L=DM4
2nd Sell Limit = DM4 T/P = DM3, S/L=DM5
1st Buy Limit = DM0 T/P = DM1, S/L=DM00
2nd Buy Limit = DM00 T/P = DM0, S/L=DM000
Use TrailingStop if it is set.
Default TrailingStop== 0