Look at the period
Check Day, Week or Month. This is a separate setting from the chart's own timeframe.
Converts the previous period's high, low, close and so on into P, R and S price levels with the chosen formula. Day, week or month and 6 calculation methods can be switched for display.
Choose the periodThe default is Day. Trading days are built from the chart's bars and combined into weeks or months as needed.
Choose the formulaThe default is Traditional, and the changed example is Camarilla. Even with the same range, the line prices change.
Check by line nameP, R1–R4 and S1–S4 are the identifying names of the lines. They are not instructions for trading or for price reactions.
Compares the default settings and a settings change example on a screen with only this product applied.
Example shown: 1-hour timeframe (H1). This is an example to explain the display. The changed settings are not recommended values. Details can be checked in the full-size view. Also check the price scale of the main chart and the positions of the candlesticks.
Check Day, Week or Month. This is a separate setting from the chart's own timeframe.
Even for the same period, a different method gives different values. Align Method first.
P is purplish, R is greenish and S is reddish. Also use the numbers and line styles to tell them apart.
Converts the previous period's price information into several levels. The levels are fixed within the target period.
Basically, these are the high H, low L and close C of the most recent completed period. Only Woodie also uses the first open O of the current period.
Trading days are split at the start time. Week groups each trading day by its date into weeks starting on Monday, and Month groups them into calendar months. It does not read the broker's weekly or monthly bars as they are.
P, R1, R2, R3 and S1, S2, S3. Additional settings can draw R4, S4 and midlines. Traditional has no definition for R4 and S4.
Traditional and Classic differ from R3 and S3 onward. Camarilla has P=C. In Retracement, P is the middle of the previous period's high and low.
Place it with the default and check the P, R and S lines.
Check the server time, the start time and weekend bars.
As in the example shown, change only Method and compare the positions of P and the surrounding lines.
Switch the midlines and R4/S4 according to the purpose of the display. Also take into account that distant lines can be off-screen.
| Included file | Purpose / location |
|---|---|
| TRI_Pivot_Levels.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. Place only 1 instance of the same product on 1 chart.
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.
There are 6 inputs. Change them on the Inputs tab of the properties. The English display name and the input name in the code are shown together.
InpPeriodInpMethodInpSessionStartHourInpSessionStartMinuteInpShowLevel4InpShowMidpointsUse it on daily and lower timeframes. On daily charts, only start 00:00 can be used. It does not start on weekly or monthly charts. When using Week or Month, the chart must also be daily or lower.
It is not a product that loads and copies the broker's D1. It groups days from the bars of the currently open chart and the server time. If the start is before noon, the day is named after the start date; if at or after noon, it is named after the following day. The start time does not shift automatically for daylight saving time.
Bars that would be named Saturday or Sunday are included in the preceding trading day (usually Friday). With start 00:00, Saturday and Sunday bars are included there. With start 07:30, Monday 00:00–07:29 is also usually included in the preceding Friday trading day, and from Monday 07:30 onward it is Monday.
With start 22:00, the day is named after the following day, so bars from Sunday 22:00 onward are Monday. Bars from Friday 22:00 onward and Saturday bars are included in the preceding Friday. If there are no Sunday bars, the span from the first Monday bar until Monday 22:00 becomes a short Monday trading day.
Days without bars are not filled in. For example, with start 22:00, even if Monday is a market holiday, bars from Sunday 22:00 onward alone create a short Monday. That short day is also used in the next day's calculation. On charts with missing bars or different holidays, the number of days and the values change.
On a chart where 4-hour bars start at 00, 04, 08, 12, 16 and 20 o'clock, if you specify start 22:00, the first bar representing the boundary is the next 00:00 bar. No new 22:00 bar is created. The rules for the start time and trading day names remain unchanged.
At a boundary where the level switches, a diagonal segment connects the previous bar and the next bar. This does not mean there is another calculated level partway along it.
Past lines are also recalculated when history is added or corrected or settings change. It is not guaranteed that past displays remain unchanged under all conditions.
This product does not widen the chart's vertical scale to fit distant lines. If a line is not visible, check not only display ON/OFF but also the price scale and display range.
Normally the levels do not move within the same calculation period. When a new period begins, they are updated using the previous period's data. Woodie uses the first open of the current period, not the current price.
This manual describes adding 1 instance of this product to 1 chart. To compare different settings, use separate charts.
This product shows calculation results through plot buffers and does not place orders. It does not guarantee profit or future price movement.
The first period, which contains the first trading day, is not used as calculation source. After the next period has completed, drawing starts from the 3rd period when counted. Week and Month need more history.
Do not decide the price order from the line names alone. Especially in Woodie, if the current period's open is outside the previous period's range, the order can differ from what is usually expected.
Check the input ranges and the timeframe. If startup is refused, the reason appears as 1 line in English on the MT5 Experts tab. No panel with the reason appears on the chart. The allowed-range check is also performed for numeric inputs of the mode that is not in use.
Check with the timeframe, the start position of the history, the start time, weekend bars and holidays aligned. Having the same date alone does not necessarily mean that the bars included in the calculation are the same.
This display overlays price levels. Overlaps or crossings are not instructions for a reversal, a continuation or an order.
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.
H, L and C are the previous period's high, low and close, O is the first open of the current period, and the width V=H−L. P, R and S are treated as the names of this product's lines.
P=(H+L+C)/3. R1=2P−L, S1=2P−H, R2=P+V, S2=P−V, R3=H+2(P−L), S3=L−2(H−P). R4 and S4 are not drawn.
P, R1, S1, R2 and S2 are the same as Traditional. R3=R2+V, S3=S2−V, R4=R3+V, S4=S3−V.
P=(H+L+2O)/4. Using this P, R1–R3 and S1–S3 are calculated with formulas of the same form as Traditional, and R4=R3+V, S4=S3−V.
P=C. R1–R4 add V×1.1÷12, V×1.1÷6, V×1.1÷4 and V×1.1÷2 to C in order. S1–S4 subtract the same amounts from C.
P=(H+L+C)/3. R1–R4 add V×0.382, V×0.618, V and V×1.618 to P, and S1–S4 subtract the same amounts from P.
P=L+0.5V. R1=L+0.618V, R2=L+0.786V, R3=H, R4=L+1.382V. S1=L+0.382V, S2=L+0.236V, S3=L, S4=L−0.382V.
The midlines are the middles of S3–S2, S2–S1, S1–P, P–R1, R1–R2 and R2–R3. P is DarkViolet, R is ForestGreen, S is Crimson, and the midlines are gray dotted lines. For R and S, 1 is a solid line, 2 dashed, 3 dotted and 4 dash-dot-dot.