Would like someone help code an EA here with this algorithm and setting.
1. TriggerMode: 1-RSI ; 2-EMA; 3-CCI; 4-PriceTarget
(1-RSI , 2-EMA , 3-CCI follow the chart time frame , // open buy if above the period value ; open sell if below the period value ;; as for 4-PriceTarget is the pending order open follow the price value enter at the PriceTarget at no.5 column)
2. RSI period:14
3. EMA period:14
4. CCI period:14
5. PriceTarget :0
6. OrderDirection:0 // 0-open sell ; 1-open buy ;; function for no.5 PriceTarget to open buy or sell.
7. Lot1 :0.01
8. Lot2 :0.01
9. Lot3 :0.02
10.Lot4 :0.02
11.Lot5 :0.03
12.Lot6 :0.03
13.Lot7 :0.04
14.Lot8 :0.05
15.Lot9 :0.06
16.Lot10 :0.07
17.Lot11 :0.08
18.Lot12 :0.09
19.Lot13> :0.10
20. TakeProfit: 20 -->Pip tp
21. StopLoss: 10 --->Pip sl
22. Magic number:111
The system will work like this:-
Example
Lot1 open sell order of 0.01 lot , system set the pip tp: 20 , pip sl:10. Then ea auto put a buy pending order lot2 with 0.01 lot with the sl price of lot1 but with no tp and sl yet. Until the lot1 is sl , lot2 is open buy order 0.01 only ea will place the tp:20 , sl:10 (due to sometime delay of MT4 , price of lot2 is may open different with the pending price and cause the tp and sl pip not accurate).
Repeat same. lot3:0.02 will be place as sell pending order of lot2 sl price...But if lot2 buy order is TP. Then delete the lot3:0.02 sell pending order.
Thank you . Hope you get what i mean here.
Regards
1. TriggerMode: 1-RSI ; 2-EMA; 3-CCI; 4-PriceTarget
(1-RSI , 2-EMA , 3-CCI follow the chart time frame , // open buy if above the period value ; open sell if below the period value ;; as for 4-PriceTarget is the pending order open follow the price value enter at the PriceTarget at no.5 column)
2. RSI period:14
3. EMA period:14
4. CCI period:14
5. PriceTarget :0
6. OrderDirection:0 // 0-open sell ; 1-open buy ;; function for no.5 PriceTarget to open buy or sell.
7. Lot1 :0.01
8. Lot2 :0.01
9. Lot3 :0.02
10.Lot4 :0.02
11.Lot5 :0.03
12.Lot6 :0.03
13.Lot7 :0.04
14.Lot8 :0.05
15.Lot9 :0.06
16.Lot10 :0.07
17.Lot11 :0.08
18.Lot12 :0.09
19.Lot13> :0.10
20. TakeProfit: 20 -->Pip tp
21. StopLoss: 10 --->Pip sl
22. Magic number:111
The system will work like this:-
Example
Lot1 open sell order of 0.01 lot , system set the pip tp: 20 , pip sl:10. Then ea auto put a buy pending order lot2 with 0.01 lot with the sl price of lot1 but with no tp and sl yet. Until the lot1 is sl , lot2 is open buy order 0.01 only ea will place the tp:20 , sl:10 (due to sometime delay of MT4 , price of lot2 is may open different with the pending price and cause the tp and sl pip not accurate).
Repeat same. lot3:0.02 will be place as sell pending order of lot2 sl price...But if lot2 buy order is TP. Then delete the lot3:0.02 sell pending order.
Thank you . Hope you get what i mean here.
Regards