SuperTrend Pro ArBrain VE
- Indicatori
-
Bahtiyar Arniyazov
Over 33 years of engineering, economic, and executive management experience in civil and industrial construction — progressing from field engineer and site supervisor to Head of Production & Technical Department (PTO), Head of Planning & Economic Department in a state construction enterprise, Chief - Versione: 1.0
SuperTrend Pro Ar.Brain V&E v1.0
SuperTrend indicator with two independent modules, ZigZag and Parabolic SAR, and an information panel
MetaTrader 5, version 1.0
SHORT DESCRIPTION
SuperTrend Pro Ar.Brain V&E v1.0 is a MetaTrader 5 indicator that puts three independent analytical tools on one chart: an adaptive SuperTrend, a ZigZag module and a Parabolic SAR module. All three parts work separately, each one can be switched off on its own, and the state of the whole setup is summarised in one compact panel.
The indicator only displays information. It does not open, close or manage positions, it does not send trading orders and it is not an expert advisor.
WHAT THE INDICATOR DOES
1. Draws a SuperTrend line based on ATR with automatic scaling of period and multiplier to the chart timeframe.
2. Marks trend flips with an arrow on a closed bar and with an alert.
3. Draws a ZigZag polyline and derives the current direction from the last confirmed leg.
4. Draws Parabolic SAR and shows on which side of the price its dots are located.
5. Filters trend flip signals with three independent filters: moving average, RSI and ADX.
6. Prints a chart panel with price, spread, filter states, module values and the last signal.
7. Supports a higher timeframe for calculations when the indicator is attached to the current timeframe.
MAIN FEATURES
- One consistent logic on every timeframe: SuperTrend parameters scale automatically to the selected chart period.
- Calculation on a higher timeframe, or on a fixed timeframe chosen by the user.
- Three trend filters: MA, RSI, ADX. Each one is switched on separately and each state is shown in the panel.
- Signal changes are confirmed on the closed bar, closed bar values are not repainted.
- Built in alerts: popup window, push notification to the mobile terminal, sound, email, and a cooldown to limit alert frequency.
- Chart panel with an opaque background, automatic theme based on the chart colours, mouse drag and collapse on header click.
- Two independent modules: ZigZag with the main trend label and Parabolic SAR with dots on the chart.
- The forming ZigZag leg is drawn separately as a dash-dot line from the last confirmed peak or trough to the running extreme, and its colour follows the direction of that leg.
- The trend label can be dragged with the mouse, its position is stored and restored after a terminal restart.
- Panel and label settings are kept in a state file in the terminal data folder, so everything returns to its place after a restart.
HOW TO READ THE SIGNALS
SuperTrend line:
- a line below the price in the up colour means an uptrend, and the line acts as a reference level;
- a line above the price in the down colour means a downtrend;
- a colour change of the line together with an arrow means a flip, the arrow is placed on the closed bar.
Arrows:
- an arrow below the bar marks a flip to the upside;
- an arrow above the bar marks a flip to the downside;
- when filters are enabled, the arrow appears only when the filter conditions are met.
Filters:
- the MA filter confirms the direction when the price is on the required side of the average;
- the RSI filter removes entries in overbought or oversold conditions;
- the ADX filter requires a minimum trend strength;
- the panel shows the state of every filter, so it is always clear why a signal is present or absent.
CHART PANEL
The header shows the indicator name, the symbol and the chart timeframe. The rows show:
- Bid, Ask and spread;
- SuperTrend direction and the current SuperTrend level;
- ATR value;
- values and states of the MA, RSI and ADX filters;
- ZigZag trend direction;
- the last ZigZag high and the last ZigZag low, that is the peaks and troughs the module has drawn;
- Parabolic SAR value and the side it is located on relative to the price;
- trading sessions by UTC;
- the last signal and its time.
The panel can be moved anywhere on the chart with the mouse. A click on the header collapses or expands it. The width adapts to the longest text and the height adapts to the font size. With the automatic theme enabled, the panel colours follow the chart background.
VOLATILITY AUTO TUNING
The ATR period and the ATR multiplier are not only scaled to the timeframe. Two measurements of the calculation window are taken on every rebuild and they adjust the pair itself, so the band adapts to the instrument and not only to the chart period.
Efficiency Ratio is the net price move divided by the sum of the bar to bar moves over the selected number of bars. A value near one means a directional market, a value near zero means a choppy market.
ATR ratio compares the average true range of the base period with its own average on the window. It shows whether volatility is expanding or fading relative to the recent past.
A directional market shortens the period and tightens the multiplier, so the band follows the move and gives back less. A choppy market or expanding volatility lengthens the period and widens the band, so the line ignores the noise.
The auto tuning has four modes: off, ATR ratio only, Efficiency Ratio only, and both. The base period and the base multiplier stay unchanged during a recalculation, and every rebuild tunes from that base, so the tuned pair cannot drift from one bar to the next. The tuned pair and both measurements are shown in the panel and written to the journal.
ZIGZAG MODULE
The module draws a classic ZigZag: a pivot is confirmed when a bar is the extreme of its surrounding window, neighbouring points alternate, a minimum deviation in percent of price applies, and a minimum distance in bars is respected.
In addition, the module prints the main trend label. The label sits at the top centre of the chart by default, and its position, anchor corner, font, size, colour and text are configurable. The direction follows the last confirmed leg, and a close beyond the last high or low flips the direction.
The forming leg is drawn separately. While the last leg is not confirmed yet, a dash-dot line runs from the last confirmed peak or trough to the running extreme. Its colour follows the direction of the leg: the up leg uses the up colour, the down leg uses the down colour. The line is refreshed inside the bar, so it is visible how the price continues the leg or leaves it. When the leg is confirmed, the dash-dot line disappears and the usual solid ZigZag polyline takes its place.
Default values are selected by the calculation timeframe:
- M1 - depth 6, deviation 0.5 percent, backstep 2 bars;
- M5 - depth 8, deviation 0.8 percent, backstep 2 bars;
- M15 - depth 10, deviation 1.0 percent, backstep 3 bars;
- M30 - depth 12, deviation 1.2 percent, backstep 3 bars;
- H1 - depth 12, deviation 1.5 percent, backstep 3 bars;
- H4 - depth 16, deviation 2.0 percent, backstep 4 bars;
- D1 - depth 20, deviation 3.0 percent, backstep 5 bars;
- W1 - depth 24, deviation 4.0 percent, backstep 6 bars;
- MN1 - depth 30, deviation 5.0 percent, backstep 6 bars.
The automatic mode can be switched off and depth, deviation and backstep can be set by hand.
PARABOLIC SAR MODULE
The module draws Parabolic SAR with the standard method and colours the dots depending on whether they are below or above the price. Values are taken from the built in terminal calculation, so the result matches the standard Parabolic SAR indicator of MetaTrader 5.
Default values are selected by the calculation timeframe:
- M1 - step 0.030, maximum 0.30;
- M5 - step 0.025, maximum 0.25;
- M15 - step 0.020, maximum 0.20;
- M30 - step 0.018, maximum 0.18;
- H1 - step 0.015, maximum 0.15;
- H4 - step 0.012, maximum 0.12;
- D1, W1, MN1 - step 0.010, maximum 0.10.
The automatic mode can be switched off and step and maximum can be set by hand. Marker shape, width and colours are configurable.
FILTER LIMITATIONS
If the calculation window is shorter than the moving average period, the MA filter cannot produce a value. In that case the indicator writes one line to the journal: the filter is inactive on this window and the signals are not blocked. The panel shows the filter value as not available instead of a zero.
INTERFACE LANGUAGES
All user visible text exists in English and in Russian: input names, input groups, input descriptions, panel rows, session and countdown rows, the chart trend label and the journal lines.
The language parameter has three values: automatic, English and Russian. In automatic mode the indicator follows the language of the terminal interface, so one and the same file reads correctly in an English terminal and in a Russian terminal. The product name is identical in both languages and is not translated.
The trend label on the chart follows the selected language as long as its text inputs still hold the standard values. Any custom text typed by the user is always shown exactly as typed.
PARAMETERS
SuperTrend core:
- ATR period, base value 10;
- ATR multiplier, base value 3.0;
- calculation timeframe, current by default;
- automatic switch to the next higher timeframe when the current one is selected;
- automatic scaling of parameters to the timeframe.
Filters:
- MA filter, period 200, smoothing method selectable;
- RSI filter, period 14, overbought 70 and oversold 30 levels;
- ADX filter, period 14, minimum level 25.0.
Graphics:
- show arrows, arrow offset as a fraction of ATR;
- line width, up and down colours;
- arrow colours and arrow width;
- SuperTrend price tag on the chart.
ZigZag module:
- enable the module;
- automatic parameters by timeframe, or manual depth, deviation and backstep;
- line colour, width and style;
- show the forming leg, its style, width and colours for the up leg and the down leg;
- show the main trend label;
- label corner, horizontal and vertical offsets;
- drag the label with the mouse;
- font size, 12 points by default, and the font itself;
- show the module name below the label;
- colours and text for up, down and range directions.
Parabolic SAR module:
- enable the module;
- automatic parameters by timeframe, or manual step and maximum;
- marker code and marker width;
- colour of dots below the price and above the price.
Alerts:
- popup, push, sound, email;
- minimum interval between alerts;
- sound files for buy and sell.
Panel:
- enable the panel;
- horizontal and vertical offset;
- font size and an extra scale;
- font;
- colours of background, header, border, text, muted text, up and down, Bid and Ask;
- show spread;
- sessions by UTC;
- panel width, zero means automatic width;
- automatic theme from the chart background;
- drag the panel with the mouse;
- collapse on header click;
- panel timer period;
- debug logging.
USAGE RECOMMENDATIONS
- The indicator works on any symbol and timeframe, including cryptocurrencies, metals, indices and currency pairs.
- Intraday work is comfortable on M5 to H1, medium term work on H4 and D1.
- Default automatic parameters give a ready setup right after installation. Manual tuning is needed when a more sensitive or a calmer reaction is required.
- An arrow marks a change of direction, not an order. The decision to trade and the risk size remain with the trader.
- To evaluate historical behaviour, use the strategy tester with visual mode and attach the indicator to the chart manually.
COMPATIBILITY AND PERFORMANCE
- The indicator works in the chart window, overlays the price and does not create a separate subwindow.
- Calculations are limited to a reasonable history window, so the chart stays responsive on long history.
- When the data has not changed, the next frame is skipped.
- Frame processing time is measured by the indicator itself and printed to the journal: in steady state it is measured in microseconds and stays inside the MetaTrader 5 indicator requirements.
- Parabolic SAR values match the built in terminal indicator.
- The panel and the trend label are not redrawn on every tick, they update on a timer and on state changes.
WHAT THE INDICATOR DOES NOT DO
- It does not trade, place orders, manage positions or modify them.
- It does not promise profit and it is not a trading recommendation.
- It does not replace risk management: stop loss, position size and loss limits are set by the user.
- It does not predict future price movement. The indicator describes the current state of the market according to explicit rules.
VERSION AND SUPPORT
Version 1.0. The name is the same in the terminal, on the chart panel and in the journal: SuperTrend Pro Ar.Brain V&E v1.0.
If you need help with the settings, please state the symbol, the timeframe and which parameters were changed. For diagnostics, attach the lines from the Experts journal, they contain the version, the module parameters and the frame processing time.
