Green: the TSI line crosses above
If the TSI line was below the average line on the previous bar and is above it on the current bar, a green up arrow is placed on the low side.
Builds TSI from the price change or the change in MACD, and shows crosses of the additionally smoothed line and its average with arrows on the price chart.
Green: the TSI line crosses aboveIf the TSI line was below the average line on the previous bar and is above it on the current bar, a green up arrow is placed on the low side.
Red: the TSI line crosses belowIf the TSI line was above the average line on the previous bar and is below it on the current bar, a red down arrow is placed on the high side.
Line smoothing and the average are separateLine Smoothing is the EMA that smooths the TSI line. Average is the average it crosses. The line itself and CCI are not drawn.
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 TSI line was below the average line on the previous bar and is above it on the current bar, a green up arrow is placed on the low side.
If the TSI line was above the average line on the previous bar and is below it on the current bar, a red down arrow is placed on the high side.
Line Smoothing is the EMA that smooths the TSI line. Average is the average it crosses. The line itself and CCI are not drawn.
Builds TSI from the price change or the change in MACD, and shows crosses of the additionally smoothed line and its average with arrows on the price chart.
For the series X selected by Source, the difference d between X and its value Lag bars earlier, and |d|, are each smoothed by EMA from First to Second, and if Third is positive, 1 more stage is added. TSI=smoothed d÷smoothed |d|×Multiplier, and 0 if the denominator is 0. If Line Smoothing 1 and 2 are positive, the TSI is smoothed by EMA in that order. Strict crosses of that line and Average are detected. No arrow appears for a cross that passes through an equal value.
Source=MACD uses the change in Fast EMA−Slow EMA of the close, and the Price selection is not used. With Average Period=1 the lines coincide and there are no arrows. Average=0 cannot be used. With the oldest bar as index 0, TSI starts at b=Lag+(First−1)+(Second−1)+(Third−1 if Third is positive). The line starts at lb=b+the sum of (each valid Line Smoothing period−1). The average starts at lb+Average−1, and arrows from the bar after that. With the defaults, the earliest is the 26th bar. By default, no mark is placed on the forming bar.
| Comparison | Differences in display and detection |
|---|---|
| TSI Studio | Shows the TSI line, its average and an optional CCI in a separate window. The average can be disabled with 0. |
| This variant | Strict cross arrows on the main chart. The average is required and there is no CCI. The additional smoothing defaults are 5 and 5. |
Load the history in MT5, and first apply only this product to the chart.
If the TSI line was below the average line on the previous bar and is above it on the current bar, a green up arrow is placed on the low side.
Put the default and the change example on separate charts, with the same symbol, timeframe and history.
Closed Bars Only defaults to true. With false, marks on the forming bar can change, so distinguish them from the record on closed bars.
| Included file | Purpose / location |
|---|---|
| TRI_TSI_Studio_Cross_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 18 inputs. Change them on the Inputs tab of the properties window. The English item name defined in the source is shown together with the input name.
InpSourceInpPriceInpLagInpMacdFastInpMacdSlowInpFirstPeriodInpSecondPeriodInpThirdPeriodInpMultiplierInpLineSmooth1InpLineSmooth2InpAveragePeriodInpAverageMethodInpClosedBarsOnlyInpTriBrandShowInpTriBrandCornerInpTriBrandXInpTriBrandYIt does not place, modify or close orders. There are no notifications or emails either.
Closed Bars Only=true is a setting that hides marks on the latest forming bar. Past results are not guaranteed to stay unchanged through corrections or additions to the history or changes of the start position. The internal series is calculated on the current bar as well.
Green up arrows are 10 pixels below the low, and red down arrows 10 pixels above the high. The arrows record that a cross occurred and do not guarantee the direction of price movement.
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.
Source=MACD uses the change in Fast EMA−Slow EMA of the close, and the Price selection is not used. With Average Period=1 the lines coincide and there are no arrows. Average=0 cannot be used. With the oldest bar as index 0, TSI starts at b=Lag+(First−1)+(Second−1)+(Third−1 if Third is positive). The line starts at lb=b+the sum of (each valid Line Smoothing period−1). The average starts at lb+Average−1, and arrows from the bar after that. With the defaults, the earliest is the 26th bar. By default, no mark is placed on the forming bar.
Check the ranges and combinations in the settings. Keep the inputs for unused methods within range as well.
For the series X selected by Source, the difference d between X and its value Lag bars earlier, and |d|, are each smoothed by EMA from First to Second, and if Third is positive, 1 more stage is added. TSI=smoothed d÷smoothed |d|×Multiplier, and 0 if the denominator is 0. If Line Smoothing 1 and 2 are positive, the TSI is smoothed by EMA in that order. Strict crosses of that line and Average are detected. No arrow appears for a cross that passes through an equal value.
Use separate charts, or adjust the brand position and margins. The images can also be checked at full size.
Check in the full-size view. On a real chart, widening the display range of the vertical axis makes it easier to see marks outside the high and low.
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.
For the series X selected by Source, the difference d between X and its value Lag bars earlier, and |d|, are each smoothed by EMA from First to Second, and if Third is positive, 1 more stage is added. TSI=smoothed d÷smoothed |d|×Multiplier, and 0 if the denominator is 0. If Line Smoothing 1 and 2 are positive, the TSI is smoothed by EMA in that order. Strict crosses of that line and Average are detected. No arrow appears for a cross that passes through an equal value.
Source=MACD uses the change in Fast EMA−Slow EMA of the close, and the Price selection is not used. With Average Period=1 the lines coincide and there are no arrows. Average=0 cannot be used. With the oldest bar as index 0, TSI starts at b=Lag+(First−1)+(Second−1)+(Third−1 if Third is positive). The line starts at lb=b+the sum of (each valid Line Smoothing period−1). The average starts at lb+Average−1, and arrows from the bar after that. With the defaults, the earliest is the 26th bar. By default, no mark is placed on the forming bar.
Only MT5 itself and this manual. Account authentication, external indicators and DLLs are not required.
Shows the TSI line, its average and an optional CCI in a separate window. The average can be disabled with 0. Strict cross arrows on the main chart. The average is required and there is no CCI. The additional smoothing defaults are 5 and 5. It does not replace the original product.
Intermediate calculation values that are not drawn on screen are also held as indicator outputs. The item names in the Data Window and the on-screen display have not been verified. To check the values, confirm the items on an actual terminal.
The EMAs of the numerator and denominator are initialized with the value at index Lag, where the change can first be calculated. The additional EMAs are initialized at the TSI start index b and wait until lb, where the line becomes subject to display. The EMA of Average is initialized at lb, but as with the other methods, the average is not subject to display until values for the full period are available. SMA, SMMA and LWMA are calculated only within the period from lb onward.