Distinguish the colors
Check which range green and red each represent.
Builds an upside range and a downside range from the open, previous close, high and low, and averages each over the same period. Green and red are separate ranges; they do not foretell the direction in which price will move.
Green lineBull Range. The average of the upside range.
Red lineBear Range. The average of the downside range.
GapThe difference between the previous close and the open goes into both sides. Do not read the sum of the 2 lines as the same as ATR.
Compares the default settings and a settings change example on a screen with only this product applied.
Example shown: 1-minute chart (M1). This is an example to explain the display. The settings change example is not a recommended value. Details can be checked in the full-size view. The vertical axis of the separate window is adjusted automatically for each image, so do not compare values by on-screen height alone.
Check which range green and red each represent.
Read each average range in price units.
The period is shared by both lines.
These are the average upside and downside ranges, not the number of rising or falling bars or volume.
Subtracts the smaller of the open and previous close from the larger of the high and previous close.
Subtracts the smaller of the low and previous close from the larger of the open and previous close.
Both are simple averages over the latest N bars.
Because gaps are included in both sides, it is not simply the normal ATR split in two.
Check the 2 lines, green and red, with period 14.
On bars with a gap, note that the difference from the previous close is added to both sides.
To view only one side, switch the display switches. The period is shared by both sides.
| Included file | Purpose / location |
|---|---|
| TRI_Bull_Bear_True_Range.ex5 | The MT5 main file. Place it in MQL5/Indicators. |
The ZIP contains only 1 item, the main file. The manual is opened from the product page on the site. Source code is not included. MT5 only; registration, account authentication and placing a license file are not required. Use it without changing the file name.
Extract the ex5 main file rather than leaving it in the compressed file.
In MT5, open MQL5/Indicators from 'File → Open Data Folder' and place the included ex5 there.
Refresh the Navigator or restart MT5, and apply it to the target chart. Place only 1 instance of the same product on 1 chart.
First check with the default values. Changes and removal are done from the chart's 'Indicators List'.
This product does not require DLL permission or enabling automated trading. When removed, this product's drawings are cleared.
There are 3 inputs. Change them on the Inputs tab of the properties. The English display name and the input name in the code are shown together.
InpPeriodInpShowBullInpShowBearValues and drawing change with the latest bar's high, low and close. They are also recalculated when history is added or corrected or settings change.
Compare with the same symbol, timeframe, period and loaded history. The display is not a forecast of future prices.
No line is drawn for the first N−1 bars. By default, it starts from the 14th bar. The first bar of the history has no previous close, so the calculation starts from high − open and open − low.
This manual describes adding 1 instance of this product to 1 chart. To compare different settings, use separate charts.
This product shows calculation results through plot buffers and does not place orders. It does not guarantee profit or future price movement.
Check both display switches and the number of history bars.
By specification, gaps are counted on both sides. It is not a simple breakdown of ATR.
Check the allowed range of the inputs and the number of history bars. Outside the range, the indicator does not start, and the reason is shown in English in the Experts tab of the Toolbox. No explanation is shown on the chart.
If the first display does not appear, check history loading and the input ranges. If an earlier display has stopped updating, first check the price feed and the terminal's connection status.
With H, L and O as the bar's high, low and open and P as the previous close, U=max(H,P)−min(O,P), D=max(O,P)−min(L,P). The display is the N-bar simple average of U and of D. On the first bar, U=H−O and D=O−L.
On each bar with a previous close, U+D=true range+|O−P|. So the sum of the average lines includes, in addition to the average true range, the average of the absolute gap.