MT5 indicators← Accelerator Oscillator 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

Accelerator Oscillator

Reads how far the difference between a fast average and a slow average is from its own average.

Indicator name: Accelerator OscillatorMetaTrader 5Subwindow

Above/below 0 and the increase/decrease from the previous bar are separate

Above/below 0 × increase/decrease from the previous bar4-color example: green shades = increase / red and orange shades = decrease
Schematic diagram of how to read it. This is not an actual terminal screen.
1

Height and side are the AC valueThe simple average of AO (fast average − slow average) is subtracted from AO.

2

Color is the increase/decrease from the previous barEven below 0 it is green if it increases, and even above 0 it is red if it decreases.

3

4 colors also distinguish above/below 0This is the Trilogy version in which the averaging method and coloring can be selected. Install it as distinct from the built-in version.

AO − simple average of AO5 averaging methodsChoose 2 or 4 colors
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
Averaging method
InpMethod
Simple → Least squares
Coloring
InpColors
2 colors (Rising / falling) → 4 colors (increase/decrease + above/below 0)

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 settingsInpMethod = Simple / InpColors = 2 colors (Rising / falling)
Accelerator Oscillator default settings
Default: 5, 34, 5, Simple, median price, 2 colors. The color shows the increase or decrease from the previous bar.
View the screen in detail at full size
Accelerator Oscillator default settings (full size)
Settings change exampleInpMethod = Least squares / InpColors = 4 colors (increase/decrease + above/below 0)
Accelerator Oscillator settings change example
The averaging method is changed to Least squares and the coloring to 4 colors. An example in which both the calculation method of the values and the coloring change.
View the screen in detail at full size
Accelerator Oscillator settings change example (full size)

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.

2

How to read it in 30 seconds

Above 0, or at or below it

Shows whether the current AO is above, or at or below, its own average. This is separate from the rise or fall of the price itself.

Did it increase from the previous bar

Green shades mean an increase, red and orange shades a decrease. An equal value carries over the previous increase/decrease state.

Confirm with the price

Do not place orders on color changes alone; read them together with the price direction, price levels and closed bars.

3

What it measures

This document covers the extended-settings version provided by Trilogy. The default basic calculation is the same as the standard Accelerator Oscillator, but the periods, applied price, averaging method and coloring can be selected, and the color rule for equal values is also different.

Build AO

The slow average of the selected price is subtracted from its fast average. The method is chosen from SMA, EMA, SMMA, LWMA and LSMA.

Subtract the average of AO

AO is simple-averaged over Signal Period bars, and the difference from AO is shown as AC. The signal average is a simple average regardless of the selected method.

Bar side

If AC is above 0, AO is above its average; if below 0, the reverse. It is not a value that directly represents the market direction.

Distinguishing it from the built-in version

This product's actual file is TRI_Accelerator_Oscillator.ex5. Choose the one that has the inputs in this document. Equal values are not made green every time; the previous increase/decrease state is kept.

4

When to use it in decisions

Green shades below 0

Indicator
A negative AC is increasing from the previous bar.
Price
See whether the price decline is slowing.
Consideration
Consider the possibility that the downward change has weakened.
Exclusion condition
Do not conclude an upward reversal from green below 0 alone.

Red shades above 0

Indicator
A positive AC is decreasing from the previous bar.
Price
Check the speed of the price rise and new highs.
Consideration
Treat it as a slowdown of the upward change and recheck position conditions.
Exclusion condition
A slowdown alone does not necessarily mean a decline is starting.

Crossing 0

Indicator
Which is larger, AO or its average, switches.
Price
See whether it coincides with a price breakout or a pullback.
Consideration
Treat it as material that supplements the price direction.
Exclusion condition
Do not assume that small back-and-forth movement near 0 is a strong reversal.

Colors alternate

Indicator
The increase/decrease of AC alternates bar by bar.
Price
See whether the price is moving back and forth in a narrow range.
Consideration
Use it as material for decisions such as waiting or reorganizing conditions.
Exclusion condition
Using 4 colors does not reduce the noise of price movement itself.
5

Actual decision steps

1

Check this product's inputs

Use the one whose inputs match the included file and this document, not the built-in product of the same name.

2

Separate side from increase/decrease

First read the relationship to 0, then the comparison with the previous bar. Do not call it a rising or falling market from color alone.

3

Separate the purposes of changes

Changing the averaging method changes the values. Changing the coloring changes only the classification, not the AC values.

4

Combine closed bars and price

The color of the current bar changes. Check the price highs and lows and the trading conditions, and do not trade on the bars alone.

6

Installation and checking the package contents

Included filePurpose / location
TRI_Accelerator_Oscillator.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 6 inputs. Change them on the Inputs tab of the properties. The English display name and the input name in the code are shown together.

Fast average period

Name shown on screen
Fast Period
Input name
InpFast
Default
5
Allowed range
Integer from 1 to 999, and less than Slow Period
Description
Number of bars of the fast moving average. Default 5.

Slow average period

Name shown on screen
Slow Period
Input name
InpSlow
Default
34
Allowed range
Integer from 2 to 1000, and greater than Fast Period
Description
Number of bars of the slow moving average. Default 34.

Signal period

Name shown on screen
Signal Period
Input name
InpSignal
Default
5
Allowed range
Integer 2 to 1000
Description
Number of bars of the simple average of AO. Default 5. 1 cannot be specified because AC would always be 0.

Averaging method

Name shown on screen
Averaging Method
Input name
InpMethod
Default
Simple
Allowed range
Simple / Exponential / Smoothed / Linear weighted / Least squares
Description
Used for the fast and slow averages. The signal is always a simple average.

Applied price

Name shown on screen
Applied Price
Input name
InpPrice
Default
Median (high + low) ÷ 2
Allowed range
Close, Open, High, Low, Median, Typical, Weighted close
Description
The default is the median. Even with Least squares, the default price does not change to the close automatically.

Coloring

Name shown on screen
Colours
Input name
InpColors
Default
2 colors (Rising / falling)
Allowed range
Rising / falling (2 colors) / Rising / falling, above / below zero (4 colors)
Description
2 colors show increase/decrease; 4 colors combine increase/decrease with above 0 / at or below 0. The values themselves do not change.
8

Usage specifications

2 colors and 4 colors

With 2 colors, increase is SeaGreen and decrease is Tomato. With 4 colors, above 0 uses the same 2 colors, an increase at 0 or below is YellowGreen, and a decrease at 0 or below is DarkOrange. Equal values continue the previous increase/decrease state.

0 and the first value

Exactly 0 is classified as 0 or below in 4-color mode. The increase/decrease state of the first valid value starts as an increase. When the bar height is 0, the color may not be visible.

Required history

The first Slow Period+Signal Period−2 bars are hidden. Display starts from the next bar. By default, the first 37 bars are hidden and values appear from the 38th bar.

Forming bar and rounding

On the latest bar, values and colors change. Because the increase or decrease is compared even for tiny differences, do not give weight to the color alone when the change is almost 0. Changes in settings or history also cause recalculation.

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

Calculated values are stored in buffers and shown as lines and bars. It does not place trade orders or issue alerts. It does not guarantee profit or market direction.

9

Troubleshooting and usage notes

Colors differ from the built-in version

This product keeps the previous increase/decrease state for equal values. The MT5 built-in version turns green for equal values, so the colors may not match even with the same basic formula.

It does not become 4 colors

Check the Colours setting and whether values are above or below 0. If the visible section is only above 0, only 2 colors may appear.

Nothing appears

Check the relative sizes of the periods and the required history. If AC is 0, the bars are not visible. For invalid inputs, also check the Experts log.

The shape changed after switching to LSMA

This is because it changes to a method that uses the latest position of a regression line. To calculate with the close, also set Applied Price to the close.

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

AC formula

With MA as the average of the selected price P, AO = MA(P,Fast) − MA(P,Slow) and AC = AO − SMA(AO,Signal). The defaults are P = (high + low)/2, Fast = 5, Slow = 34, Signal = 5 and MA = simple average.

Averaging method

SMA is the simple average and LWMA is a linearly weighted average with the most recent value weighted most. LSMA = 3×LWMA − 2×SMA, which corresponds to the value of the regression line at the latest bar. EMA/SMMA use the SMA over the period as the initial value and are then calculated recursively.

Colors and buffers

Buffer 0 = AC, 1 = color index. Increase 0, decrease 1. With 4 colors, 2 is added when AC ≤ 0. The initial increase/decrease state is increase, and equal values take the previous state. Values before drawing starts are EMPTY_VALUE.

About sameness with the standard version

Even if the default basic formula is shared, this does not mean a complete match of all behavior, including the colors for equal values and the handling of where the display starts. This document describes the specifications of the version provided by Trilogy.