Expert Advisor based Heikin Ashi (Smoothened) with Multiple Timeframes Filter.

MQL5 Experts Forex

Job finished

Execution time 21 days
Feedback from customer
Effective delivery, understanding and clear communications. Thanks for a great job.
Feedback from employee
Thanks a lot

Specification

MT 5 – EA Brief (Heikin Ashi Smoothened – Multiple Settings)                                   4 Aug 2025

Trading Platform

The Expert advisor will be used to trade Deriv.com markets and more specifically Crash and Boom markets. Trading is via MT5 trading platform.

Indicator

Only one indicator being Heiken Ashi Smoothed (HAS) (please note that this is a variation of the Heiken Ashi that comes standard with most trading platforms). Attached is the code for this indicator.

Settings for Heikin Ashi Smoothed is

Smoothing Period = 10

Smoothing Method = Linear Weighted

T3 Volume Factor = Not Applicable – Did not select T3

T3 Calculation Mode - Not Applicable – Did not select T3

Use Sorted Values = False

Use Better Formula = False

Bullish Candle Colour = Blue

Bearish Candle Colour = Crimson

Value of Accuracy in Data Window = 5

 

Colour settings are set to blue and red (Crimson) with blue indicating a bull / buy trend and red indicating a bear / sell trend.

Timeframes

I trade all timeframes, from 1min up to 1d (daily).

Buy Signal

Buy signal will be a combination of the following:

·         Buy when HAS indicator change from red to blue. Thus, buy signal will be at the first blue bar after a red bar. For Example – let’s assume the timeframe is 5 min.

·         The HAS indicator for a higher timeframe is also blue. For Example, let’s assume this is the 15 min timeframe. This will not be the timeframe that the trading platform will be set to (which is 5 min in this example). Let’s call this filter 1

·         The HAS indicator for a higher timeframe is also blue. For example, the 1 hour timeframe. This will not be the timeframe that the trading platform is set to (which is 5 min in this example). Let’s call this filter 2

The logic behind this is to look at a higher timeframe, then at an intermediate timeframe and then at the lowest timeframe. If they all three provide a buy signal, then only a buy will occur. Please note that the first time that all 3 time frames are blue (buy signal), a buy should be executed. This might result in the reality that it might not be the first blue after a red for the lowest timeframe (in this example 5 min timeframe)

For as long as the two upper timeframes (Filter 1 and filter 2) remains blue, there will then be a buy signal every time the lowest timeframe (5 min in this example) turn from red to blue.

I would like to select the time frame for the two upper timeframe (15 min and 1 hour in this example) and would also like to be able to switch one or both filters on or off. The selection of the lowest timeframe will be done attaching the Expert Advisor to a chart that is set to the required timeframe.

Observation = Deriv.com’s Crash & Boom markets have sudden spikes. During a spike, trades are not implemented / closed and only occurs after a spike. I am ok with this.

Sell Signal

Sell signal is the inverse / opposite of the buy signal. Description as above but swap the word blue for red and red for blue.

Take Profit

Take profit will be as per below. I would like to enable or disengage options as part of the input parameters.

·         Option 1 – take profit on each open trade on an “z” amount of pips with “z” being an input parameter. This is like the standard take profit setting that is available on MT5.

·         Option 2 – Take profit when all open trades have achieved an average pip profit of “y” pips with “y” being an input parameter. For example, there are 7 open trades and “y” is set at 50 pips. Thus take profit will be when the overall pip profit of all open trades are 350 pips. This might mean that some open trades are closed at a loss, but the remainder will be in profit ensuring a total of 350 pip profit.

·         Option 3 – Take profit occurs when all open trades add up to a pip profit of “x” with “x” being an input parameter. This is similar to option 2 above with the difference that the take profit occurs on a fixed amount of pips regardless of the quantity of open trades. For example, “x” is set at 150 pips. Take profit will then occur when the sum total of all open buy and sell trades equates to 150 pip profit (regardless of the quantity of open trades)

Stop Loss

Stop Loss will be a selection or combination of the below options. I would like to enable or disengage the individual options as part of the input parameters. This should also allow me to select no stop loss (by disengaging all options).

·         Option 1 – Stop loss on each open trade on an “w” quantity of pips with “w” being an input parameter. This is like the standard stop loss setting that is available on MT5.

·         Option 2 – Stop loss is set on a trailing stop like the standard option available om MT5. Trailing stop will be at “v” pips with “v” being an input parameter. Stop loss will be applicable for each individual trade (and not combined with other trades)

Please take note that the input parameters (v, w, x, y & z) are unique to each option.

Single vs Multiple Trades

Please insert an option whereby it can be selected to only have 1 open trade at any given time. In this scenario, all other buy / sell signals will be ignored until the open trade is closed. The next buy / sell signal (after previous trade is closed) will then open a new trade. I would like to switch this function on / off allowing a single trade at a time or multiple trades to be open at the same time.

Long Only and Short Only  

Please include a function that will allow me to select long / buy trades only or short / sell trades only. This will allow me to trade market:

·         Long / buy trades only

·         Short / sell trades only

·         Buy and sell trades (by not implementing above)

Input Parameters & Requirements

·         Magic Number – To allow me to trade more than one market. I will run this EA on multiple charts on the same trading account. It is important that the EA recognises that it should buy, sell and take profit on a chart-by-chart basis and keep calculations separate from other charts.

·         To select the trading time frame (from 1min to daily) – This will be achieved by linking the EA to the relevant chart and setting the chart to the required timeframe.

·         To select higher timeframes (filter 1 and filter 2). I also would like to switch each filter off if I don’t use one or both.

·         To select between the options for take profit and stop loss as detailed above. I would like to be able to select all combinations

·         To select the input parameters v, w, x, y & z as detailed above.

·         To select the lot size.

·         Trading will occur on MT5 Trading platform (Deriv.com)

·         Allow for single vs multiple open trades at any given time.

·         Allow for long / short trades only or both directions (as per above explanation)

 


Responded

1
Developer 1
Rating
(274)
Projects
403
28%
Arbitration
40
40% / 50%
Overdue
1
0%
Free
2
Developer 2
Rating
(268)
Projects
602
34%
Arbitration
65
20% / 57%
Overdue
147
24%
Working
Published: 1 article, 22 codes
3
Developer 3
Rating
(47)
Projects
67
37%
Arbitration
5
40% / 40%
Overdue
1
1%
Free
4
Developer 4
Rating
(152)
Projects
228
80%
Arbitration
22
27% / 50%
Overdue
11
5%
Free
Published: 24 articles, 1882 codes
5
Developer 5
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
6
Developer 6
Rating
(7)
Projects
13
15%
Arbitration
13
23% / 46%
Overdue
3
23%
Free
Published: 35 articles
7
Developer 7
Rating
(59)
Projects
91
43%
Arbitration
4
0% / 100%
Overdue
3
3%
Working
8
Developer 8
Rating
(25)
Projects
32
19%
Arbitration
5
40% / 40%
Overdue
4
13%
Free
9
Developer 9
Rating
(202)
Projects
263
22%
Arbitration
23
52% / 17%
Overdue
0
Loaded
10
Developer 10
Rating
(169)
Projects
180
46%
Arbitration
3
33% / 33%
Overdue
1
1%
Working
11
Developer 11
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
12
Developer 12
Rating
(454)
Projects
720
34%
Arbitration
35
71% / 9%
Overdue
22
3%
Free
13
Developer 13
Rating
(16)
Projects
35
23%
Arbitration
4
0% / 50%
Overdue
2
6%
Working
14
Developer 14
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
15
Developer 15
Rating
(7)
Projects
8
13%
Arbitration
6
33% / 33%
Overdue
0
Free
16
Developer 16
Rating
(366)
Projects
444
55%
Arbitration
22
55% / 14%
Overdue
30
7%
Loaded
17
Developer 17
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
18
Developer 18
Rating
(10)
Projects
15
27%
Arbitration
0
Overdue
3
20%
Free
19
Developer 19
Rating
(443)
Projects
570
37%
Arbitration
106
39% / 33%
Overdue
17
3%
Free
20
Developer 20
Rating
(645)
Projects
872
48%
Arbitration
29
38% / 17%
Overdue
63
7%
Free
21
Developer 21
Rating
(5)
Projects
4
25%
Arbitration
1
0% / 100%
Overdue
0
Free
22
Developer 22
Rating
(2337)
Projects
2940
63%
Arbitration
124
44% / 26%
Overdue
429
15%
Working
23
Developer 23
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
24
Developer 24
Rating
(20)
Projects
26
38%
Arbitration
6
33% / 50%
Overdue
0
Free
25
Developer 25
Rating
(48)
Projects
58
34%
Arbitration
15
27% / 60%
Overdue
1
2%
Working
26
Developer 26
Rating
(162)
Projects
289
35%
Arbitration
18
22% / 61%
Overdue
43
15%
Free
27
Developer 27
Rating
(241)
Projects
387
51%
Arbitration
14
14% / 14%
Overdue
43
11%
Free
Published: 1 article, 1 code
28
Developer 28
Rating
(1)
Projects
2
50%
Arbitration
3
0% / 33%
Overdue
0
Free
29
Developer 29
Rating
(25)
Projects
31
13%
Arbitration
13
0% / 77%
Overdue
9
29%
Free
30
Developer 30
Rating
(78)
Projects
246
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
Published: 1 article
31
Developer 31
Rating
(9)
Projects
11
18%
Arbitration
4
0% / 100%
Overdue
4
36%
Free
32
Developer 32
Rating
(271)
Projects
553
50%
Arbitration
57
40% / 37%
Overdue
227
41%
Working
33
Developer 33
Rating
(55)
Projects
92
24%
Arbitration
8
75% / 13%
Overdue
44
48%
Free
34
Developer 34
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
Hello, I want this project to be a complete redesign, not just an update. My goal is to build an institutional-grade TradingView indicator that is extremely accurate, stable, fast, and completely non-repainting. You are free to modify, delete, replace, or completely rewrite any part of the code if it improves the final result. I don't care about preserving the current code or appearance—I only care about building the
{ "strategy_name": "M5 EMA Scalper", "timeframe": "M5", "indicators": { "ema_fast": 20, "ema_slow": 50, "rsi": 14, "atr": 14 }, "entry_rules": { "buy": [ "EMA20 > EMA50", "Price closes above EMA20", "RSI > 55" ], "sell": [ "EMA20 < EMA50", "Price closes below EMA20", "RSI < 45" ] }, "risk_management": { "risk_per_trade": 1.0, "stop_loss_atr": 1.5, "take_profit_rr": 2.0
Hola, traders e inversores: Desarrollamos soluciones de trading algorítmico para MetaTrader 4 y MetaTrader 5. Creamos bots, indicadores y herramientas a medida que convierten estrategias manuales en sistemas automáticos, configurables y orientados a una gestión de riesgo sólida. Hemos trabajado en automatizaciones que integran entradas y salidas por reglas, cálculo de lotaje, control de drawdown, filtros de horario y
Hello, I need a custom Expert Advisor for MetaTrader 5. I am trading from mobile only. **Account & Style:** - Capital: $5,000 - $10,000 - Risk: Moderate/Balanced - Trading Style: Scalping **Pairs & Timeframe:** - Symbols: EURUSD and XAUUSD - Timeframe: M5 **Strategy:** - BUY: RSI(14) < 30 AND Price > 20 EMA - SELL: RSI(14) > 70 AND Price < 20 EMA - Only 1 trade per symbol at a time - No Martingale / No Grid **Risk
> "I am looking for a reliable and profitable Expert Advisor (EA) or trading robot for MetaTrader. The EA should have a proven track record, good risk management, and stable performance in live market conditions. Please share the name of the EA, a brief explanation of how its strategy works, and any relevant performance statistics or backtest reports to help me evaluate it."
We are seeking an experienced MQL4/MQL5 programmer to develop a high-performance, fully automated Expert Advisor (EA). The bot must execute a sophisticated multi-currency hedging strategy across correlated forex pairs. Key Responsibilities Develop Multi-Currency Logic : Build an EA capable of scanning and trading multiple currency pairs simultaneously from a single chart or setup. Implement Hedging Strategy : Code
I am looking for an experienced MetaTrader 5 expert. I already have 3 MT5 trading accounts. I need someone to: 1. Help me choose a reliable Windows VPS. 2. Connect to my VPS remotely (AnyDesk or TeamViewer). 3. Install 3 MetaTrader 5 terminals. 4. Configure: - 1 Master Account - 2 Slave Accounts 5. Install and configure a professional Trade Copier. 6. Copy all trades from the Master account to both Slave
I have an MT4 custom indicator (.ex4) that I use regularly, and I would like an identical MT5 version. Important: I do not have the source code (.mq4). I only have the compiled MT4 indicator. I am looking for an experienced MQL developer who can recreate the indicator's functionality and appearance for MT5 by analyzing its behavior. The MT5 version should match the MT4 version as closely as possible, including
Mac200 50+ USD
I need a Trend following Bot. Here we took entries by looking at two indicator which are 200 period ema and 12 26 9 MacD. Rules for entry exit are: Buy trade: When market is above 200 ema and MacD Line cross over the signal line and this cross over happened below the zero line of MacD indicator. We simply put Buy trade. Sell trade: When market is below 200 ema and MacD line crosses below the signal line and this
I I would like to create a trading robot based on 2 ema crossing. The robot is pretty simple, it should open buy position when fast ema cross slow ema and vise versa. Also it should use martingale after the loss position. It should has expiration period inside the code and alerts l

Project information

Budget
250 - 450 USD
Deadline
to 10 day(s)