Separate the conditions from the direction
Up marks are conditions that include falling RSI; down marks are conditions that include rising RSI.
Combines the position of the previous bar's close relative to a moving average, consecutive RSI changes, and an optional Hull slope, and puts a mark on the bar after the conditions are met. The arrow direction is not the same as the direction of the RSI change.
Gray and orangeTrend MA and Hull MA. Hull can be turned off with 0.
Green up arrowConditions such as a close above the average and RSI falling in a row.
Red down arrowConditions such as a close below the average and RSI rising in a row.
Compares the default settings and a settings change example on a screen with only this product applied.
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.
Up marks are conditions that include falling RSI; down marks are conditions that include rising RSI.
Read the close, average and RSI before the marked bar, not on the marked bar.
The vertical position of a mark follows the high or low of that bar.
The conditions are built from the position relative to the average line and the sequence of RSI over the past 3 bars, not from the level of a single value.
The close 1 bar back is above Trend MA. RSI 3 bars back must be below Fall Start Below, and RSI must then fall for 2 bars in a row.
The close 1 bar back is below Trend MA. RSI 3 bars back must be above Rise Start Above, and RSI must then rise for 2 bars in a row.
If enabled, the Hull change 1 bar back must also be at least the specified points for green, and at most its negative value for red.
Trend, Hull and RSI use Applied Price, but the value compared with Trend is always the close 1 bar back.
Check the gray Trend and the orange Hull.
Check the position of the close relative to the average and the RSI from 3 bars back. RSI can be read in the Data Window.
When enabled, the slope is used; when disabled, only the other conditions decide.
| Included file | Purpose / location |
|---|---|
| TRI_RSI_Streak_Marks.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 9 inputs. Change them on the Inputs tab of the properties. The English display name and the input name in the code are shown together.
InpTrendPeriodInpTrendMethodInpHullPeriodInpHullSlopeInpRSIPeriodInpPriceInpUpStartBelowInpDownStartAboveInpArrowGapIn the calculation, whether a mark appears is determined by data before that bar. With the same past data, price movement on the current bar is not used for the judgment, but the vertical position of the mark follows the current high and low.
Calculation results may change when history is added or corrected or settings change. Permanent non-repainting is not guaranteed.
By default, Trend starts from the 200th bar, Hull from the 213th bar and marks from the 215th bar onward. With only 200 bars of history, Hull and the marks do not appear.
If the conditions continue, marks may be placed on adjacent bars. They are not limited to the first 1 occurrence. There is no notification function.
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 trade orders. It does not guarantee profit or future price movement.
All conditions are required. Check the number of history bars, the Hull condition and the RSI sequence.
RSI is not drawn as a line; its values are shown in the RSI field of the Data Window.
An input outside the allowed range is refused at startup. Check the English reason shown on the Experts tab of the Toolbox, not an explanation on the chart, and confirm by returning to the default values.
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.
With the marked bar as i, the close and Trend are at i−1. The starting RSI value is at i−3, and the consecutive changes are i−3→i−2→i−1. The Hull difference is between i−1 and i−2. Bar i's low and high are used only for the mark position.
h=floor(Hull Period/2), r=floor(√Hull Period). Hull=LWMA_r(2×LWMA_h(price)−LWMA_HullPeriod(price)).
RSI and Trend are calculated with the same formulas as the MT5 standard. Values have been cross-checked under specified conditions, such as RSI on the close at 2, the typical price at 3 and the open at 2. This does not mean the whole, including Hull and the marks, is identical to standard indicators.