MT5 indicators← Aroon Bars product page日本語の取扱説明書

This product is in preparation for release. Product files are not yet distributed; the manual is published so that you can review its content. This manual is an English translation of the Japanese manual. Images (screens and figures) are not translated and may contain Japanese text or earlier names.

For Trilogy users

Aroon Bars

Compares when the highest high and the lowest low within the period occurred, and overlays blue or red vertical bars only on bars where the difference exceeds the set threshold. These colors are separate from bullish and bearish candlesticks.

Indicator name: Aroon BarsMetaTrader 5Main chart

Difference in the timing of the high and low → color only outside the threshold

Find the bars with the highest high and lowest low in the latest N barsCalculate 100 × timing difference ÷ NAbove +threshold: blue / below −threshold: redThe height of the vertical bar is that bar's high to low
Schematic diagram of how to read it. This is not an actual terminal screen.
1

Blue barA bar where the highest-high bar is more recent and the difference exceeds +Filter.

2

Red barA bar where the lowest-low bar is more recent and the difference is below −Filter.

3

Bars with no bar drawnBars between the conditions remain as the original candlesticks.

Compares the timing of the high and lowNot the size of the price rangeExactly at the threshold is not colored
1

MT5 display and examples of changed settings

Compares the default settings and a settings change example on a screen with only this product applied.

Settings change example: these items are changed
Period for finding the high and low
InpPeriod
14 → 30
Coloring threshold
InpFilter
50 → 30

All other inputs remain at their defaults. On a PC, the default is on the left and the change example on the right; at smartphone width they appear in the same order from top to bottom.

Default settingsInpPeriod = 14 / InpFilter = 50
Aroon Bars default settings
Period 14, Filter 50. Blue and red bars are overlaid from high to low on bars where the conditions are met.
View the screen in detail at full size
Aroon Bars default settings (full size)
Settings change exampleInpPeriod = 30 / InpFilter = 30
Aroon Bars settings change example
Changed to period 30 and Filter 30. In this section, more bars are colored.
View the screen in detail at full size
Aroon Bars settings change example (full size)

Example shown: 1-minute chart (M1). This is an example for explaining the display. The settings change example is not a recommended value. Details can be checked in the full-size view. Please also check the price scale of the main chart and the positions of the candlesticks.

2

How to read it in 30 seconds

Period

Examines the latest N bars including the current bar.

Colors

Blue and red show the order in which the high and low were made.

Threshold

Draws only differences that exceed Filter.

3

What it measures

Measures not the price range but how far apart in time the high and low within the period were made.

Calculation

Multiplies the position difference between the highest-high bar and the lowest-low bar by 100 and divides by the period.

Equal highs and lows

If the same high or low appears more than once, the oldest bar in the calculation window is used.

Conditions for no coloring

No bar is drawn when the value is between ±Filter, exactly at the threshold, or 0.

Bar height

The bar spans from the bar's high to its low. Its height does not represent the size of the oscillator value.

4

Situations for reading the display

Changed from blue to red

Indicator
The timing difference of the high and low in the calculation window has crossed the threshold on the opposite side.
Cross-check
Look at the high and low bars that fall within the target period.
Check
Distinguish the candlestick color of the same bar from the product's bar.
Caution
It is not a color that predicts a price reversal.

Little coloring

Indicator
Filter is large, or the timing difference is small.
Cross-check
Check the period and Filter.
Check
Compare with the defaults 1 item at a time.
Caution
Changing the period changes which high and low are targeted.
5

Steps for checking the display

1

Apply with the defaults

Tell apart the blue and red vertical bars from the candlesticks beneath them.

2

Look at the high and low within the period

Compares the timing of the highest and lowest bars. For equal values, the older bar is used.

3

Look at the change example

Check in the full-size image how the target bars change when the period and Filter are changed.

6

Installation and checking the package contents

Included filePurpose / location
TRI_Aroon_Bars.ex5The 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.

1

Extract the ZIP

Extract the ex5 main file rather than leaving it in the compressed file.

2

Open the data folder

In MT5, open MQL5/Indicators from 'File → Open Data Folder' and place the included ex5 there.

3

Apply this product

Refresh the Navigator or restart MT5, and apply it to the target chart. Place only 1 instance of the same product on 1 chart.

4

Check the settings and display

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.

7

Settings

There are 2 inputs. Change them on the Inputs tab of the properties window. The English display names are shown together with the input names in the code.

Period for finding the high and low

Name shown on screen
Aroon Period
Input name
InpPeriod
Default
14
Allowed range
2–1000 bars
Description
Number of bars in the calculation window including the current bar.

Coloring threshold

Name shown on screen
Filter
Input name
InpFilter
Default
50
Allowed range
0〜99
Description
Draws when the value exceeds the + value or falls below the − value. Even at 0, bars whose value is 0 are not drawn.
8

Usage specifications

Forming bar

Values 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.

Conditions for comparison

Compare with the same symbol, timeframe, period and loaded history. The display is not a forecast of future prices.

Starting position

No calculated values are output for the first N−1 bars. By default, the condition is judged from the 14th bar.

Only 1 instance of the same product on 1 chart

This manual describes adding 1 instance of this product to 1 chart. To compare different settings, use separate charts.

For on-screen display only

This product shows calculation results through plot buffers and does not place orders. It does not guarantee profit or future price movement.

9

Troubleshooting and usage notes

No bars appear

Check the number of history bars and Filter. When the high and low are flat, the value becomes 0, and no bar appears even with Filter 0.

Nothing is shown after entering inputs

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.

10

Technical information and specification details

Formula

With jh as the position of the highest high and jl as the position of the lowest low, counted from the oldest bar, A=100×(jh−jl)/N. Blue is A>Filter, red is A<−Filter. The theoretical range is ±100×(N−1)/N, and it does not reach ±100.

Internal calculated value

Aroon Oscillator is a data-only value that is not drawn. Only the blue and red bars are overlaid on the chart.