MT5 indicators← CCI Confirmed 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

CCI Confirmed Cross Arrows

Records with arrows on the price chart the bars where a CCI zero crossing and crossings of the selected confirmation conditions line up.

Indicator name: CCI Confirmed Cross ArrowsMetaTrader 5Price chart

CCI crossing + confirmation by all selected conditions

Select confirmation conditions → all selected ones holdTrend Power / Stochastic Blend / DICCI crossingCondition crossingPrevious barJudged bar ↑Default: same bar or 1 bar before or after / can be changed to the same bar only
Schematic diagram of how to read it. This is not an actual terminal screen.
1

CCI is the basisThe basis is the CCI of the typical price crossing from negative to positive or from positive to negative. Merely touching zero does not count.

2

Select confirmation conditionsArrows appear only on bars where all the conditions in use among Trend Power, Stochastic Blend and DI confirm the same direction.

3

Same bar or 1 bar apartBy default it combines crossings on the same bar or 1 bar before or after. The arrow is placed on the bar after the conditions line up and is not moved back to the past crossing bar.

MT5, price chartClosed bars only by defaultPlaces no orders and sends no notifications
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
Trend Power confirmation / Use Trend Power Cross
InpUseTrend
true → false
Stochastic Blend confirmation / Use Stochastic Blend Cross
InpUseBlend
true → false
CCI period / CCI Period (typical price)
InpCCIPeriod
50 → 20

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 settingsInpUseTrend = true / InpUseBlend = true / InpCCIPeriod = 50
CCI Confirmed Cross Arrows default settings
By default all 3 conditions are used, with a CCI period of 50. There is only 1 up arrow in this displayed range. This is not an indicator that marks every bar where the price moved sharply.
View the screen in detail at full size
CCI Confirmed Cross Arrows default settings (full size)
Settings change exampleInpUseTrend = false / InpUseBlend = false / InpCCIPeriod = 20
CCI Confirmed Cross Arrows settings change example
This example stops using Trend Power and Stochastic Blend, leaving only DI, and changes the CCI period from 50 to 20. On this screen the up and down arrows increase. The number of conditions and the CCI period are changed at the same time, so this is not a comparison that shows the effect of only one of them.
View the screen in detail at full size
CCI Confirmed Cross 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

Reading the color and direction

A blue up arrow is a combination of upward crossings, and a red down arrow is a combination of downward crossings. Up arrows are 10 pixels below the low, and down arrows are 10 pixels above the high.

CCI is required even with fewer conditions

Even if you reduce the confirmation conditions to 1, the CCI crossing cannot be removed. If all 3 are set to false, loading is refused.

Treat the latest bar display separately

Confirm On Current Bar sets whether the crossings must be simultaneous, and Closed Bars Only sets whether the unclosed bar is included in the display. Check them separately.

3

What it measures

Of the 4 kinds of crossings, CCI is required. You choose among the remaining 3 conditions, and it shows bars that meet all the selected conditions. It is not an indicator that measures trend strength, win rate or trading prices.

Required CCI crossing

Uses the CCI of typical price = (high+low+close)/3. Previous negative and current positive is up; previous positive and current negative is down. If the previous or current value is exactly 0, it is not a crossing.

The 3 selectable conditions

Trend Power is the relationship between the close, an average and the range; Stochastic Blend is a composite of %K over multiple periods and its smoothed line; DI is the relationship between +DI and −DI. The lines themselves are not drawn; only the final arrows are drawn.

Confirmation 1 bar apart

With the judged bar as t, the condition holds if any of CCI[t] and condition[t], CCI[t−1] and condition[t], or CCI[t] and condition[t−1] are in the same direction. It does not hold if both are only on the previous bar.

All conditions are checked on the same judged bar

Each enabled condition must satisfy one of the combinations above for the same judged bar t. It is not a function that keeps remembering many confirmations scattered before and after the CCI crossing.

“Current” means the bar on which crossings are judged.

Even with Confirm On Current Bar=true, if Closed Bars Only=true, nothing is drawn on the unclosed latest bar. The target is a closed bar where the crossings line up on the same bar.

4

Situations for reading the display

Looking at a blue up arrow

Indicator
CCI and all selected conditions satisfy the upward combination.
Cross-check
Check which conditions are used and whether 1 bar apart is allowed.
Check
Cross-check the bar against the surrounding price movement.
Caution
It is not a buy order or a guarantee of a rise.

Looking at a red down arrow

Indicator
It is a combination with the same rules applied downward.
Cross-check
Check the bars before and after, and the simultaneity setting.
Check
Read it as a difference in direction and keep it separate from profit or loss.
Caution
It is not a function that closes positions or cuts losses.

Almost no marks appear

Indicator
By default, all 3 crossings and the CCI crossing are required.
Cross-check
Check the history and inputs, and do not immediately conclude that few marks means a fault.
Check
The default example in the image also has only 1 arrow.
Caution
Removing conditions is not treated as a performance improvement or a recommended setting.

Compare bars where the conditions continue

Indicator
If adjacent bars each satisfy the confirmation formula, marks in the same direction can appear in a row.
Cross-check
Distinguish the combination of crossings used on each bar.
Check
It does not carry a state forward from the previous arrow.
Caution
There is no setting that selects only the first 1 bar.
5

Steps for checking the display

1

Apply with the defaults

Apply it to an MT5 price chart and load the history. When Stochastic Blend is used, the calculation needs at least 91 bars, and the crossing comparison needs data from the 92nd bar onward.

2

Look at CCI and the conditions in use

CCI is required. Check true/false for the 3 items that start with Use.

3

Distinguish the timing

For the same bar only, set Confirm On Current Bar=true. To exclude the latest bar, set Closed Bars Only=true.

4

Compare under matched conditions

Compare with the same symbol, timeframe and history. After changing conditions, check whether the inputs are the same as in the manual's images.

6

Installation and checking the package contents

Included filePurpose / location
TRI_CCI_Confirmed_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 13 inputs. Change them on the Inputs tab of the properties. The English item names defined in the source are shown together with the input names.

Trend Power confirmation

English item name
Use Trend Power Cross
Input name
InpUseTrend
Default
true
Allowed range
true / false
Description
Default true. Combines with CCI the strict crossing of close−SMA and 2×EMA−high−low.

Stochastic Blend confirmation

English item name
Use Stochastic Blend Cross
Input name
InpUseBlend
Default
true
Allowed range
true / false
Description
Default true. Uses the crossing of a composite of %K over 5 fixed periods and its smoothed line. There are no inputs to change the periods or weights.

DI confirmation

English item name
Use DI Cross
Input name
InpUseDI
Default
true
Allowed range
true / false
Description
Default true. Uses the crossing of +DI and −DI. It is not a condition that requires a particular ADX level or strength.

Confirm on the same bar only

English item name
Confirm On Current Bar
Input name
InpConfirmOnCurrent
Default
false
Allowed range
true / false
Description
Default false. Allows the same bar or 1 bar before or after. With true, CCI and each condition in use must cross on the same bar. Whether the latest bar is displayed is a separate input.

CCI period

English item name
CCI Period (typical price)
Input name
InpCCIPeriod
Default
50
Allowed range
Integer 1 to 500
Description
Default 50. CCI of the typical price. With period 1, the mean deviation is 0, so CCI becomes 0 and no arrows appear.

DI period

English item name
DI Period
Input name
InpDIPeriod
Default
14
Allowed range
Integer 1 to 500
Description
Default 14. Sets the coefficient 2/(period+1) for the exponential smoothing of +DI and −DI.

Trend SMA period

English item name
Trend SMA Period
Input name
InpTrendSma
Default
20
Allowed range
Integer 1 to 500
Description
Default 20. The SMA period for close−SMA.

Power EMA period

English item name
Power EMA Period
Input name
InpPowerEma
Default
13
Allowed range
Integer 1 to 500
Description
Default 13. The EMA period for 2×EMA−high−low. It starts from the oldest close.

Show on closed bars only

English item name
Closed Bars Only
Input name
InpClosedBarsOnly
Default
true
Allowed range
true / false
Description
Default true; nothing is drawn on the latest forming bar. With false, the latest bar is also included, and marks can appear and disappear and their position can also change.

Brand and QR

English item name
Show Trilogy brand and QR code
Input name
InpTriBrandShow
Default
true
Allowed range
true / false
Description
Default true. The crossing calculation does 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
Default 10. Negative numbers are treated as 0, and values above 4000 as 4000.

Vertical margin

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

Usage specifications

Display only

There are no order, exit, alert or email functions. Arrows are a record of the crossing conditions.

Current bar and history

Calculates the full history from the oldest bar every time. Unclosed bars change with price. Closed bars are also recalculated when history is added or corrected or settings are changed.

Note the differences in origin

Even for standard indicators with the same name, crossings differ depending on the smoothing method, calculation start position and handling of equal values. An exact match with external indicators is not assumed.

Brand display

Displays Produced by Trilogy Inc. and a QR code to https://www.trgy.co.jp/. There is no account authentication. The white/black switching according to the background applies to the brand text, not to the arrow colors.

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 arrows appear

Check the required history, the conditions in use and the CCI period. With CCI period 1, CCI is always 0 and there are no crossings. If no bar meets all conditions, no marks appear.

No mark even though it passed through zero

Negative → 0 → positive is not counted as a strict CCI crossing. Each confirmation condition also does not hold if it only passes through an equal value.

No mark on the crossing bar 1 bar earlier

With 1 bar apart, the mark appears on the bar after the combination lines up. It is not a mechanism that moves arrows back to past bars.

No mark on the latest bar even with simultaneous confirmation enabled

Closed Bars Only=true excludes the latest bar. Simultaneous confirmation and limiting to closed bars are separate settings.

Inputs are not accepted

All 4 periods are integers from 1 to 500. The periods of unused conditions also cannot be out of range. A setting with all 3 conditions set to false is also refused.

Arrows are few or small

The images can also be checked at full size. Adjust the display range and colors in the terminal and compare. The 10-pixel distance is different from price points.

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

Judgment formula

Let up be d=+1 and down be d=−1. For the CCI crossing C and each condition's crossing X, the default is (X[t]=d and (C[t]=d or C[t−1]=d)) or (X[t−1]=d and C[t]=d). With simultaneous confirmation, only X[t]=d and C[t]=d. An AND is taken over all enabled conditions, and the arrow is shown at the low or high of the judged bar t. Each crossing is a strict greater/less change or sign reversal between the previous bar and the current bar.

CCI and Trend Power

From the average m and mean absolute deviation d of the typical price, CCI=(price−m)/(0.015d). When d=0, it is 0. Trend Power's green series G=close−SMA of close, and red series R=−((low−EMA of close)+(high−EMA of close)). Previously R>G and now R<G is up; the reverse is down. The series themselves are hidden.

Stochastic Blend

%K for Low/High is obtained with K=8, 89, 55, 34, 21 and Slowing=3, and added with weights 0.05, 0.43, 0.26, 0.16, 0.10. With Slowing, the sum of (close−K-period low) over 3 bars is divided by the sum of (K-period high−K-period low) over 3 bars and multiplied by 100. A denominator of 0 gives 100. The composite mov is smoothed as lo=mov/15+previous lo×14/15. mov starts from the 91st bar, with the first previous lo set to 0. Previously lo>mov and now lo<mov is up; the reverse is down.

DI

The percentages of +DM and −DM divided by True Range on each bar are exponentially smoothed with coefficient 2/(DI Period+1). The oldest bar is 0. On a bar where the up and down DM are equal, both are 0, and even if True Range=0, that bar's ratio is 0. If +DI strictly crosses −DI from below to above, it is up; the reverse is down. The internal ADX is not used in the final condition.

Start position and setting limits

CCI has its first value on bar P, and crossings are from bar P+1 onward. If Trend SMA is L, Trend crossings are from bar L+1 onward. Blend crossings are from the 92nd bar onward, and DI crossings from the 3rd bar onward, excluding the initial pair of 0 values. Each enabled condition and a valid CCI value must line up, and reaching the bar count does not guarantee that a mark appears. If Closed Bars Only=true, the bar after the judged bar is needed.

Package contents and dependencies

The ZIP contains only 1 item, the MT5 indicator itself, and the manual is opened from the product page on the site. No external indicators, DLLs or authentication files are needed. Source code is not included in the ZIP. The display buffers are 0 for up and 1 for down, and the stored values are the low and the high. The visual 10-pixel shift is not added to the price values.