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.
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.
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.
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.
Blue dots are the optional SAR displayShown with Show SAR=true. The color of the blue dots does not change with direction.
Compares the default settings and a settings change example on a screen with only this product applied.
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.
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.
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.
Shown with Show SAR=true. The color of the blue dots does not change with direction.
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.
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.
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.
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.
Load the history in MT5, and first apply only this product to the chart.
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.
Put the default and the change example on separate charts, with the same symbol, timeframe and 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.
| Included file | Purpose / location |
|---|---|
| TRI_Parabolic_SAR_Reversal_Arrows.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. When comparing different settings, using separate charts makes checking easier.
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.
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.
InpStepInpMaximumInpShowSarInpClosedBarsOnlyInpTriBrandShowInpTriBrandCornerInpTriBrandXInpTriBrandYIt does not place, modify or close orders. There are no notifications or emails either.
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.
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.
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.
The display is a record of calculation results. It does not direct trading decisions and does not guarantee future price movements.
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.
Check the ranges and combinations in the settings. Keep the inputs for unused methods within range as well.
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.
Use separate charts, or adjust the brand position and margins. The images can also be checked at full size.
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.
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 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.
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.
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.
Only MT5 itself and this manual. Account authentication, external indicators and DLLs are not required.
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.