工作已完成
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
指定
Hi folks,
I'd like to have this EA for MT5 developed.
Like the title says it, I want trades to open using HMA and Heiken Ashi. It is pretty straightforward really. We open a trade when the Heiken Ashi color and HMA color (i use the one you wrote for recovery in this example) line up. It should work on the timeframe to which it is attached. In the example below we open Trades at pojnt A to E:
Stoploss will be set at the red drawn line, which is the opposite bollinger band. Stoploss will move along with the bolinger band.
For Take Profit we use either an EMA running along as trailing stop, or the color change of a second HMA. It should become active after a define number of points.
To avoid ending up opening endless trades in range markets the price should have moved n points in n number of candles back.
That's it.
Lotsize should be either fixed or a % of equity according to Stoploss distance.
Parameters:
Lotsize:
Lots: n lotsize
Traderisk: n% of equity (0 = disabled)
Entry Validation:
HMA_period: n period
Price: apply to open price or close price
Minimum_points_movement: n points
Candles_back: n candles back taken into considerationfor point movement
Multitrade: True/false
StopLoss:
Bollinger_band_period: n period
Trailing Stop:
Trailing_Stop_Method: HMA/EMA
Trailing_stop_period: number
Trailing_stop_activation: number of points
Trading time:
Trade_after_friday_4pm: yes/no (default no)
That's it. When can you start and how much time do you think you need and most important;y, what would your price?
Cheers,
Maarten