MT5 indicators← Pin Bar Marks 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

Pin Bar Marks

Selects bars whose wick is long relative to the range and whose body is small. A long upper wick gets a red down arrow, and a long lower wick gets a blue up arrow.

Bars with a long wick and a small bodyMetaTrader 5Main chartSite edition, no account authentication

Bars with a long wick and a small body

STEP 1Range, body, wicks
STEP 2Evaluate by ratios and minimum range
STEP 3Mark above or below that bar
1

BlueA bar whose lower wick exceeds the specified ratio and whose body is below the specified ratio.

2

RedA bar whose upper wick exceeds the specified ratio and whose body is below the specified ratio.

3

Strict comparisonWith the default conditions of more than 60% and less than 40%, a wick of exactly 60% or a body of exactly 40% is excluded.

The figure explains the processDisplay only, no order functionsCreated by Trilogy
1

Checking the display

Settings change example: Nose Beyond Previous Candle: false → true

Everything not listed stays at the default. On a PC the order is 'Default, Change example' from left, and on a smartphone from top. The change example is not a set of recommended values.

Default settings
Pin Bar Marks default screen
Defaults: wick over 60%, body under 40%. Some marks, such as at the top edge, are cut off.
Settings change example
Pin Bar Marks change example
The condition of exceeding the previous bar's high or low is enabled, so fewer marks remain.

The published images are display examples from before the brand display was added. The product has display settings for the brand text and QR code, but the screen with the brand display has not yet been verified. The timeframe shown in the image does not indicate how often this appears on that timeframe in practice. Marks at the edges may be cut off outside the screen.

Check all inputs of the change example

Nose Over Percent of Range (50 to 99) = 60、Body Under Percent of Range (1 to 50) = 40、Nose Beyond Previous Candle = true、Minimum Range in Points (0 off) = 0、Closed Bars Only = true。

The 4 brand display items are not included in the capture.

2

30-second guide

Blue

A bar whose lower wick exceeds the specified ratio and whose body is below the specified ratio.

Red

A bar whose upper wick exceeds the specified ratio and whose body is below the specified ratio.

Strict comparison

With the default conditions of more than 60% and less than 40%, a wick of exactly 60% or a body of exactly 40% is excluded.

3

What it measures

Selects bars whose wick is long relative to the range and whose body is small. A long upper wick gets a red down arrow, and a long lower wick gets a blue up arrow.

How wicks are measured

Upper wick = high − the higher of open and close; lower wick = the lower of open and close − low. Body = the absolute difference between open and close.

Condition of exceeding the previous bar

With Nose Beyond Previous Candle=true, the upper-wick type must strictly exceed the previous bar's high, and the lower-wick type must strictly break below the previous bar's low.

Minimum range

Bars whose high − low is less than the specified points are skipped. 0 disables only this lower limit. Bars with a range of 0 are always excluded.

Output timing

The mark is placed at the position corresponding to the high or low of the evaluated bar. It does not wait for a reversal in later bars.

4

Reading scenarios

When you want to classify the display

A bar whose lower wick exceeds the specified ratio and whose body is below the specified ratio.

When you want to switch conditions and compare

Use the same symbol, timeframe and history, and first change only one input. Use separate charts for comparison, and check the Mode and vertical axis of each screen.

The display differs from what you expected

If no mark appears, check that the boundaries are strict inequalities, and check the minimum range and the previous bar's high/low condition.

This display alone does not decide whether to trade. The colors, lines and arrows represent the calculation conditions in this manual; they are not a forecast of future price movement or an instruction to buy or sell.

5

Check procedure

1

Start from the defaults

At first, do not change the inputs; cross-check the colors and display location against the default screen above.

2

Distinguish the timing of bars

With Closed Bars Only=true, the latest forming bar is blank. If set to false, the shape, color and marks of that bar change until it closes.

3

Change only the target condition

Nose Beyond Previous Candle: false → true. The comparison images may include more than one change.

4

Check values and units

The angle of lines and visible differences change with the screen zoom. Check the settings together with the price scale and the vertical axis of the separate window.

6

Installation and package contents

ZIP contentsLocation / role
TRI_Pin_Bar_Marks.ex5MQL5/Indicators in MT5. Only 1 item: the indicator itself.

The manual opens on the product's own page on the site. The ZIP does not include the manual or source code. It is for MT5 only and cannot be used in MT4. The site edition has no account authentication or license file settings.

1

Extract the ZIP

Prepare the extracted EX5. Do not place it while it is still compressed.

2

To the MT5 data folder

Place the EX5 in MQL5/Indicators via 'File → Open Data Folder'.

3

Apply to a chart

Refresh the Navigator or restart the terminal, and apply it to the target chart. DLL permission is not required.

4

Change / remove

Change the settings or remove it from the chart's 'Indicators List'. Enabling automated trading is not required.

7

Settings

There are 9 items in total: 5 product-specific items and 4 brand display items. English names are based on the input definitions. Enter numbers in half-width characters. Keep inputs that the mode does not use within range as well.

Long wick ratio

English item name
Nose Over Percent of Range (50 to 99)
Input name
InpNosePercent
Default
60
Options / range
50〜99%
Meaning and notes
Selects wicks that strictly exceed this ratio of the range.

Body upper limit ratio

English item name
Body Under Percent of Range (1 to 50)
Input name
InpBodyPercent
Default
40
Options / range
1〜50%
Meaning and notes
The body must be strictly below this ratio.

Exceed previous bar's high/low

English item name
Nose Beyond Previous Candle
Input name
InpNoseBeyond
Default
false
Options / range
true / false
Meaning and notes
With true, the previous high or low on the relevant side must also be exceeded.

Minimum range

English item name
Minimum Range in Points (0 off)
Input name
InpMinRangePoints
Default
0
Options / range
0〜100000 point
Meaning and notes
Bars below the specified value are skipped. 0 means no lower limit.

Show closed bars only

English item name
Closed Bars Only
Input name
InpClosedBarsOnly
Default
true
Options / range
true / false
Meaning and notes
With false, the mark on the latest bar changes while the bar forms.

Brand / QR display

English item name
Show Trilogy brand and QR code
Input name
InpTriBrandShow
Default
true
Options / range
true / false
Meaning and notes
This is a display-only setting. It does not change calculation results. If another product on the same chart has the display enabled, the shared display remains.

Brand corner

English item name
Brand position (chart corner)
Input name
InpTriBrandCorner
Default
Bottom left
Options / range
Top left / Bottom left / Bottom right / Top right
Meaning and notes
The chart corner where the brand text and QR code are placed.

Horizontal margin

English item name
Brand horizontal offset (pixels)
Input name
InpTriBrandX
Default
10
Options / range
Corrected to 0–4000 px
Meaning and notes
Horizontal distance from the selected corner. Negative values are corrected to 0, and values above 4000 to 4000.

Vertical margin

English item name
Brand vertical offset (pixels)
Input name
InpTriBrandY
Default
10
Options / range
Corrected to 0–4000 px
Meaning and notes
Vertical distance from the selected corner. If the screen is narrow, adjust the position or the value.
8

Usage specifications

Forming bar

With Closed Bars Only=true, the latest forming bar is blank. If set to false, the shape, color and marks of that bar change until it closes.

History and recalculation

Settings changes, additions to or corrections of the history, and reloading redo the calculation. This is not a guarantee that "closed bars never change under any circumstances".

Brand display

A common display is shared among products of the same medium on the same chart. If several are loaded, the settings of the registration that enabled the display first are used, so changing one may not change the appearance.

For on-screen display only

This product does not place orders or trade automatically. It does not guarantee accuracy as a trading signal or profits.

9

Troubleshooting

Points that are easy to get confused about in this product

If no mark appears, check that the boundaries are strict inequalities, and check the minimum range and the previous bar's high/low condition.

No display

Check whether the required number of history bars is available, whether the forming bar is hidden, and the input ranges and mode. Also check the terminal's Experts tab for input errors.

The display does not update

Check the price feed and the connection status. Changing settings for an unused mode does not change the display.

Looks different from the image

The appearance changes with the symbol, history, timeframe, inputs and scale. Even when compared with the full-size image, the marks are not necessarily at the same positions or of the same count.

10

Specification details

Specification note 1

A point is the symbol's price increment. There is no automatic conversion to pips.

Specification note 2

Whether the bar is bearish or bullish is not a required condition. The marks are shape classifications, not a forecast of a reversal or buy or sell instructions.

Verified scope

The published images and values were checked with the product before the brand display was added. The screen display of the product with the brand display has not yet been verified. Whether the values match other indicators with the same name, the Data Window display, and behavior with long histories or with symbols that have different price digits have not been verified.

Products with a price selection

Median = (high + low)/2, Typical = (high + low + close)/3, Weighted = (high + low + close×2)/4. The unit of periods is the number of chart bars.