Specification
Hi
I have my old Hull Moving Average on MT4 that works perfect. I want to create an EA out of it for MT5 !!!!!
The original Indicator has a trend line that changes colour based on the trend of the market. it changes from RED ( Sell signal) to Green ( Buy signal).
Rules:
You are to add the Hull Moving average indicator to the EA 3 times.
You also add 1 RSI to the EA.
First Hull Moving average Indictor should have it Input set at 900. ( MAIN Trend ) and colour size 3. this particular trend determine the signal direction.
second Hull Moving average Indictor should have it Input set at 300. and colour size 2
Third Hull Moving average Indictor should have it Input set at 150. and colour size 1
The RSI Period is set to 14.
That means the New indicator will have 3 trends lines and 1 RSI.
Parameters:
-
Timeframe: 1 hour
-
Risk management: Fixed risk of % of equity (input)
-
Hull Moving Average periods: 150, 300, and 900 (input)
-
RSI period: 14 (input)
-
Stop loss: 20 pips TRAILING (will follow the trade going in the direction of the take profit, and will secure pips even if trade turn agaisnt me) (input)
-
Take profit: 100 pips (input)
BUY Signal generation:
When Hull Moving Average with input of 900 is showing buy (Green ) and
Hull Moving with 300 is showing buy (Green) also and
Hull Moving Average 150 is showing buy (Green) BUT crosses Hull moving Average 300 upward. ^^^^
The Hull moving average with input 900 trend line is below the crossing point.
The RSI is below 30.
That is a buy signal.
---------------------
SELL Signal generation:
When Hull Moving Average with input of 900 is showing SELL (RED) and
Hull Moving with 300 is showing SELL (RED) ALSO and
Hull Moving Average 150 is showing SELL (RED) BUT crosses Hull moving Average 300 downward. vvvvv
The Hull moving average with input 900 trend line is above the crossing point.
The RSI is above 70.
That is a Sell signal.
------------------------------------------------------------------------
Add trailing stop loss, Magic number and martingale and other function that EA must have.
lastly The EA should be able to send me email notification alert signal any time it open a trade. (even with/without the auto trade, if I disable autotrade or enable it i still want the email with the signal
I am open to discussion to improve the system.
The MQ4 is attached for the reference.