EA required to run on MT4 platform.
EA to be based on two SMAs
When SMA1 crosses SMA2 in an upward direction a BUY Stop Trade – or Pending Order, as it is called on the MT4 platform - is set up; trade to be opened if/when pip value is xx (user defined) above the pip value when the SMAs cross.
When SMA1 crosses SMA2 in a downward direction a SELL Stop Trade –Pending Order - is set up; trade to be opened if/when pip value is xx (user defined) below the pip value when the SMAs cross.
When the SMAs cross in either direction, any Open order is to be closed, and any already existing trades the have not yet been triggered, are to be cancelled.
User defined parameters:
SMA1 value (default value 6)
SMA2 value (default value 21)
Number of pips, up/down, from when the SMAs crossed, to Open the trade (default value 50)
Stop Loss (default value 50)
Trailing Stop (default value 20)
Trade Size (default value 0.1)
Take Profit (default value 60)
Also, auto-synchronisation for platform server time