Spécifications
hi, please check the job details below. only show interest if you can really do this with no bugs and with in mentioned price.
its a double end hedge martingel but same lot price.
HOW THE ORDERS WILL WORK ?
first i want to tell you how an order will work. suppose ea has opened a buy and it goes to minus and at a given distance ea will place a hedged position. and if it goes more minus ea will again place a buy and sell at given distance and continue till market returns. it will continue to activate break even for sell positions as market keeps moving down now when market returns sells will closed with break even and buys will go for profit.
there can be 2 conditions when market returns back,,,see example .
buy opened at 1.33500 and market goes low
hedged position opened at 1.33400 , market keeps going low and 2 more hedges are opened at 1.33300 and 1.33200
First Condition
break even is active for all sell positions which are hedged and as we can say that break even was set at 50 and market takes back from 1.33135 so break even will be active for all sell positions in this case ,,,, if there is a 10+ break even sell will be closed at 1.33190 and buy will go on..
second condition
break even is not yet active for sell and market goes back ,,,both positions will be closed as they reach upper hedge. so if market returns from 1.33185 the positions which were hedged will be closed when market goes up to 1.33200.
Orders Setup
Ea will start from opening a hedged position and pending orders will be placed at both sides in form of buy and sell stops. it will be manged with number of orders and order step. Ea will post one more pending order when ever an order is opened,,suppose EA has posted 7 buy and sell stops at both sides of the market at start ,now if market goes up and a pending buy is opened EA will place one more pending order at the top of 7th order at given distance..so the number of pending orders will remain the same as EA will keep placing new pending orders.
Hedged Orders
just as the pending orders at both ends pending hedged positions will also be placed at both ends and will be managed through hedge distance and number of hedges. Hedge orders will work in way that any hedge position should not be missed in quick market conditions.
Order Reopen Function
suppose a pending buy stop was placed at 1.33200 it was opened as market reached it now the order has been closed with tp, break even or sl and market again comes below that price value (1.33200) ,,say market comes back to 1.33150 at this point that pending order should be placed again but only if the first order has been closed. this function will be manged through reopen distance, same will work for sell stops if the the order is closed and market comes higher from that price to a give distance the pending order will be placed again.. this function will work for both single orders and hedged positions too,, i want different reopen distance settings for single and hedged orders.
Profit Target
profit target function will also be added,,suppose our profit target is 50 and equity is 1000 when ea started so when equity reaches 1050 EA will stop everything ,close all active and pending positions and stop working.
and also other normal functions like SL, TP , TS etc.
let me know if you have any questions.