I need this Expert Advisor fast (preferably during weekend – until Monday) and I need it cheap – I am looking at budget of $30.
Here are specifications:
If low of X1 is higher than low of X3 AND if low of X2 is higher than low of X3 AND if low of X4 is higher than X3 THEN Buy Market at open of X5.
Stop loss: User inputable value of pips under low of X4 (value will be very small, 1-3 pips, because of this stop-loss orders may frequently be cancelled by broker. If this is a problem consider using ‘silent’ stops. ). Stop-loss is valid ONLY for duration of user inputable number of candles. Example: If Stop loss is set to ‘1’ period/candlestick then stop-loss would only be valid during X5 candlestick.
Take profit: Take profit must ONLY be OPTIONAL user inputable value/multiple of stop-loss distance. (EA will mostly be used without Take-Profit orders).
Time criteria: Optional user inputable ‘Trading Hours’ during which EA should be active.
Pay attention to: Orders/position in relation to non-Trading Hours. Cancel all orders; close all positions during Non-Trading Hours.
Pay attention to: What to do if there is a buy/long position and there is a new signal for buy. User inputable number of additional positions to open in the same direction.
Pay attention to: What to do if there is a buy/long position and there is an opposite/sell signal. Cancel all orders and open positions and open a new position according to the new signal.
ALL OF THE ABOVE RULES FOR 'LONG' POSITION ARE ARE TRUE AS 'REVERSE' FOR 'SHORT' POSITIONS.
See attached "graphic_explanation.gif" for explanation of X1...X5.