Tarea técnica
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
My strategy of current EA as below and all other function are good except above :-
policy :
1. i will set the open order price both buy and sell and take profit price too. (market price open also ok)
2. if buy order open then sell order price will be it's stop loss point vise versa for sell order too.
3. i will set the lot size of every order after hitting s/l.
4. next order should open pending order.(please ask me if not understand)
5. EA should work continue with previous running open order in case of chart time change, ea apply on another chart and MT4 terminal close and open.
7. if first sell open at 1.3020 with 0.01(1st order) and if hits s/l at 1.3050, then buy at 1.3050 0.02 lot size(2nd order), if 2nd order also hit s/l then sell again with 0.04(3rd order)
if 3rd order also hit s/l then again buy with 0.10 with 2 trades (4th order) like that ea has to open order untill it hit it's TAKE PROFIT and after hitting TAKE PROFIT close pending order of
same pair and again start cycle with first lot size continue (if buy order take profit hits than open buy order only if sell order hit take profit than open sell order with first stage).
8. example :
* cmp : eur/usd 1.3000
* if i set sell order should open at 1.3020 and buy order at 1.3050.
* also i will set take profit price for sell order 1.2920 and for buy 1.3150.
* sell order s/l will be buy order price and buy order s/l will be sell order price.(next order should be pending order open)
* sell at 1.3020 s/l 1.3050 and buy at 1.3050 s/l 1.3020
* now here ea has to open order continuesly one by one each time s/l will hit.
* lot size and how many trades of same lot size will be decided in every order and order list should be there... like 1st order 2nd order 3rd order 4th order......till 30 order.
* suppos 1st order : 0.10, 2nd order : 0.20, 3rd order : 0.40, 4th order 1.0 (2 trades) 5th order : 1.0 (3 trades) like that i will set lot size till 30 order.
* now EA has to open order line wise if 1st s/l hit then 2nd order if 2nd order hit s/l then it has to open 3rd order like that it should continue....till 30 order.
* remember there should be option to open decided trades of same lot size too. suppose if want to open 2 trades of same lot size or 1.0 lot size of 2 trades in 4th order there should be possible.
summery Ea should be like.......
*sell order price option and it's take profit option /and buy order price option and take profit price option.
*buy order s/l will be sell order price and sell order s/l will be buy order price.
*lot size option / how many trades
1st 0.01 / 1
2nd 0.02 / 1
3rd 0.04 / 1
4th 0.10 / 2
5th 0.10 / 3 till 30 orders.....
.
.
.
.
.
thank you.......