仕事が完了した
指定
I want a Swing Trade EA that
EA 1
Sell 2 lots (ability to change later) when price = Upper Bollinger Band and then later RSI 5 crosses below RSI 14 on close ( confirming change of direction) with a Hedge Buy Order 50 pips above entry instead of using a Stop Loss.
If the Hedge Buy Stop is not triggerred the trade is closed when Price hits bottom of Bollinger Band and RSI 5 crosses above RSI 14 (confirming change of direction) and also close any untriggerred Hedge Stop Orders.
If Hedge Buy Stop is triggerred then close Hedge Buy Stop when RSI 5 crosses below RSI 14 and place a new Hedge Buy Order 25 pips above the closing Price of the original closed Hedge Order
EA 2
As above but on any close out of a Hedge Trade Place another Sell Order repeating the original trade above
Opposite for Buy trade
EA to be written in MQL4
See attached for Chart example and more detailed instructions
Need to consider how to deal with the situation of Price reversing too far on the current bar - may be a Trailing stop of some kind
Unless imposiible all variables should be set up in a Parameters table that are user maintained to test and Optimization. Refer the attached Parameters as a a guide