Spécifications
Hello i need EA work as if the price go up step sell lot no. 1 within sereie 1 t.p. when price go down step . if price go up step sell lot no. 2 . take profit for both trades is if price go down the step . if price go up step then open sell lot no. after open trade one the ea will place sell pending orders for example 5 as i fill in the setting in the pending paragraf . if i put 8 then ea will place 8 pending orders each order at aprice step from the before order . for ex. if the step is 100 points for eurusd first sell was on 1.174000 then the pending orders will be on 1.17500 for 2 second sell with lot size no.2 and this lot size i will place it in the settings . from lot no. 1 up to lot no. 100 .
continue .. the price go up after 2second sell trade another step . then ea will open the pending sell order which has been place as i mentioned up . with lot size no. 3 . now the take profit for all three open orders will be as follow ..
first order opened at 1.17400 and 3thrd trade was opened on price 1.17600
in the settings there is paragraf its name is TAKE PROFIT FOR ALL TRADES
in this i will put for example 50%
then the take profit for the 3 sell orders will be as follow
1.17600 -1.17400 =200
200*50% = 100
1.17600-100 = 1.17500 this will be the take profit for all tades .
lets continue . EA must place pending order after one of the 5 pending order is open .. to keep always 5 pending orders placed every time .
now if price go up and S 4 S 5 S 6 S 7 Was opened then the price go down one step which is the price of S6 then here EA open Buy 1 and do as the ea work from the bigging in series no. 2 with keeping sell orders as is it working in sereies no. 1 and so on