Stochastic Multi Indicator – 13 Timeframes
The Stochastic Multi Indicator is a powerful tool for MetaTrader 5 that displays Stochastic %K lines from 13 different timeframes simultaneously in a single indicator subwindow.
It is designed to give traders a comprehensive view of market momentum across all major timeframes, helping to identify overbought/oversold conditions, trend direction, and potential reversal points.
The indicator includes:
Per‑timeframe enable/disable and custom colours.
Per‑timeframe overbought/oversold levels (default 80/20, but fully adjustable).
A direction box that shows the overall market consensus based on enabled timeframes.
A cross detection box that alerts when two timeframes cross each other inside overbought or oversold territory.
A built‑in license system (expiry 31.12.2026) to protect the author’s work.
13 Timeframes in One View
From 1 minute to monthly – all Stochastic lines are plotted together, colour‑coded and optionally hidden.
Customisable per Timeframe
Each timeframe can be turned on/off, assigned a unique colour, and given its own overbought/oversold levels.
Direction Consensus Box
A coloured box at the top‑left shows whether the majority of enabled timeframes are OVERBOUGHT (red), OVERSOLD (green), or NEUTRAL (gold).
The threshold for “majority” is 70% of enabled timeframes.
Cross Alert Box
When any two enabled timeframes cross each other inside the overbought or oversold zone, the cross box displays a short message (e.g. 5m↑1H OB).
This helps spot potential reversal signals when shorter and longer timeframes align in extreme zones.
Global Level Lines
Dotted lines at 80 and 20 (user‑adjustable) are drawn in the indicator window for quick reference.
Clean Chart View
The indicator automatically hides the grid, volume, and other chart decorations for a cleaner appearance. Your original settings are restored when the indicator is removed.
License Protection
The indicator shows the remaining license days in a grey box. After expiry a prominent alert appears.
.ex5 fileClose MetaTrader 5 (or at least ensure no charts using the indicator are open).
Locate your MetaTrader 5 Data Folder:
In MT5, go to File → Open Data Folder.
Navigate to MQL5 → Indicators.
Copy the StochasticMultiIndicator.ex5 file into this folder.
Restart MetaTrader 5 (or refresh the Navigator panel).
Open a chart (any symbol, any timeframe).
In the Navigator panel (Ctrl+N), find Indicators → StochasticMultiIndicator.
Drag it onto the chart, or double‑click it.
The indicator’s settings window will appear. Adjust the inputs as desired (see next section).
Click OK. The indicator will draw its lines and boxes in a separate subwindow below the price chart.
| Parameter | Description |
|---|---|
| X_Axix, Y_Axix, Corner | Position of the information boxes (header, license, direction, cross) on the chart. |
| debugMode | If true, prints diagnostic messages to the Experts tab. |
| Stochastic Common Parameters | %D period, Slowing, MA method, Price field – applied to all timeframes. |
| Stochastic K period (per TF) | Each timeframe can have its own K period. Defaults increase with timeframe length. |
| Global Level Lines | The dotted lines at e.g. 80 and 20 – purely visual, not used for direction logic. |
| Per‑TF Overbought/Oversold Levels | Define the thresholds for each timeframe. Used for direction counting and cross detection. |
| Show / Colour (per TF) | Enable/disable a timeframe and choose its line colour. |
| EnableCrossAlert | Turn the cross detection box on/off. |
| CrossAlertXOffset | Optional horizontal offset for the cross box (if it overlaps other elements). |
| License & Expired Alert Colours | Background/text colours for the license box and the expired pop‑up. |
Important: The direction box uses per‑timeframe levels, not the global 80/20 lines. So you can have, for example, 70/30 on the 1‑minute chart while keeping 80/20 on the daily.
After attaching the indicator, you will see:
A stack of coloured boxes at the top‑left (or wherever you placed them):
Header – “Stochastic Multi Indicator”.
License – e.g. “License: 365 days”.
License Detail – “Expires: 31.12.2026”.
Direction Box – Shows OVERBOUGHT, OVERSOLD, NEUTRAL, or NO TIMEFRAMES ENABLED.
Cross Alert Box – Shows the most recent cross (e.g. 5m↑1H OB) or “No cross”.
In the indicator subwindow:
Up to 13 coloured lines, each representing the Stochastic %K of a specific timeframe.
Two dotted horizontal lines at the global upper/lower levels (default 80 and 20).
When a line is disabled, it is completely hidden (both the line and its entry in the DataWindow).
The indicator is designed to assist manual trading decisions by providing a multi‑timeframe perspective at a glance.
OVERBOUGHT (red box) – 70% or more of enabled timeframes are above their respective upper levels.
Interpretation: The market may be overextended to the upside; be cautious about entering new longs, or look for short opportunities if other confluences align.
OVERSOLD (green box) – 70% or more of enabled timeframes are below their respective lower levels.
Interpretation: The market may be oversold; be cautious about new shorts, or look for long opportunities.
NEUTRAL (gold box) – 70% or more are between their upper and lower levels.
Interpretation: No strong consensus; the market may be ranging or indecisive.
NO TIMEFRAMES ENABLED – All timeframes are turned off. The indicator still shows the lines that are enabled (none).
How to use it:
Check the direction box frequently. If it turns red or green, you know that the majority of timeframes agree on an extreme condition. This can be a filter for entries: e.g., only take long signals when the box is OVERSOLD (or at least not OVERBOUGHT).
The cross box monitors all pairs of enabled timeframes. When two lines cross and both are in the overbought or oversold zone (according to their own levels), a message appears.
Examples:
5m↑1H OB means the 5‑minute Stochastic crossed above the 1‑hour Stochastic while both were overbought.
This can indicate that the shorter timeframe is gaining momentum inside an already overbought longer timeframe – a potential exhaustion signal.
15m↓4H OS means the 15‑minute crossed below the 4‑hour while both were oversold – possibly a bullish reversal signal.
How to use it:
When you see a cross in the overbought zone, it may warn of a pending pullback or reversal to the downside.
A cross in the oversold zone may warn of a bounce or reversal to the upside.
Combine with price action or other indicators for confirmation.
Because all timeframes are plotted together, you can visually compare them:
Are they all aligned (all rising, all falling, all in the same zone)?
Is there divergence (e.g., a shorter timeframe making a higher high while a longer timeframe makes a lower high)?
Where are the lines relative to their own levels? This is especially useful for spotting hidden divergences.
You can disable timeframes you don’t need (e.g., if you only trade the 15m, 1H, and 4H).
Adjust the overbought/oversold levels for each timeframe to match your strategy (e.g., 70/30 for faster timeframes, 80/20 for slower ones).
Change colours to make certain timeframes stand out.
The indicator includes a time‑limited license set to expire on 31 December 2026.
The license box shows the remaining days.
After expiry, all indicator drawings are removed, and a pop‑up alert reminds you to contact the author for renewal.
For license extension or support, please refer to the contact information provided with your purchase.
Indicator not appearing?
Make sure the .ex5 file is in the correct folder (MQL5/Indicators).
Check the Experts tab for error messages.
Try re‑downloading the file if it appears corrupted.
Lines are missing for some timeframes?
Those timeframes may be disabled in the inputs.
The symbol may not have enough history for that timeframe (especially monthly/weekly). Wait for more bars or change the symbol.
The direction box shows “NO TIMEFRAMES ENABLED” even though I see lines?
You probably have all timeframes enabled, but the direction logic requires valid data for the current bar. If data is missing (e.g., just after attaching), the box may briefly show that message until the next tick.
The cross box is empty or not updating?
Ensure EnableCrossAlert=true.
Crosses are only detected when both lines are inside their overbought/oversold zones. If no such cross occurs, the box will show “No cross”.
Cross detection requires at least two bars of history.
Chart decorations (grid, volume) came back?
The indicator hides them only while it is active. If you remove the indicator, your original settings are restored.