Job finished
Specification
The EA is based on Ema Crossover based on bar close filtered by MACD Histogram and Ichimoku Cloud
Buy conditions
1. Fast Ema crossed Slow Ema from below
2. Price closed above Ichimoku cloud
3. MACD Histogram change direction (from a lower to higher value)
4. Price closed higher than open price (meaning the bar closed green)
5. If bar closed Red, wait for the next bar to close Green (This should be an input parameter how many bars to wait)
6. Buy at the open of the next bar if above conditions are met
Sell conditions
1. Fast Ema crossed Slow Ema from above
2. Price closed below Ichimoku cloud
3. MACD Histogram change direction (from higher to lower value)
4. Price closed lower than open price (meaning the bar closed red)
5. If bar closed green, wait for the next bar to close red (This should be an input parameter how many bars to wait)
6. Sell at the open of the next bar if above conditions are met
It should include these mandatory Input parameters:
Indicator settings for EMA
Fast Ema
Slow Ema
Indicator settings for MACD
Fast Ema
Slow Ema
MACD SMA
Indicator settings for Ichimoku
Tenkan-Sen
Kijun-sen
Senkou Span B
Stop Loss and Take Profit Settings
SL
TP
Exit settings
I do not know what to type here but the idea is position should be closed in two ways
1. TP is hit or
2. Opposite signal happened
3. Outside of time operation if TP is hit or there is a valid opposite crossover, the EA should close the position, but NOT open a trade in the opposite direction. All trades should only be opened in the hours of operation.
Important:
If I manually close a position, the EA should never open a new position.
The EA should not close current position outside of trading operation (If I set operation time starting 10:00 to 20:00, current open position should not be closed at 21:01) unless item #3 above in Exit Settings is met.
Trailing Stop and Breakeven Settings
Breakeven pips (# of pips in profit to trigger Breakeven)
Lock in pips (# of pips to close as profit after breakeven is triggered)
Trail start (# of pips in profit to trigger trail)
Trail pips (For example: My trail start is at 30 pips and my trail pips is 5, I will be stopped out at 25 pips profit if price not not go higher than 30 pips profit)
EA operation time settings (I would like to run the EA at different sessions)
Start Hour
Start minutes
End hour
End minutes
Money management Settings
MM (true or false)
Risk (Based on Equity)
Lot Size (if MM is false)
Others
My Broker is ECN, but the EA should also work on non-ECN broker
The EA could be similar to the freely available Universal MA EA (See attached). The main difference is the MACD and Ichimoku additions
Distance of close price above (buy) or below (Sell) the cloud should be an input parameter
Additional parameters that I forgot:
Allowable slippage
If the bar that meet the EMA cross requirement, did not meet either or both MACD or Ichimoku requirements, no trade should be taken, but if the next bar meet all requirements, a trade should trigger.
The EA should work on time based, renko or range bar charts (Offline charts)