A multi-timeframe trend detection indicator is needed

Specification

Create an indicator which will detect the trends of M1, M5, M15, M30, H1, H4, D1 and W1 timeframes, and display them on the chart. The indicator will be able to show the current trend directions for all those timeframes, based on multiple indicators. The final trend detection decision will be a confluence of the results of the selected indicators.

The indicator should expose the below listed input parameters.

  1. Enable SMA (bool with Yes/No options)
  2. SMA Period (integer, default:200)
  3. Enable Three MAs (bool with Yes/No options)
  4. Three MA1 (integer, default:21)
  5. Three MA2 (integer, default:50)
  6. Three MA3 (integer, default:200)
  7. Enable ZigZag (bool with Yes/No options)
  8. Enable ADX (bool with Yes/No options)
  9. ADX Trend Level (integer, default:17)
  10. Enable High/Low Direction (bool with Yes/No options)
  11. Look Back Bars (integer, default 83)

The effect of each input parameter is detailed below.

Enable SMA

'Yes' option will enable the Simple Moving Average calculation for trend detection. We will use 200 period as default.

Enable Three MAs

'Yes' option will enable Three Moving Averages. If this option is 'Yes', the next three related parameters are taken into effect for the moving average periods. 21, 50 and 200 are default values.

  • Trend is up if at a given timeframe all moving averages are plotted in correct rising order on bar closure.
  • Trend is down if at a given timeframe all moving averages are plotted in correct falling order on bar closure.

Enable ZigZag

'Yes' option will make use of the ZigZag indicator for the trend detection. 

  • Trend is up if every next local maximum of price chart is higher than previous local maximum and each subsequent local minimum of price chart is also higher than previous local minimum.
  • Trend goes down if each subsequent local minimum of price chart is lower than previous local minimum, and each subsequent local maximum of price chart is also lower than previous local maximum.

Enable ADX

'Yes' option will use Average Directional Movement Index indicator for detection.

  • Trend goes up, if the +DI line is higher than the -DI line.
  • Trend goes down, if the +DI line is lower than the -DI line.

Enable High/Low Direction

'Yes' option will use the following rules for trend detection.

  • If the highest point in the last 'Look Back Bars' candles is closer to the current candle, than the lowest price point, the trend is upwards.
  • If the lowest point in the last 'Look Back Bars' candles is closer to the current candle, than the highest price point, the trend is downwards.

Important Note

I am not too fussy about the graphical panel of the indicator but it should be something nice.

The code should be well documented, either externally or internally with inline comments. The code should also be cleanly written and modular enough for me to pull from this indicator and put in another MQL4 program easily.

Also, I will have all rights reserved for this indicator, and the coder should withdraw all his/her copyright for this code.

Responded

1
Developer 1
Rating
(13)
Projects
17
12%
Arbitration
4
25% / 50%
Overdue
1
6%
Working
Published: 1 code
2
Developer 2
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
3
Developer 3
Rating
(305)
Projects
546
35%
Arbitration
79
32% / 42%
Overdue
196
36%
Working
4
Developer 4
Rating
(1)
Projects
0
0%
Arbitration
1
0% / 0%
Overdue
0
Free
5
Developer 5
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
6
Developer 6
Rating
(77)
Projects
241
73%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
7
Developer 7
Rating
(7)
Projects
12
17%
Arbitration
12
17% / 50%
Overdue
3
25%
Free
Published: 9 articles
8
Developer 8
Rating
(54)
Projects
102
23%
Arbitration
12
25% / 17%
Overdue
13
13%
Free
9
Developer 9
Rating
(69)
Projects
146
34%
Arbitration
13
8% / 62%
Overdue
26
18%
Free
Published: 6 codes
10
Developer 10
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 3 codes
11
Developer 11
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
12
Developer 12
Rating
(261)
Projects
276
55%
Arbitration
0
Overdue
5
2%
Free
13
Developer 13
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
Create simple EA 30 - 60 USD
Start BUY:- when i click start BUY button new panel should open which should contain bellow points:- Trigger Price Time frame Cross/Close RR ration Trailing Stop ratio Maximum Trade count Risk (percentage or cash) (Option to Increase risk when SL hit) Remove Trigger (True/False ) I will explain above point one by one here bellow •Trigger price :- here we enter price at which when market cross or
I want to check if this indicator is repainting or not Whick mean the results of back testing is legit or not if anyone can help me to review it kindly to well to contact me i will be happy to work and go on long term work with anyone thanks
PrimeFlowEA — v1 Specification Objective: PrimeFlowEA v1 is designed to enforce disciplined, rule-based execution within a single daily trading session. The goal of v1 is correct behavior and execution discipline , not optimization or performance tuning. 1. Market & Time Platform: MetaTrader 5 (MQL5) Symbol(s): User-selectable (single symbol per chart) Execution timeframe: Configurable (default: M5 / M15)
Specifications – Development of an MQL5 Expert Advisor (Reverse Engineering) Project context: I have access to a real trading history consisting of more than 500 trades executed over a period of approximately 3 years. These trades have been exported into a CSV file containing all available information, including date, time, symbol, order type, entry price, and exit price. Important: I do not have access to the
1.Sinyal Perdagangan : Sinyal beli: garis MACD utama memotong garis sinyal ke atas (macd_current>signal_current && macd_previous<signal_previous). Sinyal jual: garis MACD utama memotong garis sinyal ke bawah (macd_current<signal_current && macd_previous>signal_previous). Gambar di bawah menunjukkan kasus beli dan jual. 2. Posisi ditutup pada sinyal yang berlawanan: Posisi beli ditutup pada sinyal jual, dan posisi
Trading Bot Executes Trades on Specific Days via TradingView Alerts **As a** trader, **I want** to develop a trading bot that integrates with TradeLocker and MTS, **So that** when a TradingView alert (based on a 2,4,5,10,15,30 minute break and retest strategy whichever one) is triggered first. the bot will execute trades on both platforms, but only on specific days of the week. --- ## Acceptance Criteria 1
Project Description I am looking to collaborate with an experienced MQL5 / algorithmic trading developer who also has hands-on experience with Large Language Models (LLMs) and AI-driven systems. This is a long-term partnership opportunity , not a one-off paid freelance job. I bring 9 years of practical Elliott Wave trading experience , applied in live market conditions. The objective is to translate Elliott Wave
Hello, I’m looking for an experienced MT4 (MQL4) developer to convert the Lucky Reversal indicator from indicatorspot.com into a fully functional Expert Advisor (EA). Project Scope Code an MT4 EA that replicates the exact logic and signals of the Lucky Reversal indicator Trades should open and close automatically based on the indicator’s rules Must match indicator behavior 1:1 (no approximations) EA Requirements MT4
Looking for a developer to develop or provide past expert advisor that can cope with high impact news and high trends. needs to be mt5. Any strategy necessary. need to be able to backtest myself or see past results. Minimum profit per month 30% but needs to be very low drawdown. Can be one shot trade a day or a 1 min scalper ea. I will not be going to telegram to discuss further
specification High-Frequency Candle Momentum Scalper 1. Strategy Overview Core Logic: The EA identifies the current color of the active candle (Bullish or Bearish). Entry Trigger: It opens positions only after a specific duration of the candle has passed (e.g., after 30 seconds on a 1-minute candle) to confirm the direction. 2. Entry Logic (The "Half-Candle" Rule) Timeframe: M1 (Default, but adjustable). Time Filter

Project information

Budget
30+ USD