Loading…

Multi Timeframe Pivot Confluence Panel

Traders who stack daily, weekly and monthly pivots by eye are doing a manual clustering job: five sets of near-identical numbers, checking which ones happen to sit close together. This panel does that sweep automatically. For each enabled timeframe it computes the standard five pivot levels (Pivot, R1, S1, R2, S2) from that timeframe's last completed bar, sorts every level from every enabled timeframe by price, then chains adjacent levels together whenever the gap between them is within InpToleranceInPips - the standard single-linkage clustering rule, so a long chain of near-touching levels across several timeframes can span more than one tolerance step end to end. Only chains with at least InpMinConfluenceCount distinct levels get drawn, so the chart is not cluttered with forty near-identical single lines - what's left on the chart is specifically where independent timeframes actually agree. Zone lines are weighted by how many timeframes stack there (thicker and gold for 3+, thinner and blue for exactly 2), and a text panel lists each zone's price and the specific timeframe/level labels that make it up. Notes and limitations - Pivots use the classic formula (Pivot=(H+L+C)/3, R1=2P-L, S1=2P-H, R2=P+(H-L), S2=P-(H-L)) from each timeframe's last COMPLETED bar - not the still-forming current bar on that timeframe. - On an instrument with an irregular trading day (indices, some CFDs) the daily/weekly pivot inputs can be unusually wide or narrow for that one period, which shifts every zone that includes them. - Tolerance is a single fixed pip distance across the whole level set; it does not scale with volatility or price level beyond the standard 3/5-digit pip conversion. - Recomputes once per new bar on the CHART's own timeframe, not once per new bar on each pivot timeframe individually - this is intentional (it keeps the zones current without excessive object churn) but means a brand-new higher-timeframe bar's pivot only appears on the next lower-timeframe bar close, not instantly.

Indicator · MT4 · v1.0 · Free

About Multi Timeframe Pivot Confluence Panel

Multi Timeframe Pivot Confluence Panel is an indicator for MetaTrader 4. It has 14 settings, such as Enable tf1, Tf1 and Enable tf2. MQL source code included.

Files in the download: PivotConfluencePanel.mq4, PivotConfluencePanel.txt.

Settings

SettingDefaultWhat it does
Enable tf1trueEnable timeframe slot 1
Tf1PERIOD_D1Timeframe 1
Enable tf2trueEnable timeframe slot 2
Tf2PERIOD_W1Timeframe 2
Enable tf3trueEnable timeframe slot 3
Tf3PERIOD_MN1Timeframe 3
Enable tf4falseEnable timeframe slot 4
Tf4PERIOD_H4Timeframe 4
Enable tf5falseEnable timeframe slot 5
Tf5PERIOD_H1Timeframe 5
Tolerance in pips8.0Max gap between two levels to count as the same zone
Min confluence count2Minimum distinct timeframes stacked before a zone is drawn
Show individual levelsfalseAlso draw every single level faintly, not just confluence zones
Show paneltrueShow the text summary panel

How to install

  1. Download the ZIP from your PolyMaria library and unzip it.
  2. In MetaTrader 4 open File → Open Data Folder, then go to MQL4 → Indicators.
  3. Copy the .mq4 file(s) there. Put any .mqh files in MQL4 → Include.
  4. Open the .mq4 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
  5. Drag the indicator from the Navigator onto a chart and adjust the settings.

Download the PDF guide

Tags: Pivot Points · Multi-Timeframe (MTF) · MT4 Indicator · MQL4 Source Code

MetaTrader 4 & 5 indicators · PolyMaria