MT5 indicators← Parabolic SAR Reversal Arrows 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

Parabolic SAR Reversal Arrows

Places up and down arrows on bars where the SAR moved to the opposite side relative to the midpoint of each bar's high and low. The blue SAR dots used in the calculation can also be shown if needed.

Indicator name: Parabolic SAR Reversal ArrowsMetaTrader 5Main chart

How to read the display

1Green: from above the midpoint to below2Red: from below the midpoint to above3Blue dots are the optional SAR display
Schematic diagram of how to read it. This is not an actual terminal screen.
1

Green: from above the midpoint to belowIf the previous bar's SAR was above the previous bar's midpoint and the current SAR is below the current midpoint, an up arrow is placed.

2

Red: from below the midpoint to aboveIf the previous bar's SAR was below the previous bar's midpoint and the current SAR is above the current midpoint, a down arrow is placed.

3

Blue dots are the optional SAR displayShown with Show SAR=true. The color of the blue dots does not change with direction.

Record of conditions metMT5 onlyNot a trading instruction
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
Initial value and increment of the acceleration factor / Step
InpStep
0.02 → 0.01
Upper limit when increasing the acceleration factor / Maximum
InpMaximum
0.2 → 0.1
Show SAR dots / Show SAR
InpShowSar
false → true

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 settingsInpStep = 0.02 / InpMaximum = 0.2 / InpShowSar = false
Parabolic SAR Reversal Arrows default settings
Default Step=0.02, Maximum=0.2. SAR dots are hidden. The green and red arrows record where SAR switched between above and below the median price of each bar.
View the screen in detail at full size
Parabolic SAR Reversal Arrows default settings (full size)
Settings change exampleInpStep = 0.01 / InpMaximum = 0.1 / InpShowSar = true
Parabolic SAR Reversal Arrows settings change example
Step=0.01, Maximum=0.1, Show SAR=true. A settings example that adds the blue SAR dots. It is a comparison with 3 items changed and does not show the effect of each setting or a recommended setting.
View the screen in detail at full size
Parabolic SAR Reversal Arrows settings change example (full size)

Example shown: M1. This is an example for explaining the display. The published images are screens from before the brand display was added. The calculation and drawing conditions are the same, and the packaged version has display settings for the brand text and the QR code. 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

Green: from above the midpoint to below

If the previous bar's SAR was above the previous bar's midpoint and the current SAR is below the current midpoint, an up arrow is placed.

Red: from below the midpoint to above

If the previous bar's SAR was below the previous bar's midpoint and the current SAR is above the current midpoint, a down arrow is placed.

Blue dots are the optional SAR display

Shown with Show SAR=true. The color of the blue dots does not change with direction.

3

What it measures

Places up and down arrows on bars where the SAR moved to the opposite side relative to the midpoint of each bar's high and low. The blue SAR dots used in the calculation can also be shown if needed.

How the calculation works

Midpoint of each bar M=(high+low)/2. An up arrow when SAR[t−1]>M[t−1] and SAR[t]<M[t]; a down arrow when SAR[t−1]<M[t−1] and SAR[t]>M[t]. Both use strict comparisons, so the condition is not met when the SAR equals the midpoint. SAR is an iterative calculation using highs and lows; the usual update is previous SAR+acceleration factor×(extreme−previous SAR). Depending on direction, it is limited by the lows/highs of the previous 2 bars, and a crossing of the current high or low is handled. Arrows are not decided by comparing only the internal direction flag, but by the position of this SAR relative to each bar's midpoint.

Conditions and exceptions

Nothing is shown with fewer than 3 bars of history. It examines from the 2nd bar of the history up to the bar just before the latest, and uses as the starting point the first bar where the high and low both rise or both fall. The SAR at the starting point is the previous bar's low/high, and no arrow is placed on the starting point itself. If no such bar exists yet, the previous bar's low is placed on the latest bar as a provisional SAR. This initial provisional dot disappears or moves as bars are added. With Show SAR=false this dot is also not visible. The calculation path can change with the history start position or corrections.

Relation to the original product

A separate version corresponding to the Parabolic SAR Plus calculation with Source=High/Low, Limit=2 and the same Step/Maximum. This product has no choice of applied price, MA price, limit bars, line/dot, or color by direction. The only auxiliary SAR display is the blue dots. Exact agreement with the MT4 standard iSAR or other products is not guaranteed.

4

Situations for reading the display

Reading the position of the SAR and price

Indicator
Green marks that the SAR moved below the midpoint, red that it moved above.
Cross-check
It compares with the midpoint of the high and low, not with the close.
Check
With Show SAR=true, check the relation between the blue dots and each bar's midpoint.
Caution
The marks do not guarantee a price rise or fall, or a profit, after a reversal.

Compare setting differences

Indicator
Step=0.01, Maximum=0.1, Show SAR=true. A settings example that adds the blue SAR dots. It is a comparison with 3 items changed and does not show the effect of each setting or a recommended setting.
Cross-check
Use the same symbol, timeframe and history.
Check
Look at how the changed setting relates to the increase or decrease and the position of the marks.
Caution
The published settings are not recommended values.

Reading intervals without marks

Indicator
Nothing is shown with fewer than 3 bars of history. It examines from the 2nd bar of the history up to the bar just before the latest, and uses as the starting point the first bar where the high and low both rise or both fall. The SAR at the starting point is the previous bar's low/high, and no arrow is placed on the starting point itself. If no such bar exists yet, the previous bar's low is placed on the latest bar as a provisional SAR. This initial provisional dot disappears or moves as bars are added. With Show SAR=false this dot is also not visible. The calculation path can change with the history start position or corrections.
Cross-check
Check the required history and whether the conditions are met.
Check
Do not treat the absence of marks as the calculation having stopped.
Caution
Nothing may be displayed during periods when the conditions are not met.
5

Steps for checking the display

1

Apply with the defaults

Load the history in MT5, and first apply only this product to the chart.

2

Check the role of the display

If the previous bar's SAR was above the previous bar's midpoint and the current SAR is below the current midpoint, an up arrow is placed.

3

Comparing settings

Put the default and the change example on separate charts, with the same symbol, timeframe and history.

4

Distinguish the forming bar from the start of the history

Closed Bars Only=true hides only the arrow on the latest bar, and SAR is updated. With false, arrows may disappear as the high and low change. Provisional SAR dots whose starting direction is not yet determined may disappear or move as bars are added. Even closed bars are affected by the history start position and corrections.

6

Installation and checking the package contents

Included filePurpose / location
TRI_Parabolic_SAR_Reversal_Arrows.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. When comparing different settings, using separate charts makes checking easier.

4

Check the settings and display

First check with the default values. Changes and removal are done from the chart's 'Indicators List'.

Using this product does not require allowing DLLs. When removed, this product's drawings are cleared.

7

Settings

There are 8 inputs. Change them on the Inputs tab of the properties. The English item names and input names defined in the source are shown together.

Initial value and increment of the acceleration factor

English item name
Step
Input name
InpStep
Default
0.02
Allowed range
0.0001 to 1
Description
The factor at the start and at a reversal. When the extreme is updated, Step is added if the next factor is at or below Maximum. The increment is used for the next update.

Upper limit when increasing the acceleration factor

English item name
Maximum
Input name
InpMaximum
Default
0.2
Allowed range
0.0001 to 10
Description
It is not an upper limit that cuts down the initial value Step. Step>Maximum is also accepted; in that case the factor stays at its initial value and does not increase. Normally, check the meaning so that you do not set it at or below Step.

Show SAR dots

English item name
Show SAR
Input name
InpShowSar
Default
false
Allowed range
true / false
Description
The default false shows only arrows. true adds the blue dots. The arrow calculation condition does not change.

Show arrows on closed bars only

English item name
Closed Bars Only
Input name
InpClosedBarsOnly
Default
true
Allowed range
true / false
Description
true hides the arrow on the latest forming bar. The SAR calculation and blue dots are still updated. With false, arrows on the forming bar appear and disappear.

Brand and QR

English item name
Show Trilogy brand and QR code
Input name
InpTriBrandShow
Default
true
Allowed range
true / false
Description
Displayed with true. Calculated values do not change.

Brand position

English item name
Brand position (chart corner)
Input name
InpTriBrandCorner
Default
Bottom left
Allowed range
Top left / Bottom left / Bottom right / Top right
Description
The default is bottom left.

Horizontal margin

English item name
Brand horizontal offset (pixels)
Input name
InpTriBrandX
Default
10
Allowed range
Integer (pixels)
Description
Negative values are treated as 0, and values above 4000 are treated as 4000.

Vertical margin

English item name
Brand vertical offset (pixels)
Input name
InpTriBrandY
Default
10
Allowed range
Integer (pixels)
Description
Negative values are treated as 0, and values above 4000 are treated as 4000.
8

Usage specifications

Display only

It does not place, modify or close orders. There are no notifications or emails either.

Forming bar and provisional initial display

Closed Bars Only=true hides only the arrow on the latest bar, and SAR is updated. With false, arrows may disappear as the high and low change. Provisional SAR dots whose starting direction is not yet determined may disappear or move as bars are added. Even closed bars are affected by the history start position and corrections.

Mark positions

Up arrows are drawn 10 pixels below the low, and down arrows 10 pixels above the high. This is not a fixed distance in price.

Brand display

Shows Produced by Trilogy Inc. and a QR code to https://www.trgy.co.jp/. When the same medium is used on the same chart, the display is shared. There is no account authentication.

For on-screen display only

The display is a record of calculation results. It does not direct trading decisions and does not guarantee future price movements.

9

Troubleshooting and usage notes

No marks, or blanks in the middle

Nothing is shown with fewer than 3 bars of history. It examines from the 2nd bar of the history up to the bar just before the latest, and uses as the starting point the first bar where the high and low both rise or both fall. The SAR at the starting point is the previous bar's low/high, and no arrow is placed on the starting point itself. If no such bar exists yet, the previous bar's low is placed on the latest bar as a provisional SAR. This initial provisional dot disappears or moves as bars are added. With Show SAR=false this dot is also not visible. The calculation path can change with the history start position or corrections.

The input is not accepted

Check the ranges and combinations in the settings. Keep the inputs for unused methods within range as well.

Differs from the original product or the standard SAR

A separate version corresponding to the Parabolic SAR Plus calculation with Source=High/Low, Limit=2 and the same Step/Maximum. This product has no choice of applied price, MA price, limit bars, line/dot, or color by direction. The only auxiliary SAR display is the blue dots. Exact agreement with the MT4 standard iSAR or other products is not guaranteed.

Displays overlap

Use separate charts, or adjust the brand position and margins. The images can also be checked at full size.

There are blue dots but no arrow

No arrow is placed on the starting point. The SAR must move strictly to the opposite side of the midpoint between the previous bar and the current bar. Equal values or staying on the same side do not produce an arrow.

Dots move in the first few bars

In history where the direction is not yet determined, the provisional dot placed on the latest bar changes as bars are added. Check the initial values and exceptions of the calculation.

Arrows are cut off at the edge of the screen

Arrows are drawn offset 10 pixels from the high or low. Adjust the vertical scale and display range.

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

Calculation and reference range

Midpoint of each bar M=(high+low)/2. An up arrow when SAR[t−1]>M[t−1] and SAR[t]<M[t]; a down arrow when SAR[t−1]<M[t−1] and SAR[t]>M[t]. Both use strict comparisons, so the condition is not met when the SAR equals the midpoint. SAR is an iterative calculation using highs and lows; the usual update is previous SAR+acceleration factor×(extreme−previous SAR). Depending on direction, it is limited by the lows/highs of the previous 2 bars, and a crossing of the current high or low is handled. Arrows are not decided by comparing only the internal direction flag, but by the position of this SAR relative to each bar's midpoint.

Initial values and exceptions

Nothing is shown with fewer than 3 bars of history. It examines from the 2nd bar of the history up to the bar just before the latest, and uses as the starting point the first bar where the high and low both rise or both fall. The SAR at the starting point is the previous bar's low/high, and no arrow is placed on the starting point itself. If no such bar exists yet, the previous bar's low is placed on the latest bar as a provisional SAR. This initial provisional dot disappears or moves as bars are added. With Show SAR=false this dot is also not visible. The calculation path can change with the history start position or corrections.

Package contents and dependencies

Only MT5 itself and this manual. Account authentication, external indicators and DLLs are not required.

Relation to the original product

A separate version corresponding to the Parabolic SAR Plus calculation with Source=High/Low, Limit=2 and the same Step/Maximum. This product has no choice of applied price, MA price, limit bars, line/dot, or color by direction. The only auxiliary SAR display is the blue dots. Exact agreement with the MT4 standard iSAR or other products is not guaranteed.