Работа завершена
Техническое задание
I would like the EA to follow the indicators rules.
It all starts with a blue sign either on top or below of a closed candle.(blue sign appears before the candle closes)
If the blue sign appears above the candle then its a start to downtrend(bear) so you sell when the candle closes.
If the blue sign appears below the candle then its a start to uptrend(bull) so you buy when the candle closes.
Ea should open first position when the blue sign appears either above or below the candle and only after the candle closes.
After the first open position(candle with the blue sign) there might be cases where later candles will have vertical arrows either above(red =bear) or below(green=bull).
I would like the EA to open additional position at every arrow as:
Red vertical arrow above closed candle means you open sell positions(as many as appear during downtrend).
Green vertical arrow below closed candle means you open buy positions.(as many as appear during uptrend).
The vertical arrows always appear according to the blue sign in uptrend or downtrend.(If blue initial sign is below candle then the further candles will have green vertical arrows underneath them pointing up as buy signal. If the blue initial sign is above the closed candle then all further closed candles will have red vertical arrows above them pointing down as sell signal.)
There are different, smaller and non vertical but pointing across arrows appearing on the chart but I would like them to be ignored.
To take profit(TP) you wait until a brown sign appears either above or below a closed candle.
When the initial blue sign was below candle as buy(uptrend) then the brown sign will appear above the closed candle indicating "take profit(TP).
When initial blue sign was above candle as sell(downtrend) then the brown sign will appear below the closed candle indicating TP.
When the brown sign appears and the candle closes the EA should close every open position (TP).
I would like to have the option to change the lot size manually unless it can be automated.
At this point i would like the EA to TP(take profit)