PROTECTED SOURCE SCRIPT
Yanirax Model (YNRX)

The Yanirax Model (YNRX) is a quantitative analysis tool designed to detect market lows and highs for a multitude of financial assets. This script calculates and accumulates (cumulative computation) a series of metrics in both absolute values and logarithmic percentages, allowing patterns to be identified that detect market highs and lows.
Calculations and models included
- Gap (G) – Difference between the previous opening and closing prices.
- Market (M) – Intraday movement from opening to closing.
- Total Market (TM) – Difference between the current closing price and the previous closing price.
- G-M (YNRX) – Ratio between Gap and Market.
- TM+M (YNRX) – Sum of Total Market and Market.
- TM+G (YNRX) – Sum of Total Market and Gap.
- MBI – Relative average based on candlestick highs and lows.
- RSG – Difference between positive and negative movements measured from highs and lows.
- YNRY 1 – Accumulation of directional range conditioned by the Total Market trend.
- YNRY 2 – Variations of YNRY 1 adjusted with Total Market, Market, or Gap.
- Version in % – All of the above metrics are also calculated on a logarithmic basis, expressed as cumulative percentages.
Display
The script allows you to choose the variables and models you want to use, with blocks such as gap, market, and total market available, or you can use these three together with models such as YNRX, YNRY, RSG, or MBI.
Intended use
This indicator does not generate buy or sell signals on its own. Its purpose is to provide a statistical and structural view of market behavior so that users can integrate it into their own technical analysis and detect turning points.
Calculations and models included
- Gap (G) – Difference between the previous opening and closing prices.
- Market (M) – Intraday movement from opening to closing.
- Total Market (TM) – Difference between the current closing price and the previous closing price.
- G-M (YNRX) – Ratio between Gap and Market.
- TM+M (YNRX) – Sum of Total Market and Market.
- TM+G (YNRX) – Sum of Total Market and Gap.
- MBI – Relative average based on candlestick highs and lows.
- RSG – Difference between positive and negative movements measured from highs and lows.
- YNRY 1 – Accumulation of directional range conditioned by the Total Market trend.
- YNRY 2 – Variations of YNRY 1 adjusted with Total Market, Market, or Gap.
- Version in % – All of the above metrics are also calculated on a logarithmic basis, expressed as cumulative percentages.
Display
The script allows you to choose the variables and models you want to use, with blocks such as gap, market, and total market available, or you can use these three together with models such as YNRX, YNRY, RSG, or MBI.
Intended use
This indicator does not generate buy or sell signals on its own. Its purpose is to provide a statistical and structural view of market behavior so that users can integrate it into their own technical analysis and detect turning points.
Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmaktadır. Ancak, özgürce ve herhangi bir sınırlama olmaksızın kullanabilirsiniz – daha fazla bilgi burada.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmaktadır. Ancak, özgürce ve herhangi bir sınırlama olmaksızın kullanabilirsiniz – daha fazla bilgi burada.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.