MT5 indicators← TSI Studio Cross 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

TSI Studio Cross Arrows

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.

Indicator name: TSI Studio Cross ArrowsMetaTrader 5Main chart

How to read the display

1Green: the TSI line crosses above2Red: the TSI line crosses below3Line smoothing and the average are separate
Schematic diagram of how to read it. This is not an actual terminal screen.
1

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.

2

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.

3

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.

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
Interval for measuring the change / Change over (bars)
InpLag
1 → 2
TSI stage-1 EMA period / First EMA Period
InpFirstPeriod
8 → 13
TSI stage-2 EMA period / Second EMA Period
InpSecondPeriod
5 → 7
Additional EMA 1 for the TSI line / Line Smoothing 1 EMA (0 = off)
InpLineSmooth1
5 → 3
Additional EMA 2 for the TSI line / Line Smoothing 2 EMA (0 = off)
InpLineSmooth2
5 → 0
Period of the average to cross / Average Period
InpAveragePeriod
5 → 8
Method of the average to cross / Average Method
InpAverageMethod
EMA → SMMA

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 settingsInpLag = 1 / InpFirstPeriod = 8 / InpSecondPeriod = 5 / InpLineSmooth1 = 5 / InpLineSmooth2 = 5 / InpAveragePeriod = 5 / InpAverageMethod = EMA
TSI Studio Cross Arrows default settings
Default settings. 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.
View the screen in detail at full size
TSI Studio Cross Arrows default settings (full size)
Example of changed settingsInpLag = 2 / InpFirstPeriod = 13 / InpSecondPeriod = 7 / InpLineSmooth1 = 3 / InpLineSmooth2 = 0 / InpAveragePeriod = 8 / InpAverageMethod = SMMA
TSI Studio Cross Arrows example of changed settings
Example change: Change over (bars) = 2, First EMA Period = 13, Second EMA Period = 7, Line Smoothing 1 EMA (0 = off) = 3, Line Smoothing 2 EMA (0 = off) = 0, Average Period = 8, Average Method = SMMA. Some arrows at the left edge are cut off.
View the screen in detail at full size
TSI Studio Cross Arrows example of changed settings (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: 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.

Red: the TSI line crosses below

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 and the average are separate

Line Smoothing is the EMA that smooths the TSI line. Average is the average it crosses. The line itself and CCI are not drawn.

3

What it measures

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.

How the calculation works

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.

Conditions and exceptions

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.

ComparisonDifferences in display and detection
TSI StudioShows the TSI line, its average and an optional CCI in a separate window. The average can be disabled with 0.
This variantStrict cross arrows on the main chart. The average is required and there is no CCI. The additional smoothing defaults are 5 and 5.
4

Situations for reading the display

Reading the line and mark conditions

Indicator
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.
Cross-check
Cross-check the prices and settings at the same time.
Check
Check which line is larger, how equal values are handled, and the relationship with the previous bar.
Caution
Arrows and dots are not recommendations to place or close orders.

Compare setting differences

Indicator
Example change: Change over (bars) = 2, First EMA Period = 13, Second EMA Period = 7, Line Smoothing 1 EMA (0 = off) = 3, Line Smoothing 2 EMA (0 = off) = 0, Average Period = 8, Average Method = SMMA.
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
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.
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 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.

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

Closed Bars Only defaults to true. With false, marks on the forming bar can change, so distinguish them from the record on closed bars.

6

Installation and checking the package contents

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

Series for measuring the change

English item name
Source
Input name
InpSource
Default
Price change
Allowed range
Price change / Change of a MACD of the closes
Description
Price change is the change in the selected price, and MACD is the change in the difference between EMAs of the close.

Calculation price

English item name
Price
Input name
InpPrice
Default
Close
Allowed range
Close / Open / High / Low / Median / Typical / Weighted
Description
Median=(high+low)/2, Typical=(high+low+close)/3, Weighted=(high+low+close×2)/4.

Interval for measuring the change

English item name
Change over (bars)
Input name
InpLag
Default
1
Allowed range
Integer 1 to 100
Description
How many bars earlier to subtract from the current series value. Future values are not used.

MACD fast EMA period

English item name
MACD Fast EMA (source MACD)
Input name
InpMacdFast
Default
8
Allowed range
Integer 1 to 500
Description
Used with Source=MACD. If it equals Slow, MACD is 0 and no arrows appear.

MACD slow EMA period

English item name
MACD Slow EMA (source MACD)
Input name
InpMacdSlow
Default
21
Allowed range
Integer 1 to 500
Description
Smooths the close with Source=MACD. Not used in price change mode.

TSI stage-1 EMA period

English item name
First EMA Period
Input name
InpFirstPeriod
Default
8
Allowed range
Integer 1 to 500
Description
Smooths the change and the absolute change separately.

TSI stage-2 EMA period

English item name
Second EMA Period
Input name
InpSecondPeriod
Default
5
Allowed range
Integer 1 to 500
Description
Further smooths the stage-1 series.

TSI stage-3 EMA period

English item name
Third EMA Period (0 = off)
Input name
InpThirdPeriod
Default
0
Allowed range
Integer 0 to 500
Description
Disabled with 0. If positive, both the numerator and the denominator are smoothed by 1 more stage.

TSI multiplier

English item name
Multiplier
Input name
InpMultiplier
Default
100
Allowed range
Finite number 0.01–10000
Description
Scales the line and the average by the same factor. Normally it does not change which one is larger.

Additional EMA 1 for the TSI line

English item name
Line Smoothing 1 EMA (0 = off)
Input name
InpLineSmooth1
Default
5
Allowed range
Integer 0 to 500
Description
Disabled with 0. Smooths the line after the TSI ratio is calculated.

Additional EMA 2 for the TSI line

English item name
Line Smoothing 2 EMA (0 = off)
Input name
InpLineSmooth2
Default
5
Allowed range
Integer 0 to 500
Description
Disabled with 0. Smooths the result of additional EMA 1 if it is enabled, or the original TSI if it is disabled.

Period of the average to cross

English item name
Average Period
Input name
InpAveragePeriod
Default
5
Allowed range
Integer 1 to 500
Description
The average cannot be disabled. With 1 it coincides with the TSI line.

Method of the average to cross

English item name
Average Method
Input name
InpAverageMethod
Default
EMA
Allowed range
SMA / EMA / SMMA / LWMA
Description
This setting is separate from the EMA of the additional smoothing. Even with EMA, the average becomes subject to display only after values for the full period are available.

Show marks on closed bars only

English item name
Closed Bars Only
Input name
InpClosedBarsOnly
Default
true
Allowed range
true / false
Description
Default true. No mark is placed on the latest, forming bar. With false, the mark on the current bar may change or disappear. Internal values are calculated for the current bar as well.

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.

Closed bars and history

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.

Mark positions

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.

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

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.

The input is not accepted

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

The marks differ from other cross indicators

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.

Displays overlap

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

Dots or arrows are cut off at the edge of the screen

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.

10

Technical information and specification details

Calculation and reference range

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.

Initial values and exceptions

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.

Package contents and dependencies

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

Differences from the original product

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.

Scope of data display

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.

TSI and average initialization

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.