A multi-timeframe trend detection indicator is needed

Spécifications

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.

Répondu

1
Développeur 1
Évaluation
(13)
Projets
18
11%
Arbitrage
5
40% / 60%
En retard
1
6%
Travail
Publié : 1 code
2
Développeur 2
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
3
Développeur 3
Évaluation
(309)
Projets
555
35%
Arbitrage
79
32% / 42%
En retard
201
36%
Travail
4
Développeur 4
Évaluation
(1)
Projets
0
0%
Arbitrage
1
0% / 0%
En retard
0
Gratuit
5
Développeur 5
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
6
Développeur 6
Évaluation
(77)
Projets
243
74%
Arbitrage
7
100% / 0%
En retard
1
0%
Gratuit
Publié : 1 article
7
Développeur 7
Évaluation
(7)
Projets
12
17%
Arbitrage
12
17% / 50%
En retard
3
25%
Travail
Publié : 22 articles
8
Développeur 8
Évaluation
(54)
Projets
102
23%
Arbitrage
12
25% / 17%
En retard
13
13%
Gratuit
9
Développeur 9
Évaluation
(69)
Projets
146
34%
Arbitrage
13
8% / 62%
En retard
26
18%
Gratuit
Publié : 6 codes
10
Développeur 10
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
Publié : 3 codes
11
Développeur 11
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
12
Développeur 12
Évaluation
(262)
Projets
277
55%
Arbitrage
0
En retard
5
2%
Gratuit
13
Développeur 13
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
Commandes similaires
I run an ea it makes good profits bit that one bad grid blows up the account. I want an EA which runs parallel to it which can intelligently close bad trades or grids. It shouldn't close recoverable trades but close very bad entries and grids. It can even close with hedging. The goal recover max and also not blow up the account
I am looking for an expert MQL5 developer to build a high-precision Hedging System between two different MT5 brokers running on the same local PC. Core Objective: Execute opposite (inverse) trades between a Master and Slave account (e.g., Master BUY = Slave SELL, Master SELL = Slave BUY). The Challenge: Standard "Trade Copiers" are insufficient as they cannot prevent single-legged exposure when using manual trading
I want robot that can help me trade and make some money so that I can be able to learn from it while I'm still in depot account now.Is how it gonna help me with some money
Articles How to create Requirements Specification for ordering an indicator 76 MetaQuotes 51 380 Table of Contents How can algo trading make a trader's live easier? Supplement text with images and videos Useful programs for creating Requirements Specification Formulating the Requirements Specification as an algorithm Requirements Specification Examples What can I specify in the Requirements Specification? Indicator
Hello, I have two requests: First: Feature Modification Request Currently, the EA places only one pending order at a time. I want to modify this to place two opposite pending orders (Buy Stop and Sell Stop) simultaneously, with the distance between them aligned with the existing Breakeven and Trailing Stop settings in the bot. How it should work: The EA places a Buy Stop above current price and a Sell Stop
Hello, I need a professional MT5 Expert Advisor for currency trading. PAIRS: EURUSD, GBPUSD, USDJPY, USDCHF TIMEFRAME: M15 STRATEGY: - EMA 8 cross EMA 21 (entry signal) - EMA 50 for trend filter - RSI 14 confirmation (Buy > 52, Sell < 48) - No trade if RSI > 75 or < 25 SESSION: London + New York only 07:00 to 17:00 GMT No weekend trading TRADE MANAGEMENT: - Lot size: 0.06 - Take Profit: $15 per trade - Stop Loss: $8
I need a MetaTrader 5 Expert Advisor (EA) for Forex trading. Account size: $1000 Requirements: 1. The EA should work only on Forex pairs. 2. Automatic Buy and Sell trades. 3. Lot size starting from 0.04. 4. Stop Loss and Take Profit settings. 5. Only one trade at a time. 6. Works on pairs like EURUSD, GBPUSD, USDJPY etc. 7. Risk management suitable for a $1000 account. 8. Easy settings for lot size, SL, TP and risk
I want to design an EA that can identify key Supports and Resistances. This should be able to work on any timeframe from 1 minute to 1 hour (i.e 1 minute, 5 minutes, 15 minutes and 1 hour time frames.) The EA should be able to determine a Fibonacci retracement from a support and the next resistance point in an uptrend and vice versa (i.e the EA should be able to determine a Fibonacci retracement from a resistance and
Product Requirements Document (PRD) Project Title: Liquidity Sniper Semi-EA (Fibonacci & SMC Based) Platform: MetaTrader 5 (MQL5) Target Asset: XAUUSD (High Volatility) / M5 Timeframe 1. EA Operating Concept (Semi-Automated) Human-Machine Collaboration: The trader manually draws a standard Fibonacci Retracement object on the M15 chart to define the market structure (setting the 1.0 and 0.0 anchor points). EA's Role
Short Description: I am seeking an experienced MQL4 developer to build a high-frequency Asymmetric Salami Grid EA . This is a sophisticated volatility harvester, not a basic martingale. Key Features to Implement: Virtual Grid Execution: No pending orders; all logic handled in-memory via OnTick . Asymmetric Lot Sizing: Trend-side degression vs. Counter-trend progression . Salami Partial Liquidation: XX% of profits

Informations sur le projet

Budget
30+ USD