ZigZag Indicator with Trend Identification

MQL4 インディケータ

仕事が完了した

実行時間2 分
依頼者からのフィードバック
With commitment and patience

指定

Hi,

i need an ZigZag Indicator which also identifies the higher trendlevels.

The ZigZag indicator should start at a reltive high or low. Relative high is where the previous high of a candle and the next high of a candle was lower, relative low same but the previous low and next low must be higher. There should be an input how many candles in the past the indicator should look for this, e.g. 100, means 100 candles back, if 102 fullfill the creteria of relative high or low, then start with this.

Once the first candle found, the indicator should paint the lines indicating an upward or downward movement.

(1) Upward (2) cannot occur as there isnt a relative high or low (3) downward (4) neutral, wait for next candle

Once the initial movement is defined, all of the four situations above may occur. Lets assume there is an upward movement. (1) Continuing upward (3) turning from upward to downward (4) neutral, next candle, still upward .... what about (2)? its having higher high and lower low. Rule here: The existing overrules, if upward, then continuing upward when the candle body is long, if downward, continuing downward, WHEN the candle body is short, else turn.

On this lowest trendlevel the trend is defined. Its going up and down, creating 123 pattern. The next higher trendlevel only refers to the lowest trendlevel. As long the lowest trendlevel is in a downtrend, the upper trendlevel is in a downward movement, if the lowest trend is in an upward trend, the upper trendlevel is in an upward movement.

Ok but when the upward / downward movement of the upper level begin? When the lowest level starts an upward or downward trend by 123 pattern. Attention! When the lowest trend level breaks an upward or downward trend is the same as if a counter trend established.

Input is the number of historic candles. Outcome is the lowest trend level with lines, as per logic, it doesnt repaint. The upper level is painted based on the lowest trendlevel and will not repaint too.

Example

more examples grey line is lowest trend level, green and red are the upper trend




Another example for clarification,the lowest trend level (grey line) follows the highs and lows of the candles. Only the four situations explained above can occur. The upper trend level only follows the lowest trend level. You see how the trend breaks at the lowest level also defines upward or downward movements of the upper level. I have more examples if needed.




応答済み

1
開発者 1
評価
(49)
プロジェクト
134
27%
仲裁
62
13% / 53%
期限切れ
58
43%
暇
パブリッシュした人: 347 articles, 1 code
2
開発者 2
評価
(365)
プロジェクト
507
40%
仲裁
159
17% / 74%
期限切れ
99
20%
取り込み中
3
開発者 3
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
4
開発者 4
評価
(128)
プロジェクト
236
65%
仲裁
30
37% / 23%
期限切れ
49
21%
暇
5
開発者 5
評価
(589)
プロジェクト
1070
50%
仲裁
39
28% / 41%
期限切れ
49
5%
暇
パブリッシュした人: 1 article, 8 codes
6
開発者 6
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
7
開発者 7
評価
(219)
プロジェクト
370
42%
仲裁
145
17% / 41%
期限切れ
124
34%
暇
パブリッシュした人: 38 codes
8
開発者 8
評価
(4)
プロジェクト
4
75%
仲裁
0
期限切れ
0
暇
類似した注文
Please may someone assist me with the indicator attached, it has a SERIOUS BUG issue in the sense that when I load it, and activate the template (attached as well) MT4 ALWAYS freezes and then eventually disconnects automatically, ALL THE TIME. It even gets worse to an extent that after disconnecting a number of times mt4 ends up not loading anymore, UNTIL I remove the indicator. Please I WILL NEED A DEMO (FOR A DAY)
‎A trending candle followed by a smaller trending candle which is the second candle with no 5EMA ‎ ‎The 3rd candle is a reversal candle in which it and it's immidiate previous candle must be at least 70% of each other's body or equal body, with no 5EMA touch ‎ ‎the 3rd candle candle is followed immediately by the 4th candle which is the signal candle in which it and the 1st cabdle must be also at least 70% of
LynxMT5algo 30 - 100 USD
An mt5 add on indicator like gainalgo style to show entrance and exit areas for gold silver and Btc scalping. It will be used to make trading more easy for beginners
I have the Fisher Indicator shown below the chart. I need an alert added for when the Fisher Indicator hits the 50 point at the end of each period. GBPUSD and EURUSD 4H charts are provided and I can provide additional
Hello here, I need someone who can work on pinescript and also with Renko charts. My entries for my strategy would be based on stop orders Kindly let me know if you can work on this for me and i will send necessary file and quote in the chat
Freelance Task — EA Recovery Layer Hello. I have a ready-made MQL5 EA. The signals, SL/TP and lot calculation should essentially not be touched. I need a recovery system added. I am not a programmer — below is how the robot should behave. What stays Entry only from an EA signal. Stop-loss is not a new signal. Trailing is already built into my EA — recovery does not implement its own trailing. If trailing is disabled
# SNRZ BOT — SESSION PROGRESS LOG Last updated: 2026-09-16 (local late-evening session) ## SAN BOT (new — cloned from SNRZ) - `MQL5\Experts\AutomatedOrderBot_SAN.mq5` / `.ex5` — v1.0, compiled 0 errors/0 warnings - Signal source: custom indicator "SAN" (InpSANName, buy buf 0 / sell buf 1, target bar 1), same SNRZ-style read, MA fallback if missing - Magic number 234567 (separate from SNRZ 123456 so both bots can run
Should be as it but no alarms, also we need to add a deep search so he can see all the preves candles and a memory function so its not slowing down the indicator. for higher time frames daily 4h 1h around 365 days and for lower time frames we do up to 20k bars but both flexible so i can change it later. the memory is important so the indicator is not always recalculating everything when a new candle shows especially
Hi, I need an experienced NinjaTrader 8/NinjaScript developer to finish or rebuild an automated futures strategy, ideally by the end of this week. I already have the complete TradingView Pine Script reference strategy, an existing ~2,000-line NinjaScript implementation, Playback logs, and known historical benchmark trades. MOST IMPORTANT REQUIREMENT: TRADINGVIEW ↔ NINJATRADER PARITY. The Pine Script is the reference
I need a custom MQL5 indicator for MetaTrader 5. The indicator must automatically print entry, stop loss, and take profit zones on the chart using dots. A critical requirement is that these dots must be non-lagging and absolutely non-repainting. Additionally, the indicator needs to identify and display current supply and demand zones. Please provide the mq5 source code and the ex5 file upon completion

プロジェクト情報

予算
100+ USD
締め切り
最高 5 日