Trabajo finalizado
Tarea técnica
I have an ea that opens a buy (market execution) and n pips below it place a sell stop order ... or vice versa...
*user can set 1st trade become buy or sell.
*user can set distance between 1st buy and sell stop.
scenario 1: market continues its 1st direction without hitting 2nd stop order (sell stop here) ea will add to 1st position (buy position here)
each n pips with the same lot , decreasing lot or increasing lot on each new trade and when it reaches its predefined target it will close
all buy positions and also inactive stop order and starts again...
*user can set distance between each remaining position with its previous one.
*user can set if each new position lot amount in lot multiplier section.
*user can set his/her target in target section.
scenario 2: market turns against our 1st trade and hits 2nd stop order (sell stop here) it will start add to each direction market will continue each n pips. with same lots as 1st 2 trades on each new trade or increase lots on each new trade or decrease lots on each new trade.
when total buys + total sells = predetermined amount of target ea will close all buys and sells instantly at the same time. and starts again...
NOW I WANT YOU TO ADD THIS SECTION TO MY EA:
add to 1st position : true/false
true: in case of scenario 1 EA will add to 1st opened position.
scenario 1: market continues its 1st direction without hitting 2nd stop order (sell stop here) ea will add to 1st position (buy position here)
each n pips with the same lot , decreasing lot or increasing lot on each new trade and when it reaches its predefined target it will close
all buy
positions and also inactive stop order
and starts again... and vise versa for when 1st trade is a sell position...
false: in case of scenario 1 EA will not add to 1st opened position.
scenario 1 amendment : market continues its 1st direction without hitting 2nd stop order (sell stop here) ea will not add to 1st position (buy position here) each n pips with the same lot , decreasing lot or increasing lot on each new trade and let the only opened position (1st position) continues to reach predefined profit when it reaches its predefined target it will close
that buy
position and also inactive stop order
and starts again...and vise versa for when 1st trade is a sell position...
NOTE: please add this new section after magic number and before 1st trade sections.
i will send EA file for those i will agree to give the job to him.
thank you