A multi-timeframe trend detection indicator is needed

Şartname

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.

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(13)
Projeler
18
11%
Arabuluculuk
6
33% / 67%
Süresi dolmuş
1
6%
Serbest
Yayınlandı: 1 kod
2
Geliştirici 2
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
3
Geliştirici 3
Derecelendirme
(314)
Projeler
562
35%
Arabuluculuk
81
31% / 44%
Süresi dolmuş
205
36%
Çalışıyor
4
Geliştirici 4
Derecelendirme
(1)
Projeler
0
0%
Arabuluculuk
1
0% / 0%
Süresi dolmuş
0
Serbest
5
Geliştirici 5
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
6
Geliştirici 6
Derecelendirme
(77)
Projeler
244
74%
Arabuluculuk
7
100% / 0%
Süresi dolmuş
1
0%
Serbest
Yayınlandı: 1 makale
7
Geliştirici 7
Derecelendirme
(7)
Projeler
13
15%
Arabuluculuk
13
23% / 46%
Süresi dolmuş
3
23%
Serbest
Yayınlandı: 29 makale
8
Geliştirici 8
Derecelendirme
(54)
Projeler
102
23%
Arabuluculuk
12
25% / 17%
Süresi dolmuş
13
13%
Serbest
9
Geliştirici 9
Derecelendirme
(69)
Projeler
146
34%
Arabuluculuk
13
8% / 62%
Süresi dolmuş
26
18%
Serbest
Yayınlandı: 6 kod
10
Geliştirici 10
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Yayınlandı: 3 kod
11
Geliştirici 11
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
12
Geliştirici 12
Derecelendirme
(266)
Projeler
281
55%
Arabuluculuk
0
Süresi dolmuş
5
2%
Serbest
13
Geliştirici 13
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Benzer siparişler
ALRT 100+ USD
# Project Requirements – Sierra Chart to MT5 Integrated Alerts *Scope:* The project must be a *fully integrated system* including both: 1. *Sierra Chart ACSIL sender* – writes alerts to JSON. 2. *MT5 EA (Listener)* – reads JSON alerts and executes trades in MT5. The system must handle alerts *from Sierra Chart to MT5 execution* completely, not just file sending. *Duplicate Alert Detection:* - Use
Hello, I have a working strategy that I'd like to replicate. I need someone who can analyze its underlying principles and design a custom indicator for me. I will provide you with the strategy's results for both recent and long-term trading, including the time of trade, trade duration, and trend
The striker robot 30 - 2000 USD
I would like a trend and pullback strategy for the robot timeframe:15 minutes(m15) or 1 hour(h1) indicators:50 EMA (Exponential Moving Average)/200 EMA/RSI (14) BUY SET UP 1.Confirm The Trend .50 EMA must be above 200 EMA .Price must be above both EMAs 2.Wait for a pullback .Do not buy when the price shoots up. .Wait for the price to come back near the 50 EMA 3.Confirm entry .ENTER BUY WHEN: .A bullish candlestick
### ** Main EA File** - `InstitutionalTrendPullbackScalper.mq5` **Core Features Implemented:** **Multi-Timeframe Analysis** - M15 trend filter (EMA20 > EMA50 for uptrends) - M5 entry signals with 5-condition confirmation - Independent indicator sets for both symbols **Advanced Entry Logic** - RSI reversal detection (crosses thresholds) - Price pullback zone validation - Bullish/bearish candle close confirmation -
I am looking for an experienced MQL5 developer to build a professional-grade Expert Advisor (EA) for MetaTrader 5. The strategy is based on liquidity sweeps, market structure (Break of Structure), and institutional concepts (order blocks), specifically optimized for XAUUSD (Gold). This is not a basic bot. I need a structured, optimized, and reliable system suitable for live trading after testing
I need an Ai trading bot for Binance and BTC on MT5 that also uses order flow data. It should also make use of TSI- Temporal indicator sampling and also it should make use of fundamental analysis in the process of signal generation
Hello, I need a MetaTrader 5 Expert Advisor (EA) for XAUUSD. Place Buy Stop orders above current price every 0.300 distance Place Sell Stop orders below current price every 0.300 distance 10 levels up and 10 levels down Lot size fixed 0.01 No TP/SL required, manual close only No duplicate orders on restart Please confirm if you can build this and your final price and delivery time
I have a EA for XAUUSD which works awesome in sideways and trending market as well, capital requirement is only 2000USd and weekly profit is around 1500-2000 USD. I am using this bot from 3 months and getting continuous good result
I’m looking for an experienced MT4 developer to create a custom indicator (or EA) with mobile push notifications based on the following strategy. Trend Filter (Daily Timeframe) Daily Close above 50 EMA = Bullish Bias Daily Close below 50 EMA = Bearish Bias Entry Timeframe (H1) RSI Settings RSI Period: 14 (default) Upper Level: 65 Lower Level: 35 Buy Signal Generate a BUY signal when: Daily bias is Bullish (Daily
✅ MT4 EA Developer Checklist (For Your Ladder EA) 1️⃣ Indicator Integration EA reads signals from provided custom indicator (.ex4 or .mq4) Detects “Buy Next” / “Sell Next” signals on current candle Works with arrow-based or buffer-based signals 2️⃣ Next Candle Execution EA does not trade on the candle where the signal appears Orders placed only at first tick of the next candle Timeframes supported: M1, M5, M15

Proje bilgisi

Bütçe
30+ USD