QuantRsi - Quantized Relative Strength Index - SNOW_CITY

SNOW_CITY Premium Zaktualizowano   
QuantRsi is a Relative Strength Indicator designed to improve on RSI's divergence confirmation. QuantRsi also functions as an entirely new type of range-bound oscillator, enabling "Hybrid TA" - the study and use of drawing tools on candles painted by the indicator.

QuantRsi paints full OHLC candles by default - displaying the full range of each candle's movement.

This tool sets out to accomplish:

  • Confirmation of divergence with a 3-anchor trading system

  • Show key price levels as whole numbers "quantized" from a scale of -10 to + 10; as well as commonly revisited levels within a trend

  • Anticipate divergence & turning points by charting on the indicator candles - trendlines can be drawn on indicator print - "Hybrid TA"

The result is an indicator able to process nonlinear price movements and draw range-bound candles with peaks and troughs that form repeating collisions with common tangents. QRsi illustrates trends and trend violations in a market with the advantage of behaving like a leading indicator. QRsi possesses a supreme ability to show divergence and confirm reversals/ turning points.

The dynamics of the vertical scale allows the formation of linear trends on the oscillator which classical charting can be applied. The support and resistance values for an asset will follow consistent incidents upon a tangent while the market is trending.

When a trend is violated, the break-up or break-down of price will revisit prior incidents both on frequented horizontal levels ("-1.4" or "+5.0") as well as tangent lines drawn from prior reversal points. Prior, violated trend-lines can be used as anchor points for a new linear trend - establishing a hypothetical market range before price moves into these hidden divergence zones.

  • Much like RSI , the extremes of a QRsi range (whether that be +/- 7,10 or the trend-established reversal value) are not always indicated turning points. Divergence does not occur at every turning point, but it does occur at most significant turning points.
  • Unlike RSI , QRsi adds the ability to visualize turning points outside divergence by drawing a trendline from prior turning points to the next anticipated turning point.
  • QRsi enables an asset to express it's price range within a flexible scale for that trend. The scaling has a higher dynamic range than classic RSI , at the expense of not filling the entire range of the oscillator at all times. An asset's highest and lowest trending values should be established by observation of prior visited values, not by the borders of the oscillator's range.

In the main chart example, trend-lines are drawn on the QuantRsi indicator for ETH/USD - Bitfinex 4H
Here is the same chart with notation:

  • The dashed trend-lines represent trends that have not been established yet. They turn solid when they have a second anchor(in primary chart).
  • Trendline violations create anchor points for new trendlines
  • Turning points with and without divergence depend entirely on asset's prior QRsi values, relative on relative.

In the above chart, Qrsi Value "2" is a common reversal value. In the chart period that is shown, selloff ensues shortly after QRsi reaches 2.

QRsi Values range from -10 to + 10. The boundaries represent the extremes of anticipated market range for that timeframe. Unlike traditional RSI , it is rare that an asset will range from the lowest to the highest boundaries. Instead, common values for that asset are observed by studying historical price data. A lower and upper range is established based on historical trends. When these values are hit, it represents an anchor for divergence. You will find that reversals can occur on the +/- 3, 5, 7 and 10 values frequently, although, this is indication without confirmation.

Depending on the timeframe and asset, the common turning point for an asset may be -2 & +5, with outliers to -5 & +7; or it may be -1.4 & +6.5 for an uptrending asset. The horizontal +/- QRsi values which turning points are likely to occur need to be established by studying the asset and verified by divergence or trend incident.

Confirmation is gained by observing the 3-anchor trading system:
  • 1: Divergence - Locally
  • 2: Trend incident or violation - charted patterns, linear ascending or descending trendlines .
  • 3: Horizontal value incident

In the chart below, common horizontal turning points, divergence, and trendline violation are used as indicators for trading.
Observe how the same horizontal levels are visited as support and resistance depending on the direction of the trend prior to visiting that level.
Note how there are 2 coincidences of Trend / Horizontal / Divergence for most of the indicated trades:

This is the same chart, but with trades shown on the price chart as well as the QRsi chart:

And a simplified view of the same chart with Heffae Clouds enabled:

Notice how once a horizontal level is violated, it is often revisited which confirms it's role-change from S to R or R to S.

Weekly chart showing horizontal support level on lows, and divs for 4 prior All-Time-High's

Example of drawing a trend-line on QRsi and setting up a trade based off of a trend incident:
In the above example, the first two incidents are used as anchor points to reference where the third incident might occur.
In this case, you would have all 3 anchors, and a very successful trade with conformation of a proper entry prior to taking the trade.

Example of using a trend-line to set up trade continuation after divergence prints:

Example of how horizontal levels or ranges can be revisited after much time has passed. This also displays how divergences are used with horizontal levels to establish confidence in a trade:

Example of how QRsi values establish future support / resistance value ranges. Candle-wick sets future lower range:

Example of horizontal levels and divergence:

And, a drawing-free chart of QRsi with Heffae Clouds on BTCUSD Dec 2017 - Nov 2018 - Imagine your own TA on the QRsi.


TimeFrame settings:
  • "ChartTF" follows your chart's selected resolution / TimeFrame
  • "Non-Chart TimeFrame" is an integer for your custom TimeFrame, the setting below:
  • "Non-Chart TimeFrame" selects "Minutes, Hours, Days" that corresponds to the above setting for a custom TimeFrame.

Visual Settings:
  • "Show QuantRSI As Candles" - Toggle this to change from candlesticks to a simplified line. The line's value is determined by "Input for Stochastic" below
  • "Show Stoch QRSI" - Toggle this to switch to a Stochastic Rsi based off of the QRsi.
  • "Show Price Per 1.0" - Toggle this to see the range value, in chart denomination (USD,GBP, BTC ,JPY) for each 1.0 step in the QRsi range for that timeframe. See this example:
The Quantization range values can be displayed by checking the box in settings "Show value per 1.0"
This will paint a colorless line and display the price value in the indicator's data window. You can calculate the rough price difference to any local value in QRsi by multiplying "value per 1.0" by the expected change in QRsi value.

Configuration Settings:
  • "Trend Bias" - Experimental setting for different asset classes and market conditions. Changes QRsi bias. Experiment with this on shorter timeframes. Leave on "low" unless you have established that different settings work better for a particular asset.
  • "Quant Preset" - This is similar to "Path Fitting Preset" on Heffae Clouds. Adjust this to print higher validity patterns on different assets.
    The conformation that this setting is adjusted properly for your asset will be evident by backtesting the QRsi. BTC = 0 ETH / FOREX = 1 & 2
    Experiment with this, as it adjusts the path-finding algo in order to paint valid patterns. The maths are too complex to integrate a single numerical adjustment, hence the preset.
  • "Upper/Lower Bounds" - This adjusts scaling and thresholds. Experimental only at this time. Use in conjunction with "Range Multiplier"
  • "Boundaries" - This adjusts the beginning of the shaded area on the top and bottom of the oscillator. Adjust this to a particular value instead of drawing a trendline on the value of interest. I added this because the shaded areas are easier to see on mobile than a trendline .
  • "Stochastic Short" - Adjust the length of Stochastic RSI SMA's
  • "Stochastic Long" - Adjust the length of Stochastic RSI SMA's
  • "Input for Stochastic" - Select the price source for Stoic & QRsi simplified line.
  • "Range Multiplier" - This amplifies the QRsi input to occupy a larger or smaller range within the oscillator boundaries. Experimental only at this time. Use in conjunction with "Upper/Lower Bounds". Very fun to play with.

That's all for now! I will do my best to keep this updated with new features / capabilities, as well as continuing to provide use examples and education for my indicators.

If there is a feature you would like, question answered, or a bug, please post in the SNOW_CITY Indicators Chat:

Educational content will be posted here:

Please see this pastebin link for access information and links:

Informacje o Wersji: This update fixes existing features and adds code in preparation for additional tools.

  • "Show value per 1.0" now shows the percentage per 1.0 rather than the asset / ticker price value per 1.0

  • New settings in the configuration menu for volume tools that will be built-in to future QuantRsi versions.
Informacje o Wersji: This update adds the ability to calculate the % change in price to two Qrsi targets
  • "Q Target High (green)" and "Q Target Low (red)" allow you to input a Qrsi value, such as 5.34 or any other number
    - The percentage change in price to reach your target is calculated and displayed on the chart next to the indicator data, and in the data window on the right.

  • Removed some unused inputs related to volume, these features will go on a seperate indicator.

  • Volatility per Qrsi 1.0 (in %) now shows by default

Informacje o Wersji:
  • Added option to show "Q Target" as % or $ denomination. Use this as PnL calculator or target for limit order placements on QRsi support.
    - Set "Auto-Scale" to OFF. Check the option that shows delta% to Q Target. Choose % or $ as the denominator.
    - Set the Q Target values to a QuantRsi support level on your chart.
    - Now, the Q Target High and Q Target low will show red and green in the data window to the corresponding % change OR the price value for the QRsi value you have in settings.
    - This value is estimated, and is updated real-time while the bar is still open. This is because it uses realtime price volatility to determine the dynamic range.
  • The ability to set alerts on QRsi crossing a trendline is now easier.

  • To set an alert when QRsi crosses your trendline:
    - right click on your trendline, select "add alert on trendline"
    - Condition: QuantRsi v1 > Alert Trigger > Crossing (or others)
    - This will give you a repainting warning, but this is not relevant for alerts.
    - The "Open" value of a QuantRsi candle will change based on the real-time dynamic range until this candle closes. THis does technically make the indicator "repainting", but the "Open" value is not used for alerts, however having it scale with volatility adds structure to charting future trends.
Informacje o Wersji:
  • update formatting

SNOW_CITY public chat room - Indicator Q&A

Indicator access information
Skrypt tylko na zaproszenie

Dostęp do tego skryptu mają tylko użytkownicy upoważnieni przez autora i zazwyczaj wiąże się z opłatą. Możesz dodać go do ulubionych, ale będziesz mógł z niego korzystać dopiero po uzyskaniu zgody jego autora. Aby uzyskać więcej informacji, skontaktuj się z SNOW_CITY, lub postępuj zgodnie z poniższymi instrukcjami autora.

TradingView sugeruje, abyś nie płacił za skrypt i nie używał go, jeśli nie ufasz autorowi w 100 % i nie rozumiesz, jak działa skrypt. W wielu przypadkach można znaleźć dobrą alternatywę open-source za darmo wśród naszych Skryptów Społeczności.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz użyć tego skryptu na wykresie?

Uwaga: przeczytaj to, zanim poprosisz o dostęp.