Lavoro terminato
Specifiche
If a bullish position is opened, the EA must open another bearish position based on the profits of the bullish position as follows :-
If the profits of the bullish position become < -100 “I will set this number in the settings I will call it open-hedging-level”, if the bullish profits position becomes less than -100, the EA must open a hedging position (bearish position). Then if the hedging position is opened the EA must close the hedging position if the profits of a bullish position become > -10 “I will also set this number in the settings and I will call it close-hedging-level” . please ensure the checking is done instantly and hedging position is opened instantly or in seconds if the condition is met
Then if a bearish position is opened, the EA must open another bullish position based on the profits of the bearish position as follows :-
If the profits of the bearish position become < -100 “I will use the same setting that I called open-hedging-level”, if the bearish profits position becomes less than -100, the EA must open a hedging position (bullish position in this case). Then if the hedging position is opened the EA must close the hedging position if the profits of a bearish position become > -10 “I will use the same setting that I called close-hedging-level” . please ensure the checking is done instantly and hedging position is opened instantly or in seconds if the condition is met
The EA must the below variables in the update:-
open-hedging-level
close-hedging-level
stop loss
lot size
take profit.
and all necessary settings if there any I have left out. please use CTrade trade,trade2; where trade2 is for dealing with hedging trades and please use Magigc number for hedging trades also.