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
Alligator Alignment Arrows
Draws the 3 Alligator lines (jaw, teeth and lips), and puts an arrow on a bar where the order of the lines visible on that bar and the Force Index condition are newly met together.
Schematic diagram of how to read it. This is not an actual terminal screen.
1
Tell the lines apartBlue is the jaw, red the teeth, green the lips. The lines are compared at the positions drawn on that bar.
2
Force is also requiredThe order of the lines alone does not decide an arrow. Force must cross the positive or negative threshold.
3
Bar where the condition is newly metNo arrow while the condition continues from the previous bar; an arrow is placed when it breaks and is met again.
Closed bars only by defaultLines are shifted rightNo alerts
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
Jaw period InpJawPeriod13 → 8
Jaw right shift InpJawShift8 → 0
Teeth period InpTeethPeriod8 → 5
Teeth right shift InpTeethShift5 → 0
Lips period InpLipsPeriod5 → 3
Lips right shift InpLipsShift3 → 0
MA method of the 3 lines InpMethodSmoothed (SMMA) → Exponential (EMA)
Applied price of the 3 lines InpPriceMedian (high + low) ÷ 2 → Weighted close (high + low + close × 2) ÷ 4
Force period InpForcePeriod13 → 3
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.
Defaults 13/8, 8/5, 5/3, SMMA, median price. The 3 lines extend to the right of the latest bar. Up arrows are green and down arrows are orange.View the screen in detail at full size
Changed to periods 8, 5 and 3, all shifts 0, EMA, weighted close, and Force period 3. The lines end at the position of the latest bar.View the screen in detail at full size
Example shown: 1-minute chart (M1). This is an example for explaining the display. 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 upward
A bar where lips > teeth > jaw and Force > threshold are newly met.
Orange downward
A bar where lips < teeth < jaw and Force < −threshold are newly met.
Lines extending to the right
Average values calculated on past and current bars, displayed with a shift. They are not future prices.
3
What it measures
Records, bar by bar, when the calculation conditions, including the order of the 3 lines and volume, are met.
Compare at the drawn positions
Calculated values from as many bars back as Jaw Shift and the like are shifted and drawn at that bar's position. The check also compares the values drawn on that bar with each other.
Force formula
Tick volume × (current value of the close MA − its value on the previous bar). It is not a formula that averages "close difference × volume". The Force method is chosen separately from the price and method of the 3 lines.
Meaning of a threshold of 0
If volume is positive, the sign of Force is decided by the rise or fall of the close MA. If volume is 0, Force is also 0, so neither the upper nor the lower threshold condition is met.
Raising the threshold
The condition on each bar becomes stricter, but stretches where it breaks and is met again can increase, so the total number of arrows does not necessarily decrease.
4
Situations for reading the display
The lines are in order but there is no mark
Indicator
Order of lips, teeth and jaw
Cross-check
Force threshold and the previous bar's condition
Check
Check whether it is newly met
Caution
No arrow is placed on a bar where the same condition is continuing.
The arrow on the forming bar changes
Indicator
Closed Bars Only=false
Cross-check
Current Force, lines with a shift of 0
Check
Read it as a value before the bar closes
Caution
Even when all shifts are positive, the arrow can disappear if Force moves.
5
Steps for checking the display
1
Check the lines and shifts
The defaults are jaw 13/8, teeth 8/5 and lips 5/3. Read them in the order period / shift.
2
Check the Force condition
Check the threshold and the Force period and method. The Force line itself is not drawn on the chart.
3
Compare with closed bars
By default, the forming bar is excluded from arrows. Distinguish the movement of the lines from the marks.
6
Installation and checking the package contents
Included file
Purpose / location
TRI_Alligator_Alignment_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.
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. Place only 1 instance of the same product on 1 chart.
4
Check the settings and display
First check with the default values. Changes and removal are done from the chart's 'Indicators List'.
This product does not require DLL permission or enabling automated trading. When removed, this product's drawings are cleared.
7
Settings
There are 13 inputs. Change them on the Inputs tab of the properties window. The English display name and the input name in the code are shown together.
Jaw period
Name shown on screen
Jaw Period
Input name
InpJawPeriod
Default
13
Allowed range
1〜500
Description
Averaging period of the blue Jaw line.
Jaw right shift
Name shown on screen
Jaw Shift
Input name
InpJawShift
Default
8
Allowed range
0–100 bars
Description
Changes the drawing position and the past values used for the order check.
Teeth period
Name shown on screen
Teeth Period
Input name
InpTeethPeriod
Default
8
Allowed range
1〜500
Description
Averaging period of the red Teeth line.
Teeth right shift
Name shown on screen
Teeth Shift
Input name
InpTeethShift
Default
5
Allowed range
0–100 bars
Description
Number of bars by which the teeth values are placed to the right.
Lips period
Name shown on screen
Lips Period
Input name
InpLipsPeriod
Default
5
Allowed range
1〜500
Description
Averaging period of the green Lips line.
Lips right shift
Name shown on screen
Lips Shift
Input name
InpLipsShift
Default
3
Allowed range
0–100 bars
Description
Number of bars by which the lips values are placed to the right.
MA method of the 3 lines
Name shown on screen
MA Method
Input name
InpMethod
Default
Smoothed (SMMA)
Allowed range
SMA / EMA / SMMA / LWMA
Description
Averaging method shared by jaw, teeth and lips. It is separate from the Force method.
Applied price of the 3 lines
Name shown on screen
Applied Price
Input name
InpPrice
Default
Median (high + low) ÷ 2
Allowed range
Close, open, high, low, median, typical, weighted close
Description
The default is the median (H+L)/2. Force always uses the close.
Force period
Name shown on screen
Force Period
Input name
InpForcePeriod
Default
13
Allowed range
1〜500
Description
Period of the close MA inside the Force calculation.
Force MA method
Name shown on screen
Force MA Method
Input name
InpForceMethod
Default
Exponential (EMA)
Allowed range
SMA / EMA / SMMA / LWMA
Description
Method of the close average used for Force.
Force threshold
Name shown on screen
Force Threshold
Input name
InpForceThreshold
Default
0
Allowed range
A finite number of 0 or more
Description
Up is when Force strictly exceeds the positive threshold, down is when it strictly crosses the negative threshold. The scale changes with the symbol and timeframe.
Arrows on closed bars only
Name shown on screen
Closed Bars Only
Input name
InpClosedBarsOnly
Default
true
Allowed range
true / false
Description
If true, the latest forming bar is excluded. If false, arrows appear and disappear before the bar closes.
Arrow gap
Name shown on screen
Arrow Gap (pixels)
Input name
InpArrowGap
Default
8
Allowed range
0–100 pixels
Description
Display spacing that places up arrows below the low and down arrows above the high.
8
Usage specifications
Equal line values
If the compared values among the 3 lines are equal, a strict order is not established. If Force is equal to the threshold, the arrow condition is also not met.
Forming bar
The current Force changes. A line with shift 0 also changes its value for that bar. Permanent invariance of the arrows is not guaranteed.
Lines and the standard indicator
The 3 lines use the same MA formulas as the standard Alligator. With the default and published changed-example settings, the values are the same as the standard. The arrows and condition records are additional displays of this product.
Only 1 instance of the same product on 1 chart
This manual describes adding 1 instance of this product to 1 chart. To compare different settings, use separate charts.
For on-screen display only
This product shows calculation results through plot buffers and does not place trade orders. It does not guarantee profit or future price movement.
9
Troubleshooting and usage notes
No arrows appear
Check not only the order but also Force, the previous bar, the closed-bar-only setting and the number of history bars.
The window name alone does not show the settings
The window name shows the periods / shifts of the 3 lines. Check the method, applied price and Force on the inputs screen.
It does not start
Check the periods, shifts, threshold and spacing. The reason for an invalid input is shown in English on the Experts tab.
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
First calculation and arrows
Taking the oldest bar as index 0, each line starts at 0 for EMA and at period−1 otherwise. Force starts at 1 for EMA and at the Force period otherwise. Let b be the maximum of each line's start + shift and the Force start; at b only the check is made, and arrows for newly met conditions are placed from b+1.
Force and volume
Only tick volume is used; real volume cannot be selected. Force 13 with EMA and Force 3 with EMA give the same values as the standard Force with the same settings. Methods other than EMA are not uniformly treated as giving the same values.
Arrow display position
The buffer value is the low for up arrows and the high for down arrows, and the arrow is drawn outward by the specified pixels. The value in the Data Window is not the pixel spacing added to the price.