Vision Essentials - STOCHVision Essentials - STOCH is the third indicator in our Essentials Pack. It's a fully customizable STOCHASTIC based indicator with various tweaks & perks the Vision team feels provides helpful visual feedback to the trader.
What makes this indicator different?
The most obvious is the visual lack of a %K and %D line. We provide a single line that is the average of those 2 calculations at the given time. We feel this helps traders from hyper focusing on crossovers, and gives attention to the historical metrics of highs/lows, and the key levels of the stochastic.
We provide a histogram style output at the stoch base of 40 for capturing the various swings occurring while above or below the base line.
We output the key levels via the user defined values to draw horizontal boxes automatically for users. This prevents you from having to steadily update your manual chart drawing if you're tracking key levels.
We output recent highs & lows of the averaged stochastic values. These values are length controlled via the indicator settings.
How do I use this indicator?
To best use this indicator it's highly recommended that you have an understanding of the stochastic oscillator. There are lots of great educational ideas here on TradingView which we recommend absorbing. We highly recommend you start with this article directly from the TradingView Help Center
Settings
Stoch Source - The source series the stoch is based on
Stoch Peak - Define the upper key level of the stoch
Stoch Bottom - Define the lower key level of the stoch
Stoch Line Width - Control the thickness of the Stoch Avg Line
High/Low Distance - Define the distance for the indicator to identify recent highs and lows
Stoch K Length - The length used for %K
Stoch K Smoothing - The length used for %K smoothing
Stoch D Smoothing - The length of %D which is an average of %K
Stoch Avg Color - The color & opacity of the Stoch Avg Line
Recent Low Color & Recent High Color - The colors of the recent highs and lows
Stoch Bottom & Stock Peak Colors - The colors of the horizontal boxes drawn at key levels
Visual Settings+ - The histogram colors of above 40.0 bullish/bearish movement
Visual Settings- - The histogram colors of below 4.0. bullish/bearish movement
Pesquisar nos scripts por "high low"
My:HTF O/H/L/C█ MY Higher Time Frame Open / High / Low / Close
This indicator shows one line per Higher Time Frame Price of Interest.
We are interested to know whether we are currently seeing support or resistance at previous daily / weekly / monthly price of interest.
Each price of interest can be displayed or hidden in the configuration. Each line has a label attached to it with the (short) label on it to help identifying what is this line.
Price of interest with (short) label :
Current Daily Open (CDO)
Current Daily High (CDH)
Current Daily Low (CDL)
Previous Daily Open (PDO)
Previous Daily High (PDH)
Previous Daily Low (PDL)
Previous Daily Close (PDC)
Current Weekly Open (CWO)
Current Weekly High (CWH)
Current Weekly Low (CWL)
Previous Weekly Open (PWO)
Previous Weekly High (PWH)
Previous Weekly Low (PWL)
Previous Weekly Close (PWC)
Current Monthly Open (CMO)
Current Monthly High (CMH)
Current Monthly Low (CML)
Previous Monthly Open (PMO)
Previous Monthly High (PMH)
Previous Monthly Low (PML)
Previous Monthly Close (PMC)
TradeChartist ZigZag & Auto Fibonacci Retracement™TradeChartist ZigZag & Auto Fibonacci Retracement is a visually engaging script that generates ZigZag and Auto-Fibonacci lines/labels based on user defined sensitivity factor.
===================================================================================================================
█ ™TradeChartist ZigZag & Auto Fibonacci Retracement Features
=========================================
Plots completed and developing ZigZag based on 𝐙𝐢𝐠𝐙𝐚𝐠/𝐀𝐮𝐭𝐨-𝐅𝐢𝐛𝐬 𝐅𝐚𝐜𝐭𝐨𝐫 (Minimum - 1, Maximum - 10, Default - 5) that adjusts the sensitivity of the ZigZag with 1 being High Sensitivity and 10 being Low Sensitivity.
Option to enable or disable 𝐙𝐢𝐠𝐙𝐚𝐠 𝐂𝐨𝐧𝐧𝐞𝐜𝐭𝐨𝐫 which can be helpful for Harmonic traders.
Option to display 𝐙𝐢𝐠𝐙𝐚𝐠 𝐇𝐢𝐠𝐡𝐬/𝐋𝐨𝐰𝐬 and 𝐑𝐒𝐈 𝐚𝐭 𝐇𝐢𝐠𝐡𝐬/𝐋𝐨𝐰𝐬 in one of two styles.
Two types of Fibonacci to choose from - 𝐀𝐮𝐭𝐨-𝐅𝐢𝐛𝐬 and 𝐅𝐢𝐛𝐬 𝐛𝐚𝐬𝐞𝐝 𝐨𝐧 𝐋𝐨𝐨𝐤𝐛𝐚𝐜𝐤.
𝐀𝐮𝐭𝐨-𝐅𝐢𝐛𝐬 option plots Auto Fibonacci levels based on 𝐙𝐢𝐠𝐙𝐚𝐠/𝐀𝐮𝐭𝐨-𝐅𝐢𝐛𝐬 𝐅𝐚𝐜𝐭𝐨𝐫.
𝐅𝐢𝐛𝐬 𝐛𝐚𝐬𝐞𝐝 𝐨𝐧 𝐋𝐨𝐨𝐤𝐛𝐚𝐜𝐤 plots Fibonacci levels based on the highest high and lowest low of the lookback period (𝐃𝐚𝐲𝐬 or 𝐂𝐚𝐧𝐝𝐥𝐞𝐬).
Fibonacci levels can be reversed by enabling 𝐑𝐞𝐯𝐞𝐫𝐬𝐞 from settings.
Enabling 𝐂𝐮𝐫𝐫𝐞𝐧𝐭 𝐏𝐫𝐢𝐜𝐞 𝐅𝐢𝐛 𝐋𝐚𝐛𝐞𝐥 displays the current Fib level of the developing price bar.
Option to customize Fib levels and colours.
4 Colour themes and option to enable/disable bar colouring.
===================================================================================================================
█ Example charts
1. ZigZag/AutoFibs Factor can make a big difference to ZigZag and AutoFibs plot as shown in the OANDA:XAUUSD Daily chart below.
2. RSI can be quite useful in analysing the Highs and Lows as shown in the BINANCE:BTCUSDT 1hr chart below.
3. Developing or Current Trend means the Low/High is unconfirmed and can move as shown in the OANDA:EURUSD 1hr chart below with bar colouring.
4. Current Price Fib Level label showing PTC means Potential Trend Change. Confirmation at candle close will reverse the Auto-Fibs as shown in BINANCE:ETHUSDT 15m chart below
5. Fibonaci Levels and colours can be customised using 𝐔𝐬𝐞 𝐂𝐮𝐬𝐭𝐨𝐦 𝐅𝐢𝐛 𝐋𝐞𝐯𝐞𝐥𝐬 from the settings as shown in the AMEX:SPY 15m chart below
█ Note:
Rarely, a steep high/low wick doesn't get accounted in the ZigZag High/Low detection as they are filtered using momentum.
If momentum doesn't slow down, the fibs can extend beyond 1 and may continue way beyond 4.618 fib level. These are quite rare depending on how distant the near high/low is based.
ZigZag and Fibonacci are good reference indicators and should always be used as confirmations rather than standalone indicators.
===================================================================================================================
Best Practice: Test with different settings first using Paper Trades before trading with real money
===================================================================================================================
Dynamic Range Filter with Trend Candlesticks (Zeiierman)█ Overview
Dynamic Range Filter with Trend Candlesticks (Zeiierman) is a volatility-responsive trend engine that adapts in real-time to market structure, offering a clean and intelligent visualization of directional bias. It blends dynamic range calculation with customizable smoothing techniques and layered trend confirmation logic, making it ideal for traders who rely on clear trend direction, structural range analysis, and momentum-based candlestick signals.
By measuring scaled volatility over configurable lengths and applying advanced moving average techniques, this indicator filters out market noise while preserving true directional intent. Complementing this, a dual-trend system (range-based and candle-based) enhances clarity and responsiveness, particularly during shifting market conditions.
█ How It Works
⚪ Scaled Volatility Band Calculation
At the core lies a volatility engine that constructs adaptive range bands around price using smoothed high/low calculations. The bands are dynamically adjusted using:
High/Low Smoothing – Applies a moving average to the raw high and low data before calculating the range.
Scaled Range Volatility – A 2.618 multiplier scales the distance between smoothed highs and lows, forming a responsive volatility envelope.
Band Multiplier – Controls how wide the upper/lower range bands extend from the mean.
This filtering process minimizes false signals and highlights only structurally meaningful moves.
⚪ Multi-Type Smoothing Engine
Users can choose from a wide array of smoothing algorithms for trend construction, including:
HMA (default), SMA, EMA, RMA
KAMA – Adapts to market volatility using efficiency ratios.
VIDYA – Momentum-sensitive smoothing using CMO logic.
FRAMA – Dynamically adjusts to fractal dimension in price.
Super Smoother – Ideal for eliminating aliasing in range signals.
This provides the trader with fine-tuned control over reactivity vs. smoothness.
⚪ Trend Detection (Dual Engine)
The indicator includes two independent trend tracking systems:
Main Trend Filter – Based on adaptive volatility band shifts.
Candle Trend Filter – A second-tier confirmation using smoothed candle data, ideal for directional candles and confirmation entries.
█ How to Use
⚪ Trend Confirmation
Use the Trend Line and colored candlesticks for high-probability entries in the trend direction. The more trend layers that align, the higher the confidence.
⚪ Reversal Zones
When the price reaches the outer bands or fails to break them, look for candle color shifts or a crossover in the range to anticipate possible reversals or consolidations.
█ Settings
Scaled Volatility Length – Controls the lookback used to stabilize the base volatility band.
MA Type & Length – Choose and fine-tune the smoothing method (HMA, EMA, KAMA, etc.)
High/Low Smoother – Pre-smoothing for structural high/low banding.
Band Multiplier – Adjusts the width of the dynamic bands.
Trend Length (Candles) – Length used for candle-based trend confirmation.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
[ADOL_]ADR_BOX
ENG) The corresponding indicator is ADR BOX. ADR stands for Average Daily Range, which is the average of a daily range.
principle)
With daily range = high - low, the box is calculated using the difference between high and low points.
A 10-day Day Range is considered.
option)
- The High Line Range Set is the upper line and acts as a resistance.
- The Low Line Range Set acts as a support for the lower line.
- Middle Line Range Set finds the average readable by the center line.
You can set the background for each Range.
- Trend BG Set calculates the background about the trend.
It is recommended to use the default values.
When customizing, the High Line Range Set and Low Line Range Set are not touched,
It is recommended to adjust the Middle Line Range Set and Trend BG Set.
Example of optional function)
time frame)
Even if you change the timeframe, the plotted position remains the same.
So it doesn't matter which timeframe you use.
trading method)
Use the upper and lower lines as support and resistance,
Use the centerline as a flow reading to determine which side of the day is the strongest.
reference)
You are solely responsible for any trading decisions you make.
How to use)
You can only use it as a favorite without invitation permission.
Tap Add Indicator to Favorites at the bottom of the indicator.
If you click the indicator at the top of the chart screen and look at the left tab, there is a Favorites tab.
Add an indicator by clicking the indicator name in the Favorites tab.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
KOR) 해당 지표는 ADR BOX 입니다. ADR은 Average Daily Range의 줄임말로 일간 범위의 평균.
원리)
daily range = high - low 로 고저점의 차이를 이용하여 박스를 산출합니다.
10일간의 Day Range가 고려됩니다.
옵션)
- High Line Range Set은 상단선으로, 저항으로 작용합니다.
- Low Line Range Set은 하단선으로, 지지로 작용합니다.
- Middle Line Range Set은 중심선으로, 평균을 가독성있게 찾아줍니다.
각 Range의 배경을 설정할 수 있습니다.
- Trend BG Set은 추세에 관한 배경을 산출합니다.
기본값의 사용을 추천합니다.
커스텀할 경우 High Line Range Set과 Low Line Range Set은 건드리지 않고,
Middle Line Range Set, Trend BG Set을 조절하기 권장합니다.
옵션 기능의 예시)
타임프레임)
시간프레임을 변경해도 플로팅 하는 위치는 동일합니다.
따라서 어느 시간프레임을 사용해도 무관합니다.
매매방법)
상하단선을 지지와 저항으로 활용하고,
중심선을 하루 중에 어느쪽의 힘이 강한지 판단 할 수 있는 흐름읽기에 활용하십시오.
참고)
귀하가 내리는 모든 거래 결정은 전적으로 귀하의 책임입니다.
사용방법)
초대 권한 없이 즐겨찾기만으로 사용할 수 있습니다.
지표 하단의 즐겨찾기에 인디케이터 넣기를 누릅니다.
차트화면 상단에 지표를 눌러서 왼쪽탭에 보면 즐겨찾기 탭이 있습니다.
즐겨찾기 탭에서 지표이름을 눌러서 지표를 추가합니다.
더 많은 내용)
하단을 참고하십시오.
Double Top/Bottom V2This is an enhanced version of Double Top/Bottom detector.
Initial basic version can be found here:
Concept of deriving pattern is similar but there are few major changes.
Double Top:
Get the highest pivot high from last X pivot highs ( DTHigh1 )
Look for next top most pivot high which happened after DTHigh1 ( DTHigh2 )
Look for lowest pivot low between DTHigh1 and DTHigh2 ( DTLow )
Double Bottom:
Get the lowest pivot low from last X pivot lows ( DBLow1 )
Look for next lowest pivot low which happened after DBLow1 ( DBLow2 )
Look for highest pivot high between DBLow1 and DBLow2 ( DbHigh )
Other Key parameters:
checkForAbsolutePeaks and absolutePeakLoopback work together. When selected, double top and double bottom is formed only if DTHigh1 / DBLow1 are highest/lowest points from last absolutePeakLoopback bars back.
considerPivotDistance will make sure distance between Highs(in double top) and lows(in double bottom) are below 2 ( MaxAtrDistanceBase ) times ATR. And distance between average Highs/Lows to Low/High forming triangle is less than 6 ( MaxAtrDistanceHighLow ) times ATR. This will avoid showing steep triangles as double top/bottoms.
showLastLevels option allows users to display dashed lines on double top/bottom confirmation and invalidation levels for last formed double bottom and tops. These can be treated as strong support and resistence. Dashed lines are permanently formed on double top/bottom setups when an invalidation or confirmation occurs by price crossing either lowest or highest points of double top/bottom triangles.
Alerts:
Probable double top/bottom - when double top or bottom triangles formed.
Double top/bottom confirmation - when double top or bottom is confirmed.
Double top/bottom invalidation - when double top or bottom is invalidated.
Few important points about adjusting parameters:
Lower pivot lengths will generate more signals. But, too frequent signals may not be desirable as well.
higher absolutePeakLoopback will reduce number of signals while strengthening them.
Unchecking consider pivot distance or reducing MaxAtrDistanceBase/MaxAtrDistanceHighLow may considerably increase the number of pivots specially when pivot lengths are lower side. This may result in reduced quality of signals as well.
Moving average condition which is part of basic script is not included in this. We can add Hull Suite or moving average crossover on the chart as confirmation of strong signal.
TradiKator 09 HH HL LH LL & Linear Regression
TradiKator 09 HH HL LH LL & Linear Regression indicates whether current price movement exceed the trend or not.
Here, we use Higher High,Higher low, Lower High, Lower Low to identify a possible change of trend.
Also we use 2 Linear Regression Channels (short term & long term) to identify a price trend.
I hope this indicator can help traders to estimate trend change in the essential trading behavior.
1)Higher High,Higher low, Lower High, Lower Low
Higher High and Higher Low indicates a Bull trend
Lower High and Lower Low indicates a Bear trend
Those high low pivot points is a verg good mark to judge if current trend keeps going on or not.
Setting :
Left pivot length
Right pivot length
The longer pivot length is , the less sensetive and more delay you signal will be, especially the right privot
2)Linear Regression Channels
Linear Regression Line – is a line drawn according to the least-squares statistical method which produces a best fit line
The resulting can be used to predict price trend from the same system.
Setting :
Count ---> the length of the Linear Regression, remember more data in interest = less accuracy and bigger sigma
The End bar of Linear Regression ---> If you don't want latest K bar in the Linear Regression interest (they are not in the same trend), then you can move the Linear Regression to earlier bar
This indicator is inspired by GDT who is a great coder.
Known issue:
Not yet.
Multi-Function RSI(MTF, divergence, signal and alert)Japanese below / 日本語説明は下記
Overview
Multi-function RSI indicator with functions below.
1.MTF with display timeframe control
2.Auto divergence drawing incl. hidden divergence
3.Signal when RSI crosses over upper band/crosses under lower band
4.Color background when MTF RSI crosses over/under lower band
5.Alert when RSI crosses over upper band/crosses under lower bands
Please see the details below.
Functions:
1.MTF with display timeframe control
You can display daily, 4hour or 1 hour RSI or all of them as upper timeframe MTF RSI.
How is it different from other MTF indicators?
Problems with other MTF RSI indicators are;
-If you set higher timeframe RSI, it will also be shown on further higher timeframes.
i.e. If you set 4hour chart’s RSI on 1 hour or lower time frame charts, it will also appear on daily and weekly chart, which is not necessary.
To tackle these problems, this indicator has incorporated functions below.
-To show MTF RSI on timeframe lower than the upper timeframe you set as MTF timeframe.
For example, if you select daily timeframe for MTF RSI , the RSI will be shown only on 4 hour or lower timeframes(1H, 30M, 15M, 5M, 1M).
Left: 4hour chart, Middle: Daily chart, Right: Weekly chart
If you look at 4hour chart, daily chart’s RSI is shown(pale blue and orange) but weekly chart does not show daily chart’s RSI.
2.Auto divergence drawing incl. hidden divergence
Regular divergence line and hidden divergence line will be automatically drawn for current timeframe RSI as per the logic below.
Bearish : When two consecutive pivot highs go up but RSI values corresponding to each high go down.
Bullish: When two consecutive pivot lows go down but RSI values corresponding to each low go up.
Pivot highs(lows) are identified when those are preceded by n lower highs(lows) and proceeded by n lower highs(lows).
* n is parameterized.
See the diagram below.
Bearish : When two consecutive pivot highs go down but RSI values corresponding to each highs go up.
Bullish : When two consecutive pivot lows go up but RSI values corresponding to each low go down.
3.Signal when RSI crossing upper/lower bands
Signal will be shown when;
-RSI(current timeframe) crosses over upper band
-RSI(current timeframe) crosses under lower band
Example:
Purple triangle is signals.
4.Color background when MTF RSI crosses over/under lower band
Background color can be applied when MTF RSI crosses over upper band/under lower band.
Example:
Pale purple is daily RSI on 4 hour chart. Background color applied while daily RSI is outside upper/lower bands.
5.Alert when RSI crosses over upper band/under lower band
Alert can be set when;
-RSI crosses over upper band
-RSI crosses under lower band
How to use this indicator?
This indicator is paid indicator and invited-only indicator.
Please contact me via private chat or follow links in my signature so that I can grant the access right to the indicator.
Comment section is only for comments on the indicator or updates. Please refrain from contacting me using comments to follow TradingView house rules.
———————————————————————————————————————
多機能RSIインジケーターです。以下の機能が搭載されています。
1.マルチタイムフレーム機能(表示時間足制御機能付き)
2.ダイバージェンス自動描画機能(ヒドゥンダイバージェンス対応)
3.RSIがアッパーバンド、ロワーバンドとクロスした時にシグナル表示
4.上位足RSI(MTF RSI)がアッパーバンドより上にある時、ロワーバンドより下にある時に背景をハイライト
5.RSIがアッパーバンド、ロワーバンドとクロスした時にアラート設定
機能詳細は以下の通りです。
機能詳細
1.マルチタイムフレーム機能(表示時間足制御機能付き)
日足、4時間足、1時間足のいずれか、もしくは全てをRSIをマルチタイムフレームRSIとして表示することができます。(不要な場合は非表示可能)
他のマルチタイムフレームRSIとの違い
他のマルチタイムフレームRSIのインジケーターでは、以下の問題に直面します。
・上位足のRSIを表示すると、さらに上位足でもそのRSIが表示され見にくくなる。
例: 4時間足のRSIを下位足で表示可能な様に設定すると、日足や週足でも表示され、チャートが見にくくなる。
この問題に対して、このインジケーターでは、
・上位足のRSIを表示する時間軸を制御することで上位足で不必要な情報を表示させない。
という機能を加えることでこの問題を解決しています。
具体的には、マルチタイムフレーム用に選択した上位足のタイムフレームより小さいタイムフレームでのみ上位足のRSIが表示されるようになっています。
例えば、上位足として日足を選択した場合、日足のRSIは4時間足、1時間足、30分足、15分足、5分足、1分足にのみ表示されます。
<サンプルチャート>
左から4時間足、日足、週足です。
4時間足では日足のRSI(薄いパープルのライン)が表示されていますが、週足には表示されません。これはオシレーターが表示される時間軸を裏側のロジックで制御しているためです。
2.ダイバージェンス自動描画機能(ヒドゥンダイバージェンス対応)
以下のロジックに基づきダイバージェンスを自動描画します。(不要な場合は非表示可能)
<通常のダイバージェンス>
下降示唆:2つの連続する高値(*)が切り上げられているが、 それぞれの高値に対応するRSIの値は切り下げている場合
上昇示唆:2つの連続する安値(*)が切り下がっているが、 それぞれの安値に対応するRSIの値は切り上がっている場合
*高値(安値)は、左右n本(**)ずつのローソク足の高値(安値)より高い(低い)高値(安値)をピボットハイ・ローとして算出しています。
** nはユーザ設定値です。
<例: ダイバージェンス>
高値PH1はPH1のローソクの高値より左側にn個のより低い高値、右側にn個のより低い高値があった場合に高値として認識されます。
上記の例では高値がPH2>PH1と切り上がっていますが、対応するRSIの値はvalue2
下降継続示唆:2つの連続する高値(*)が切り下がっているが、 それぞれの高値に対応するRSIの値は切り上がっている場合
上昇継続示唆:2つの連続する安値(*)が切り上がっているが、 それぞれの安値に対応するRSIの値は切り下がっている場合
言うまでもないことですが、ダイバージェンスが出たから逆張り、などの安易な発想は避けるべきです。
環境認識の一つの要素として見るべき指標でしょう。
3.RSIがアッパーバンドを上抜いた時、ロワーバンドを下抜いた時にシグナル表示
アッパーバンド(初期値70)とロワーバンド(初期値30)の数値は変更可能です。
サンプルチャート:
4.上位足RSI(MTF RSI)がアッパーバンドより上にある時、ロワーバンドより下にある時に背景をハイライト
サンプルチャート:
日足のRSI(薄いパープルのライン)がアッパーラインより上にある時に背景がグレーがかっています。
このように上位足のRSIの状況を視覚的に認識したい時に役立つでしょう。
日足RSIラインは非表示にすることができますので、背景色だけ表示しておいて、背景に色が付き、かつダイバージェンスも出たら反転を警戒といった状況判断が可能です。
5.RSIがアッパーバンド、ロワーバンドとクロスした時にアラート設定
アラートを設定したいタイムフレームを開いた状態で、アラート設定の画面を開き以下の条件を選択することができます。
・RSIがアッパーバンドを上抜いた時
・RSIがロワーバンドを下抜いた時
インジケーターの使用について
当インジケーターは招待制インジケーター(有料)となっています。
使用を希望される方はプライベートチャットや下記リンクのDMでご連絡ください。
このページのコメント欄はインジケーターそのものに対するコメントやアップデートの記載のためのものとなっております。Tradingviewのハウスルールを守るためにもコメント欄からの連絡はご遠慮ください。
Multi-Function Stochastic(MTF, divergence, signal and alert)Japanese below / 日本語説明は下記
Overview
Multi-function Stochastic indicator with functions below.
1.MTF with display timeframe control
2.Auto divergence drawing incl. hidden divergence
3.Signal when % K crosses over %D incl. MTF %K and %D
4.Alert when % K crosses over %D
Please see the details below.
Functions:
1.MTF with display timeframe control
You can select one upper timeframe from monthly, weekly, daily, 4hour, 1hour, 30mins, 15mins, 5mins to display upper timeframe’s Stochastic as MTF Stochastic.
How is it different from other MTF indicators?
Problems with other MTF Stochastic indicators are;
-If you set higher timeframe Stochastic, it will also be shown on further higher time frames.
i.e. If you set 4hour chart’s Stochastic on 1 hour or lower time frame charts, it will also appear on daily and weekly chart, which is not necessary.
To tackle these problems, this indicator has incorporated functions below.
-To show MTF Stochastic on timeframe lower than the upper timeframe you set as MTF timeframe.
For example, if you select daily timeframe for MTF Stochastic , the Stochastic will be shown only on 4 hour or lower timeframes(1H, 30M, 15M, 5M, 1M).
Left: 4hour chart, Middle: Daily chart, Right: Weekly chart
If you look at 4hour chart, daily chart’s Stochastic is shown(pale blue and orange) but weekly chart does not show daily chart’s Stochastic.
2.Auto divergence drawing incl. hidden divergence
Divergence line and hidden divergence line will be automatically drawn for the current timeframe Stochastic as per the logic below.
Bearish : When two consecutive pivot highs go up but %K values corresponding to each high go down.
Bullish: When two consecutive pivot lows go down but %K values corresponding to each low go up.
Pivot highs(lows) are identified when those are preceded by n lower highs(lows) and proceeded by n lower highs(lows).
* n is parameterized.
See the diagram below.
Bearish : When two consecutive pivot highs go down but %K values corresponding to each highs go up.
Bullish : When two consecutive pivot lows go up but %K values corresponding to each low go down.
3.Signal when % K crossing %D
Signal will be shown when;
-%K crosses over %D below lower band
-%K crosses under %D above upper band
-%K(MTF) crosses over %D(MTF) below lower band
-%K(MTF) crosses under %D(MTF) above upper band
4.Alert when % K crossing %D
Alert can be set when;
-%K crosses over %D below lower band
-%K crosses under %D above upper band
How to use this indicator?
This indicator is paid indicator and invited-only indicator.
Please contact me via private chat or follow links in my signature so that I can grant the access right to the indicator.
Comment section is only for comments on the indicator or updates. Please refrain from contacting me using comments to follow TradingView house rules.
———————————————————————————————————————
多機能ストキャスティクスインジケーターです。以下の機能が搭載されています。
1.マルチタイムフレーム機能(表示時間足制御機能付き)
2.ダイバージェンス自動描画機能(ヒドゥンダイバージェンス対応)
3.%Kが%Dをクロスした時にシグナル表示(MTFの%Kと%Dでも同様)
4.%Kが%Dをクロスした時にアラート設定可能
機能詳細は以下の通りです。
機能詳細
1.マルチタイムフレーム機能(表示時間軸制御機能付き)
月足、週足、日足、4時間足、1時間足、30分足、15分足、5分足の中から一つを選択し、上位足のストキャスティクスとして表示することができます。(不要な場合は非表示可能)
他のマルチタイムフレームストキャスティクスとの違い
他のマルチタイムフレームストキャスティクスのインジケーターでは、以下の問題に直面します。
・上位足のストキャスティクスを表示すると、さらに上位足でもそのストキャスティクスが表示され見にくくなる。
例: 4時間足のストキャスティクスを下位足で表示可能な様に設定すると、日足や週足でも表示され、チャートが見にくくなる。
この問題に対して、このインジケーターでは、
・上位足のストキャスティクスを表示する時間軸を制御することで上位足で不必要な情報を表示させない。
という機能を加えることでこの問題を解決しています。
具体的には、マルチタイムフレーム用に選択した上位足のタイムフレームより小さいタイムフレームでのみ上位足のストキャスティクスが表示されるようになっています。
例えば、上位足として日足を選択した場合、日足のストキャスティクスは4時間足、1時間足、30分足、15分足、5分足、1分足にのみ表示されます。
<サンプルチャート>
左から4時間足、日足、週足です。
4時間足では日足のストキャスティクスが表示されていますが、週足には表示されません。
2.ダイバージェンス自動描画機能(ヒドゥンダイバージェンス対応)
以下のロジックに基づきダイバージェンスを自動描画します。(不要な場合は非表示可能)
<通常のダイバージェンス>
下降示唆: 2つの連続する高値(*)が切り上げられているが、 それぞれの高値に対応するストキャスティクスの値は切り下げている場合
上昇示唆: 2つの連続する安値(*)が切り下がっているが、 それぞれの安値に対応するストキャスティクスの値は切り上がっている場合
*高値(安値)は、左右n本(**)ずつのローソク足の高値(安値)より高い(低い)高値(安値)をピボットハイ・ローとして算出しています。
** nはユーザ設定値です。
<例: ダイバージェンス>
高値SH1はSH1のローソクの高値より左側にn個のより低い高値、右側にn個のより低い高値があった場合に高値として認識されます。
上記の例では高値がSH1>SH2と切り上がっていますが、対応する%Kの値はvalue2>value1と切り下がっているためダイバージェンスと認識されダイバージェンスラインが自動描画されます。
<ヒドゥンダイバージェンス>
下降継続示唆: 2つの連続する高値(*)が切り下がっているが、 それぞれの高値に対応するストキャスティクスの値は切り上がっている場合
上昇継続示唆: 2つの連続する安値(*)が切り上がっているが、 それぞれの安値に対応するストキャスティクスの値は切り下がっている場合
言うまでもないことですが、ダイバージェンスが出たから逆張り、などの安易な発想は避けるべきです。
環境認識の一つの要素として見るべき指標でしょう。
3.%Kが%Dとクロスした時にシグナル表示(MTFの%Kと%Dでも同様)
以下の条件を満たした時にシグナルを表示します。
-ロワーバンドより下で、%Kが%Dを上抜けた時
-アッパーバンドより上で、%Kが%Dを下抜けた時
-ロワーバンドより下で、%K(MTF)が%D(MTF)を上抜けた時
-アッパーバンドより上で、%K(MTF)が%D(MTF)を下抜けた時
4.%Kが%Dとクロスした時にアラート設定
以下の条件でアラート設定が可能です。
-ロワーバンドより下で、%Kが%Dを上抜けた時
-アッパーバンドより上で、%Kが%Dを下抜けた時
インジケーターの使用について
当インジケーターは招待制インジケーター(有料)となっています。
使用を希望される方はプライベートチャットや下記リンクのDMでご連絡ください。
このページのコメント欄はインジケーターそのものに対するコメントやアップデートの記載のためのものとなっております。Tradingviewのハウスルールを守るためにもコメント欄からの連絡はご遠慮ください。
Volume EffectivenessI have been trying to work with volume as an indicator for quite some time, as it holds qualities as a 'leading indicator'.
However, please note that any indicator which to some extent predict a future trend has its issues as it can be misleading.
But, in some datasets in a selected timeframe the leading properties of volume as an indicator are useful.
So this script is not too complicated. It shows a numeric which resembles the 'effectiveness of volume' in moving price.
For example, if a small volume creates a large price change - the Volume Effectiveness indicator will be high and show a spike
Whereas, if a large volume creates a small price change - the Volume Effectiveness indicator will be low
I used 3 metrics to represent Volume Effectiveness (these are different colors on the bar chart)
One price difference is the absolute(high - low) for each bar
Another is the absolute(open - close)
The 'open-close' is smaller than the 'high-low', so note this when viewing the bar charts
The final metric depends on if the open is greater than the close or vice-versa
But it considers the 'absolute(high-low)' and the difference between the open and the high (or low) and the close and the low (or high)
So the final metric is the largest of the 3 metrics and is generally the most useful of the 3 however, the other 2 are displayed to provide a better understanding of what 'Volume Effectiveness' displays
Note, I use absolute values so they are only positive, i.e. there are no negative values to represent a price drop within a bar
So, why is this indicator useful - its because volume is a leading indicator
A decreasing volume tends to suggest a price change is coming
Also, when the volume within a bar is very small, its Volume Effectiveness tends to go very high
That means a small trade volume creates a relatively large change in price
This is ideal conditions for a big pump (or big dump - although this indicator seems to work better before pumps)
A large spike in the Volume Effectiveness is commonly/sometimes preceding a big pump
So watch this indicator - and if there is a big spike - evaluate other market conditions to consider getting into position
Large spikes in the Volume Effectiveness can precede big price changes and therefore can provide a leading indication before a pump or dump
Timeframe is important - I found on the daily timeframe this indicator did not provide sufficient lead to be useful. Similarly on the <15min timeframe the spikes were not highly correlated with pumps/dumps
However, in medium timeframes (15mins, 1hour, 4hours) this indicator can be useful for predicting sizeable price changes.
The CryptoPlayground FrameworkThe CryptoPlayground Framework & Built-in Strategy Analysis
CryptoPlayground’s Framework provides the community an “executive assistant” that teaches traders how to trade The CryptoPlayground Framework ‘LIVE’. Producing a structured approach with a built in Strategy where traders to learn the method as the trade pans out.
Cryptoplayground’s Framework pays close attentions to fundamental as well as technical analysis . In this publication we will be breaking down the simplicity of what makes the framework “tick”.
Traders take notice how the price moves between the double blue sets of lines marked #cpf, these are some of the most important aspects of the CryptoPlayground Framework. Let’s jump in and explain.. The built-in Fibonacci Retraction add+ tool is the method we use to frame up our technical analysis . Helping CryptoPlayground traders define support and resistance levels of extreme relevance and more importantly defining #cpf Optimal Trade Entries. Traders trading from these blue lines produce high probability low risk trade ideas and opportunities.
How it’s done: Drawn using (plot) the high and low of a particular time-frame (depicted by your chart settings, or set using custom time settings in the indicator settings itself). These high and low points have many names and can be defined in many ways. as basic as it comes these are knows as pivot points . Using these points, Cryptoplayground Framework draws levels respecting Fibonacci ratios. Reminder that CryptoPlayground is a framework to structure trades, these levels are supposed to change. Using a time series to do so allows traders to define their style of trading, whether intra, daily or swing.
When the CryptoPlayground Framework is “about to change” we call this a liquidity event and most commonly in crypto it’s some sort of purge in the direction that traders are willing to buy up to or sell to.
🤖 Technicals in the code:
// Fibonacci Retraction
Length(x)
Source( close)
Out = fib retract
High(close, x)
Low(close, x)
plot(…
Plotshape (fib = high - low within time series multiples by ratio)
Alert condition(
crossunder(close, x)…. ; candle close below x indicating our liquidity event)
Plot ( purge
Plotshape (purge
CryptoPlayground Framework traders have the added improvement of RSI add+ , as a further confirmation, defining whether bulls are in control, bears are in control or when defining overbought or oversold thresholds. Represented by the larger blue and grey dotted channel, traders are able to use this visual tool and add it to their analysis.
🤖 Technicals in the code:
//RSI+
Based on in-build RSI , where RSI is (rsiSource, rsilength)
RSI = close
Legth = x
Condition = x
Condition = x
plot ( plot as size 2 dotted lines on the chart )
CryptoPlaygound “Helper Tool” is an Exponential Moving Average function to determine bullish and bearish conditions, we are able to remain emotionless through the trade. As well as, when to book profit and the sign of a possible reversal. Backtested for optimal crypto conditions, the degree of weighted decrease provides observations faster for a volatile market. CryptoFramework makes these calculations available on all time frames or customisable for the style of trader. CryptoPlayground used a time settings (constant) that makes traders pay themselves first.
🤖 Technicals in the code:
// bullish . bearish
Length = ( x )
Source( close )
Out = ( ema )
High ( close, x )
Low ( close, x )
Last = ( high , x )
Last = ( low , x )
Bearish = cross ( close , x )
Bullish = cross ( close , x )
Plotshape ( bullish , style
Plotshape ( bearish , style
// Long.short exit
Ema = x
SMA = x
EMA ( close, x )
SMA ( close , x )
RSI (close , x )
Using the CryptoPlayground Framework, the description below will describe, How to trade a “Fake Out - Purge Event“, also known as “Purge and Revert”
Set alert: Purge Event (This way you will get notified, this type of trade can be ruined with emotions and therefor it is best traded with structure)
Purge Events indicate one of 3 things, a breakout/liquidity run or raid, a reach for liquidity or a possible fake-out. Purge Events are represented by the label “Purge”.
In this example, CryptoPlayground Framework has structured a trade example during a “Fakeout - Purge Event” to the sell side.
Further visual description provided.
On chart elaboration and description on how to trade
1. Set Alert Condition - Liquidity Purge Alert
(using TradingView alert settings)
2. Set entry at #cpf Entry 1 :
This is a level 2 entry.
Scaling down chart time-frame will create a further "Optimal Trade Entry
".
3. Pay yourself, book profit, move your stop loss up or to break even.
The trade is now risk free and you’ve made a successful trade.
The rest is just added bonus.
4. Opportunity to consider re-enter, add partials previously taken signified by bullish Label and Rejection of Fibonacci ratios.
5. Trade is complete, you paid yourself, lowered risk, added more into a trade and entered hopefully using a limit order :)
Blue horizontal lines marked #cpf are your long and short optimal trade entry location, where trading from these regions carry less risk. These blue lines are what the Cryptoplayground Framework refers to as Optimal Trade Entries.
In the opposition's corner we have a mirrored x2 blue horizontal lines marked #cpf these are your targets. Traders are made aware of a "liquidity Event" at these levels when bulls or bears are in control.
White "time to book profit" labels are there to remind traders to pay themselves first. Having Entered from #cpf a CryptoPlayground Trader would at this point take profit and move stop loss into profit or break even. Using this method further reduces downside and removes the risk from your original entry position. Leaving the CryptoPlayground Framework Trader with a "Risk Free Trade".
White "exit trade" indicates extreme limits of oversold and overbought conditions where it is likely that a reversal will take place as buyers or sellers increase in the respected direction.
Grey horizontal dotted lines indicate levels at which price action is likely to respect. In that regard, price action will make moves from these levels and to these levels.
If you have any questions please reach out, the script is invite-only.
If you wish to have access please reach out.
Hope you enjoy, please comment or message! 🙏
HhLl-OscilatorSimple oscillator which checks how many highs and how many lows the price is making. Parameters are as explained below:
lookback - Checks how many highs and lows it is making in these many bars. Sum of all highs and lows are taken for plotting.
periods - Initial period to check high and lows
multiples - Number of multiples on initial period for which highs and lows are checked
colorCandles - CandleColor based on the oscillator
If periods is 20 and multiples is 5 and loopback is 10
Indicator checks for last 10 bars how many highs/lows are made for 20, 40, 60, 80 and 100 periods. Sum of all highs and lows are plotted on the oscillator overlay
Fractal Trend Trading System [DW]This is an advanced utility that uses fractal dimension and trend information to generate useful insights about price activity and potential trade signals.
In this script, my Advanced FDI algorithm is used to estimate the fractal dimension of the dataset over a user defined period.
Fractal dimension, unlike spatial or topological dimension, measures how complexity or detail in an "object" changes as its unit of measurement changes, rather than the number of axes it occupies.
Many forms of time series data (seismic data, ECG data, financial data, etc.) have been theoretically shown to have limited fractal properties.
Consequently, we can estimate the fractal dimension from this data to get an approximate measure of how rough or convoluted the data stream is.
Financial data's fractal dimension is limited to between 1 and 2, so it can also be used to roughly approximate the Hurst Exponent by the relationship H = 2 - D.
When D=1.5, data statistically behaves like a random walk. D above 1.5 can be considered more rough or "mean reverting" due to the increase in complexity of the series.
D below 1.5 can be considered more prone to trending due to the decrease in complexity of the series.
In this script, you are given the option to apply my Band Shelf EQ algorithm to the dataset before estimating dimension.
This enables you to transform your data and observe how its newly measured complexity changes the outputs.
Whether you want to give emphasis to some frequencies, isolate specific bands, or completely alter the shape of your waveform, EQ filtration makes for an interesting experience.
The default EQ preset in this script removes the low shelf, then attenuates low end and high end oscillations.
The dominant cyclical components (bands 3 - 5 on default settings) are passed at 100%, keeping emphasis on 8 to 64 sample per cycle oscillations.
The estimated dimension is then used to calculate the High Dimension Zone and the Error Bands.
Both of these components are great for analyzing trends and for estimating support and resistance values.
The High Dimension Zone is composed of a high line, low line, and midline that update their values when D is at or above the user defined zone activation threshold.
The zone is then averaged over a user defined amount of updates and zone width is multiplied by a user defined value.
The Error Bands are composed of a high, low, and middle band that are calculated using an error adjusted adaptive filter algorithm that utilizes dimension as the smoothing constant modulator.
The basis filter for the error bands has two calculation types built in:
-> MA - Calculates the filters as adaptive moving averages modulated by D.
-> WAP - Calculates the filters as adaptive weighted average prices modulated by D.
The WAP starting point can be based on the High Dimension Zone being moved or a user defined interval.
You can also define the WAP's minimum and maximum periods for additional control of the initial and decayed sensitivity states.
The alpha (smoothing constant) modulator can be fine tuned using the designated dimension thresholds.
When D is at or below the low dimension threshold, the filter is most responsive, and vice-versa for the high dimension threshold.
Alpha is then multiplied by a user defined amount for additional control of sensitivity.
Band width is then multiplied by a user defined value.
A Hull transformation can be optionally performed on the zone averaging and band filter algorithms as well, which will alter the frequency and phase responses at the cost of some overshoot.
This transformation is the same as a typical Hull equation, but with custom filters being used instead of WMA.
The calculated outputs are then used to gauge the trend for signal and color scheme calculations.
First, a dominant trend indication is selected from its designated dropdown tab.
The available built in indications to choose from are:
-> Band Trend (Outer) - Detects band breakouts and saves their direction to gauge trend.
-> Band Trend (Median) - Uses disparity between source and the band median to gauge trend.
-> Zone Trend (Expansion) - Detects when the high fractal zone expands and saves its direction to gauge trend.
-> Zone Trend (Outer Levels) - Detects zone breakouts and saves their direction to gauge trend.
-> Zone Trend (Median) - Uses disparity between source and the zone median to gauge trend.
Then the trend output is optionally filtered before triggering signals.
There are multiple trend filtration options built into this script that can be used individually or in unison:
-> Filter Trend With High Fractal Zone - Filters the trend using the specified zone level or combination of levels with either disparity or crossover conditions.
There is a set of options for bullish and bearish trends.
-> Filter Trend With Error Bands - Filters the trend using the specified band level or combination of levels with either disparity or crossover conditions.
There is a set of options for bullish and bearish trends.
-> Filter Trend With Band - Zone Disparity Condition - Filters the trend using the specified band level, zone level, and disparity direction.
There is a set of options for bullish and bearish trends.
-> Filter By Zone That Moves With The Trend - Filters the specified trend by detecting when the high fractal zone’s direction correlates.
-> Filter By Bands That Move With The Trend - Filters the specified trend by detecting when the error bands’ direction correlates.
-> Filter Using Wave Confirmation - Filters the specified trend by detecting when source is in a correlating wave with user defined length.
You can also choose separate lengths for bullish and bearish trends.
-> Filter By Bars With Decreasing Dimension - Filters the specified trend by detecting when fractal dimension is decreasing, suggesting source is approaching more linear movement.
The filtered trend output is then used to generate entry and exit signals.
There are multiple options included to fine tune how these signals behave.
For entries, you have the following options built in:
-> Limit Entry Dimension - Limits the range of dimensional values that are acceptable for entry with user defined thresholds.
This can be incredibly useful for filtering out entries taken when price is moving in a more complex pattern,
or when price is approaching a peak and you’re a little late to the party.
-> Enable Position Increase Signals - Enables more entry signals to fire up to a user defined number of times when a position is active.
This is helpful for those who incrementally increase their positions, or for those who want to see additional signals as reference.
-> Limit Number Of Consecutive Trades - Limits the number of consecutive trades that can be opened in a single direction to a user defined maximum.
This is especially useful for markets that only trend for brief durations.
By limiting the amount of trades you take in one direction, you have more control over your market exposure.
There is a set of these options for both bullish and bearish entries.
For exits, you have the following options built in:
-> Include Exit Signals From High Fractal Zone - Enables exit signals generated from either crossover or disparity conditions between price and a specified zone level.
-> Include Exit Signals From Error Bands - Enables exit signals generated from either crossover or disparity conditions between price and a specified zone level.
-> Include Inactive Trend Output For Exits - Triggers exit signals when the filtered trend output is an inactive value.
-> Dimension Target Exit Method - Triggers exit signals based on fractal dimension hitting a user defined threshold.
You can either choose for the exit to trigger instantly, or after dimension reverts from the target by a user specified amount.
-> Exit At Maximum Entry Dimension - Triggers exit signals when dimension exceeds the maximum entry limit.
-> Number Of Signals Required For 100% Exit - Controls the number of exit signals required to close the position.
You can also choose whether or not to include partial exits.
Enabling them will fire a partial signal when an exit occurs, but the position is not 100% closed.
Of course, there is a set of these options for bullish and bearish exits.
In my opinion, no system is complete without some sort of risk management protocol in place.
So in this script, bullish and bearish trades come equipped with optional protective SL and TP levels with signals.
The levels can be fixed or trailing, and are calculated with a user defined scale.
The available scales for SL and TP distances are ticks, pips, points, % of price, ATR, band range, zone range, or absolute numerical value.
Now what if you have some awesome signals of your own that you’d like to use in conjunction with this script?
Well good news. You can!
In addition to all of the customizable features built into the script, you can integrate your own signals into the system using the external data inputs and linking your script.
This adds a whole new layer of customization to the system.
With external signals, you can use your own custom dominant trend indication, filter the dominant trend, and trigger exits and protective stops using custom signals.
The signal input is an integer format. 1=Bull Signal, -1=Bear Signal, 2=Bull Exit, -2=Bear Exit, 3=Bull SL Hit, -3=Bear SL Hit, 4=Bull TP Hit, -4=Bear TP Hit.
You can also use the external input as a custom source value for either dimension or global sources to further tailor the system to your liking.
The color scheme in this script utilizes two custom gradients that can be chosen for bar and background colors:
-> Trend (Dominant or Filtered) - A polarized gradient that shows green scaled values for bullish trend and red scaled values for bearish trend.
The colors are brighter and more vibrant as perceived trend strength increases.
-> Dimension - A thermal gradient that shows cooler colors when dimension is higher, and hotter colors when dimension is lower.
Both color schemes are dependent on the designated dimension thresholds.
The script comes equipped with alerts for entries, additional entries, exits, partial exits, and protective stops so you can automate more and stare at your charts less.
And lastly, the script comes equipped with additional external outputs to further your analysis:
-> Entry And Exit Signals - Outputs in the same format as the external signal input with these additions: 5=Bull Increase, -5=Bear Increase, 6=Bull Reduce, -6=Bear Reduce.
You can use these to send to other scripts, including strategy types so you can backtest your performance on TV’s engine.
-> Dominant Trend - Outputs 1 for bullish and -1 for bearish. Can be used to send trend signals to another script.
I designed this tool with individuality in mind.
Every trader has a different situation. We trade on different schedules, markets, perspectives, etc.
Analytical systems of basically any type are very seldom (if ever) “one size fits all” and usually require a fair amount of modification to achieve desirable results.
That’s why this system is so freely customizable.
Your system should be flexible enough to be tailored to your analytical style, not the other way around.
When a system is limited in what you can control, it limits your experience, analytical potential, and possibly even profitability.
This is not your typical pre-set system. If you're looking for just another "buy, sell" script that requires minimal thought, look elsewhere.
If you’re ready to dive into a powerful technical system that allows you to tailor the experience to your style, welcome!
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
This is a premium script, and access is granted on an invite-only basis.
To gain access, get a copy of the system overview, or for additional inquiries, send me a direct message.
I look forward to hearing from you!
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
General Disclaimer:
Trading stocks, futures, Forex, options, ETFs, cryptocurrencies or any other financial instrument has large potential rewards, but also large potential risk.
You must be aware of the risks and be willing to accept them in order to invest in stocks, futures, Forex, options, ETFs or cryptocurrencies.
Don’t trade with money you can’t afford to lose.
This is neither a solicitation nor an offer to Buy/Sell stocks, futures, Forex, options, ETFs, cryptocurrencies or any other financial instrument.
No representation is being made that any account will or is likely to achieve profits or losses of any kind.
The past performance of any trading system or methodology is not necessarily indicative of future results.
Expanded Floor PivotsHello Everyone,
The Expanded Floor Pivots is introduced in the book "Secrets of a Pivot Boss: Revealing Proven Methods for Profiting in the Market " by Franklin Ochoa. He added four new levels: S4, R4, BC and TC. There are many great ideas in the book, such using these levels, following trend, time price opportunity and much more. (Thanks to @tonyjab for pushing me to read this book)
The definition/formula of the levels defined in the book:
r1 = 2 * pivot - Low
r2 = pivot + (High - Low)
r3 = r1 + (High - Low)
r4 = r3 + (r2 - r1)
tc = (pivot - bc) + pivot
pivot = (High + Low + Close) / 3
bc = (High + Low) / 2
s1 = 2 * pivot - High
s2 = pivot - (High - Low)
s3 = s1 - (High - Low)
s4 = s3 - (s1 - s2)
The area between TC and BC is used as Pivot Channel, (blue area in the chart). you can see how it helps on identifying the trend.
Options:
By default the script decides Higher Time Frame but if you want you can set HTF as you wish.
You can choose line style as: Solid, Circles or Cross
and also you have option to show only last period or all historical levels.
Enjoy!
™TradeChartist Intensity™TradeChartist Intensity is a visual indicator that comes with Intensity color candles and Auto-fibs feature that helps any trader with Entry/Exit and levels confirmation based on where the price is, in relation to the Orange Price Equilibrium line and the 5 zones of Bull/Bear limits that fade into the top or bottom outer space.
™TradeChartist Intensity itself doesn't plot BUY or SELL signals, but when used with ™TradeChartist Rubicon gives a better picture for trade confirmations. It can also be used as a standalone indicator and works equally effective with other traditional and non-traditional indicators.
The indicator comes with simple settings with useful features outlined below.
Intensity Color Candles
Intensity Color Candles when activated from settings paints the candles/bars with colors specific to the Bull/Bear limits or the outer space and is easy to identify the signal strength over time.
Uptrend - The bars/candles move away from the Orange Price Equilibrium line towards the upper Bull limits with bar color fading slowly leading to outer space where the bar color turns neon green.
Downtrend - The bars/candles move away from the Orange Price Equilibrium line towards the lower Bear limits with bar color fading slowly leading to outer space where the bar color turns neon red.
When the price candle wick or body touches the Orange Price Equilibrium line, distinct torchlight circle appears to signal the trader of a potential change in price direction which can be used as a signal confirmation in conjunction with another indicator before taking a trade position.
Show Auto Fib Levels
Auto Fib Levels plot automatic Fib levels based on significant Highs and Lows based on Intensity strategy which mostly are reference prices of recent highest high above Orange Equilibrium price line and recent lowest low below the Orange Equilibrium price line.
15m XBT chart with 'Show Auto Fib Levels' checked and 'Show Fibs from current High/Low' unchecked under indicator settings
These Auto Fib Levels change when the price movement/trend changes direction and will be based on trending price direction.
Show Fibs from current High/Low
When this option is chosen from indicator settings, the auto fib levels are drawn from the highest high of the trending price direction to lowest low of last trend for uptrend or vice-versa for downtrend.
15m XBT chart as above with 'Show Fibs from current High/Low' unchecked under indicator settings
Show Profit Candles
Activating this option from indicator settings will automatically plot $ labels above candle highs that hit important resistance levels during uptrend and candle lows that hit important support levels during downtrend. This will help traders take out profits during trades based on their personal profit goals and realistic trade targets based on momentum/RSI/volatility etc.
Example chart of XAUUSD 1hr Gold chart showing both Long and Short trade Profit candles
Give a thumbs up or leave a comment if you like the script.
B3 3-Stox - Scalping OscillatorThis is an indicator that combines what I see some scalpers use on youtube videos and webinars.
3 Stox = Three Stochastic Readings
Fast Stochastic of Highs
Fast Stochastic of Lows
Slow Stochastic of Bar Average
Bar Color Code
Bar Color Coded
Light Green = Long with trend
Dark Green = Long counter trend
Light Red = Short with trend
Dark Red = Short counter trend
Fast Line Color Code
Green = Lows leading highs up (Organized Rise)
Olive = Highs leading lows up (Rapid Rise)
Red = Highs leading lows down (Organized Fall)
Fuchsia = Lows leading lows down (Rapid Fall)
Trades to be looked at:
Trading in the direction of the fast lines, when they are similar to and near one another, in the same direction as the Slow stochastic line's color or slope
Trading Long Fastline green color when all 3 lines are oversold
Trading Short Fastline red color when all 3 lines are overbought
AVOID Trading when fast lines are spread out and a large cloud appears between them (Chop Filter)
Look for solid up & down & up & etc. oscillation or you can use the slow line to find trends to trade
Green and red fast lines are organized moves, the olive and purple lines are faster moves and harder to lock in sometimes
Things to note:
Pairs nicely with a level printing study like B3 Level Break (applied on above chart)
There are 2 color schemes for the Fast High and Low Stochastic lines, and 2 color schemes for the bars
In this script the bar average is defined as (open+high+low+close+close ) / 5, keep the slow line at a large length input so that you can get a macro trend reading without zooming out the chart
The Extended Stochastics from one of my previous scripts is defaulted as the style used, however, you may turn that feature off and use the classic Stochastics
More details: drive.google.com
Enjoy!
~ B3 d^.^b
Autonomous LSTM [Noldo] Structure
Feature Layer 1 : Formulation :
The Autonomous LSTM adaptive period equation is a multivariate equation created by averaging a table based on market weights and optimizing it for each time period, by specially Artificial Neural Networks (ANN) training and taking note of the instruments chosen from Foreign exchange instruments, Stock markets , Futures and Commodities , Interest Rates and Yields all over the Global Markets.
Market weights and liquidities were taken into consideration and included in the calculations.
Feature Layer 2: Forecast Algorithm :
When we apply only the first item, we only get the buy and sell signals in reverse.
In other words, since we measure the expectation, the positive signal informs the bear market and the negative scenario informs the bull market.
If we only act according to the expectations market, our system will be very sensitive.
When we associate this with real prices, both our accuracy increases and the reverse market returns to the normal market.
In other words, as in the indicators with standard average, the upward crosses are buy and the downward crosses are sell signal.
Examples:
a -) The normal deep learning script (ANN), which is only created according to expectations:
Unlike standard market, it gives reverse signals.
Original script :
b-) Script with Forecast Algorithm but it only uses valid and standard periods for certain instruments :
Original script :
Feature Layer 3 : Composite of Two Layers : Adaptive Period (Length) Algorithm
This layer is the most important layer.
Outputs the period.
It adjusts itself to market conditions and provides a more agile trading environment under all circumstances.
Display of smart period function and standard period :
Where the market is stagnant, the period increases automatically and reduces unnecessary trade, while in trendy markets the period decreases automatically and allows to see positions first.
The degree of stagnation of the instrument concerned is not calculated solely by volatility.
We may perceive this in relation to several factors, but yes volatility is one of these factors.
When we put the script system under the MACD (Moving Average Convergence Divergence) roof, I did the tests.
Where both averages were positive, they could report accurate harsh trend news, or vice versa.
But I decided to give it up and put it on the Stochastic Money Flow Index .
First of all , Stochastic Money Flow Index function takes the volume into account.
The reason for this is a very important factor, which is naturally contained in the structure of High - Low conditions related codes.
And by using this factor, it could be superfast adaptive in both stagnant and trendy markets.
Feature Layer 4 : High - Low Selection Algorithm
The High-Low Selection Algorithm does not depend on a specific period but scans all periods backwards.(Lookback Function - Lkb )
Outputs the lowest or highest values in the specified new period.
This algorithm was written by me with the concern that if everyone trades according to the same threshold values, it will cause problems and choosing between values of the whole period length will slow down the signals.
This algorithm consists of two functions.
a - Lkb (Lookback Function) :
The lookback function scans back all periods from 0 to Smart Period bars at the same time.
In order to show the effect of the function, it was done between 0 and 84 bars.
However, the scan period of the function is normally at the same time: 0 to adaptive period time.
If the adaptive period includes a fractional day, it can also scan it.
There is no need to be an integer.
All functions are written to make mutable variables appropriate.
And what this function will scan depends on the second feature.
The special selection algorithm is in this function.And the output is given in this function.
b-) High - Low Selection Algorithm
Outputs the lowest or highest values in the specified new period.
This function allows you to select the most advantageous low or high values, even though the adaptive period remains the same.
And the signals are even more accurate.
This is a comparison of the High-Low selection algorithm and the Function: Stochastic Money Flow Index in the standard period.
For the codes of the Stochastic Money Flow Index function:
Speed may not be clear here.
So let's take a look at on chart.
So I would like to show a comparison values of the standard and special selection algorithms on Standard Highest - Lowest Function (All effort goes to RicardoSantos)
Note: This function is the standard function and freed from integer loads.
Blue = Function Highest - Lowest (length = 10 )
Yellow = Smart High-Low Selection Algorithm (length = 10 )
You can better observe the different results in the same period on the chart.
***
4 layers are interdependent.
And when the inter-layer operations are completed, output is given.
*** - Usage of Autonomous LSTM
Plot Rules
Blue Zones = Crossover condition where the average of long and short lines is less than 50.
Orange Zones = Crossunder condition where long and short lines averages more than 50.
Green Zones = Crossover condition where the average of long and short lines is greater than 50.
Red Zones = Crossunder condition where long and short lines averages less than 50.
*** Autonomous LSTM Settings :
It is just the barcolor to be colored according to the crossover and crossunder conditions or not (I / 0) option.
*** Autonomous LSTM Alerts :
As an alert, it only reports crossover and crossunder status as "Long Signal" and "Short Signal" as a warning after the first bar closure.
*** CONCLUSION :
Autonomous LSTM Designed to be used in any time frame.
Does not repaint in any time frame.
Script is independent of constant coefficients.No period adjustment is necessary.
Each layer transfers the information in its own layer to the next layer and the results are reflected in the Stochastic Money Flow Index function built on the resultant.
Regards.
Volume Profile Free Ultra SLI (100 Levels Value Area VWAP) - RRBVolume Profile Free Ultra SLI by RagingRocketBull 2019
Version 1.0
This indicator calculates Volume Profile for a given range and shows it as a histogram consisting of 100 horizontal bars.
This is basically the MAX SLI version with +50 more Pinescript v4 line objects added as levels.
It can also show Point of Control (POC), Developing POC, Value Area/VWAP StdDev High/Low as dynamically moving levels.
Free accounts can't access Standard TradingView Volume Profile, hence this indicator.
There are several versions: Free Pro, Free MAX SLI, Free Ultra SLI, Free History. This is the Free Ultra SLI version. The Differences are listed below:
- Free Pro: 25 levels, +Developing POC, Value Area/VWAP High/Low Levels, Above/Below Area Dimming
- Free MAX SLI: 50 levels, 2x SLI modes for Buy/Sell or even higher res 150 levels
- Free Ultra SLI: 100 levels, packed to the limit, 2x SLI modes for Buy/Sell or even higher res 300 levels
- Free History: auto highest/lowest, historic poc/va levels for each session
Features:
- High-Res Volume Profile with up to 100 levels (line implementation)
- 2x SLI modes for even higher res: 300 levels with 3x vertical SLI, 100 buy/sell levels with 2x horiz SLI
- Calculate Volume Profile on full history
- POC, Developing POC Levels
- Buy/Sell/Total volume modes
- Side Cover
- Value Area, VAH/VAL dynamic levels
- VWAP High/Low dynamic levels with Source, Length, StdDev as params
- Show/Hide all levels
- Dim Non Value Area Zones
- Custom Range with Highlighting
- 3 Anchor points for Volume Profile
- Flip Levels Horizontally
- Adjustable width, offset and spacing of levels
- Custom Color for POC/VA/VWAP levels, Transparency for buy/sell levels
WARNING:
- Compilation Time: 1 min 20 sec
Usage:
- specify max_level/min_level/spacing (required)
- select range (start_bar, range length), confirm with range highlighting
- select volume type: Buy/Sell/Total
- select mode Value Area/VWAP to show corresponding levels
- flip/select anchor point to position the buy/sell levels
- use Horiz Buy/Sell SLI mode with 100 or Vertical SLI with 300 levels if needed
- use POC/Developing POC/VA/VWAP High/Low as S/R levels. Usually daily values from 1-3 days back are used as levels for the current day.
SLI:
use SLI modes to extend the functionality of the indicator:
- Horiz Buy/Sell 2x SLI lets you view 100 Buy/Sell Levels at the same time
- Vertical Max_Vol 3x SLI lets you increase the resolution to 300 levels
- you need at least 2 instances of the indicator attached to the same chart for SLI to work
1) Enable Horiz SLI:
- attach 2 indicator instances to the chart
- make sure all instances have the same min_level/max_level/range/spacing settings
- select volume type for each instance: you can have a buy/sell or buy/total or sell/total SLI. Make sure your buy volume instance is the last attached to be displayed on top of sell/total instances without overlapping.
- set buy_sell_sli_mode to true for indicator instances with volume_type = buy/sell, for type total this is optional.
- this basically tells the script to calculate % lengths based on total volume instead of individual buy/sell volumes and use ext offset for sell levels
- Sell Offset is calculated relative to Buy Offset to stack/extend sell after buy. Buy Offset = Zero - Buy Length. Sell Offset = Buy Offset - Sell Length = Zero - Buy Length - Sell Length
- there are no master/slave instances in this mode, all indicators are equal, poc/va levels are not affected and can work independently, i.e. one instance can show va levels, another - vwap.
2) Enable Vertical SLI:
- attach the first instance and evaluate the full range to roughly determine where is the highest max_vol/poc level i.e. 0..20000, poc is in the bottom half (third, middle etc) or
- add more instances and split the full vertical range between them, i.e. set min_level/max_level of each corresponding instance to 0..10000, 10000..20000 etc
- make sure all instances have the same range/spacing settings
- an instance with a subrange containing the poc level of the full range is now your master instance (bottom half). All other instances are slaves, their levels will be calculated based on the max_vol/poc of the master instance instead of local values
- set show_max_vol_sli to true for the master instance. for slave instances this is optional and can be used to check if master/slave max_vol values match and slave can read the master's value. This simply plots the max_vol value
- you can also attach all instances and set show_max_vol_sli to true in all of them - the instance with the largest max_vol should become the master
Auto/Manual Ext Max_Vol Modes:
- for auto vertical max_vol SLI mode set max_vol_sli_src in all slave instances to the max_vol of the master indicator: "VolumeProfileFree_MAX_RRB: Max Volume for Vertical SLI Mode". It can be tricky with 2+ instances
- in case auto SLI mode doesn't work - assign max_vol_sli_ext in all slave instances the max_vol value of the master indicator manually and repeat on each change
- manual override max_vol_sli_ext has higher priority than auto max_vol_sli_src when both values are assigned, when they are 0 and close respectively - SLI is disabled
- master/slave max_vol values must match on each bar at all times to maintain proper level scale, otherwise slave's levels will look larger than they should relative to the master's levels.
- Max_vol (red) is the last param in the long list of indicator outputs
- the only true max_vol/poc in this SLI mode is the master's max_vol/poc. All poc/va levels in slaves will be irrelevant and are disabled automatically. Slaves can only show VWAP levels.
- VA Levels of the master instance in this SLI mode are calculated based on the subrange, not the whole range and may be inaccurate. Cross check with the full range.
WARNING!
- auto mode max_vol_sli_src is experimental and may not work as expected
- you can only assign auto mode max_vol_sli_src = max_vol once due to some bug with unhandled exception/buffer overflow in Tradingview. Seems that you can clear the value only by removing the indicator instance
- sometimes you may see a "study in error state" error when attempting to set it back to close. Remove indicator/Reload chart and start from scratch
- volume profile may not finish to redraw and freeze in an ugly shape after an UI parameter change when max_vol_sli_src is assigned a max_vol value. Assign it to close - VP should redraw properly, but it may not clear the assigned max_vol value
- you can't seem to be able to assign a proper auto max_vol value to the 3rd slave instance
- 2x Vertical SLI works and tested in both auto/manual, 3x SLI - only manual seems to work (you can have a mixed mode: 2nd instance - auto, 3rd - manual)
Notes:
- This code uses Pinescript v3 compatibility framework
- This code is 20x-30x faster (main for cycle is removed) especially on lower tfs with long history - only 4-5 sec load/redraw time vs 30-60 sec of the old Pro versions
- Instead of repeatedly calculating the total sum of volumes for the whole range on each bar, vol sums are now increased on each bar and passed to the next in the range making it a per range vs per bar calculation that reduces time dramatically
- 100 levels consist of 50 main plot levels and 50 line objects used as alternate levels, differences are:
- line objects are always shown on top of other objects, such as plot levels, zero line and side cover, it's not possible to cover/move them below.
- all line objects have variable lengths, use actual x,y coords and don't need side cover, while all plot levels have a fixed length of 100 bars, use offset and require cover.
- all key properties of line objects, such as x,y coords, color can be modified, objects can be moved/deleted, while this is not possible for static plot levels.
- large width values cause line objects to expand only up/down from center while their length remains the same and stays within the level's start/end points similar to an area style.
- large width values make plot levels expand in all directions (both h/v), beyond level start/end points, sometimes overlapping zero line, making them an inaccurate % length representation, as opposed to line objects/plot levels with area style.
- large width values translate into different widths on screen for line objects and plot levels.
- you can't compensate for this unwanted horiz width expansion of plot levels because width uses its own units, that don't translate into bars/pixels.
- line objects are visible only when num_levels > 50, plot levels are used otherwise
- Since line objects are lines, plot levels also use style line because other style implementations will break the symmetry/spacing between levels.
- if you don't see a volume profile check range settings: min_level/max_level and spacing, set spacing to 0 (or adjust accordingly based on the symbol's precision, i.e. 0.00001)
- you can view either of Buy/Sell/Total volumes, but you can't display Buy/Sell levels at the same time using a single instance (this would 2x reduce the number of levels). Use 2 indicator instances in horiz buy/sell sli mode for that.
- Volume Profile/Value Area are calculated for a given range and updated on each bar. Each level has a fixed length. Offsets control visible level parts. Side Cover hides the invisible parts.
- Custom Color for POC/VA/VWAP levels - UI Style color/transparency can only change shape's color and doesn't affect textcolor, hence this additional option
- Custom Width - UI Style supports only width <= 4, hence this additional option
- POC is visible in both modes. In VWAP mode Developing POC becomes VWAP, VA High and Low => VWAP High and Low correspondingly to minimize the number of plot outputs
- You can't change buy/sell level colors from input (only transparency) - this requires 2x plot outputs => 2x reduces the number of levels to fit the max 64 limit. That's why 2 additional plots are used to dim the non Value Area zones
- You can change level transparency of line objects. Due to Pinescript limitations, only discrete values are supported.
- Inverse transp correlation creates the necessary illusion of "covered" line objects, although they are shown on top of the cover all the time
- If custom lines_transp is set the illusion will break because transp range can't be skewed easily (i.e. transp 0..100 is always mapped to 100..0 and can't be mapped to 50..0)
- transparency can applied to lines dynamically but nva top zone can't be completely removed because plot/mixed type of levels are still used when num_levels < 50 and require cover
- transparency can't be applied to plot levels dynamically from script this can be done only once from UI, and you can't change plot color for the past length bars
- All buy/sell volume lengths are calculated as % of a fixed base width = 100 bars (100%). You can't set show_last from input to change it
- Range selection/Anchoring is not accurate on charts with time gaps since you can only anchor from a point in the future and measure distance in time periods, not actual bars, and there's no way of knowing the number of future gaps in advance.
- Adjust Width for Log Scale mode now also works on high precision charts with small prices (i.e. 0.00001)
- in Adjust Width for Log Scale mode Level1 width extremes can be capped using max deviation (when level1 = 0, shift = 0 width becomes infinite)
- There's no such thing as buy/sell volume, there's just volume, but for the purposes of the Volume Profile method, assume: bull candle = buy volume, bear candle = sell volume
P.S. I am your grandfather, Luke! Now, join the Dark Side in your father's steps or be destroyed! Once more the Sith will rule the Galaxy, and we shall have peace...
Weekdays HeatmapA utility tool for getting interesting weekdays statistics.
Features
26 sources (standard prices, volumes, ranges)
Readable and optimized code
How to interpret
The darker the color, the stronger the weekday dominance
Supported sources/metrics
open
high
low
close
oo2 , (open + previous open) / 2
oh2 , (open + high) / 2
ol2 , (open + low) / 2
oc2 , (open + close) / 2
hh2 , (high + previous high) / 2
hl2 , median price
hc2 , (high + close) / 2
ll2 , (low + previous low) / 2
lc2 , (low + close) / 2
cc2 , (close + previous close) / 2
hlc3 , typical price
ohlc4
weighted close , (2 * close + high + low) / 4
true range
double true range , by Cynthia Kase
open/close range
high/low range
volume
tick volume
net volume
on balance volume
acc/dist , accumulation/distribution line
price volume trend
trade value , volume * close * pipvalue
How to get access
PM me for more details
Ticker Pulse Meter BasicPairs nicely with the Contrarian 100 MA located here:
and the Enhanced Stock Ticker with 50MA vs 200MA located here:
Description
The Ticker Pulse Meter Basic is a dynamic Pine Script v6 indicator designed to provide traders with a visual representation of a stock’s price position relative to its short-term and long-term ranges, enabling clear entry and exit signals for long-only trading strategies. By calculating three normalized metrics—Percent Above Long & Above Short, Percent Above Long & Below Short, and Percent Below Long & Below Short—this indicator offers a unique "pulse" of market sentiment, plotted as stacked area charts in a separate pane. With customizable lookback periods, thresholds, and signal plotting options, it empowers traders to identify optimal entry points and profit-taking levels. The indicator leverages Pine Script’s force_overlay feature to plot signals on either the main price chart or the indicator pane, making it versatile for various trading styles.
Key Features
Pulse Meter Metrics:
Computes three percentages based on short-term (default: 50 bars) and long-term (default: 200 bars) lookback periods:
Percent Above Long & Above Short: Measures price strength when above both short and long ranges (green area).
Percent Above Long & Below Short: Indicates mixed momentum (orange area).
Percent Below Long & Below Short: Signals weakness when below both ranges (red area).
Flexible Signal Plotting:
Toggle between plotting entry (blue dots) and exit (white dots) signals on the main price chart (location.abovebar/belowbar) or in the indicator pane (location.top/bottom) using the Plot Signals on Main Chart option.
Entry/Exit Logic:
Long Entry: Triggered when Percent Above Long & Above Short crosses above the high threshold (default: 20%) and Percent Below Long & Below Short is below the low threshold (default: 40%).
Long Exit: Triggered when Percent Above Long & Above Short crosses above the profit-taking level (default: 95%).
Visual Enhancements:
Plots stacked area charts with semi-transparent colors (green, orange, red) for intuitive trend analysis.
Displays threshold lines for entry (high/low) and profit-taking levels.
Includes a ticker and timeframe table in the top-right corner for quick reference.
Alert Conditions: Supports alerts for long entry and exit signals, integrable with TradingView’s alert system for automated trading.
Technical Innovation: Combines normalized price metrics with Pine Script v6’s force_overlay for seamless signal integration on the price chart or indicator pane.
Technical Details
Calculation Logic:
Uses confirmed bars (barstate.isconfirmed) to calculate metrics, ensuring reliability.
Short-term percentage: (close - lowest(low, lookback_short)) / (highest(high, lookback_short) - lowest(low, lookback_short)).
Long-term percentage: (close - lowest(low, lookback_long)) / (highest(high, lookback_long) - lowest(low, lookback_long)).
Derived metrics:
pct_above_long_above_short = (pct_above_long * pct_above_short) * 100.
pct_above_long_below_short = (pct_above_long * (1 - pct_above_short)) * 100.
pct_below_long_below_short = ((1 - pct_above_long) * (1 - pct_above_short)) * 100.
Signal Plotting:
Entry signals (long_entry) use ta.crossover to detect when pct_above_long_above_short crosses above entryThresholdhigh and pct_below_long_below_short is below entryThresholdlow.
Exit signals (long_exit) use ta.crossover for pct_above_long_above_short crossing above profitTake.
Signals are plotted as tiny circles with force_overlay=true for main chart or standard plotting for the indicator pane.
Performance Considerations: Optimized for efficiency by calculating metrics only on confirmed bars and using lightweight plotting functions.
How to Use
Add to Chart:
Copy the script into TradingView’s Pine Editor and apply it to your chart.
Configure Settings:
Short Lookback Period: Adjust the short-term lookback (default: 50 bars) for sensitivity.
Long Lookback Period: Set the long-term lookback (default: 200 bars) for broader context.
Entry Thresholds: Modify high (default: 20%) and low (default: 40%) thresholds for entry conditions.
Profit Take Level: Set the exit threshold (default: 95%) for profit-taking.
Plot Signals on Main Chart: Check to display signals on the price chart; uncheck for the indicator pane.
Interpret Signals:
Long Entry: Blue dots indicate a strong bullish setup when price is high relative to both lookback ranges and weakness is low.
Long Exit: White dots signal profit-taking when strength reaches overbought levels.
Use the stacked area charts to assess trend strength and momentum.
Set Alerts:
Create alerts for Long Entry and Long Exit conditions using TradingView’s alert system.
Customize Visuals:
Adjust colors and thresholds via TradingView’s settings for better visibility.
The ticker table displays the symbol and timeframe in the top-right corner.
Example Use Cases
Swing Trading: Use entry signals to capture short-term bullish moves within a broader uptrend, exiting at profit-taking levels.
Trend Confirmation: Monitor the green area (Percent Above Long & Above Short) for sustained bullish momentum.
Market Sentiment Analysis: Use the stacked areas to gauge bullish vs. bearish sentiment across timeframes.
Notes
Testing: Backtest the indicator on your chosen market and timeframe to validate its effectiveness.
Compatibility: Built for Pine Script v6 and tested on TradingView as of June 20, 2025.
Limitations: Signals are long-only; adapt the script for short strategies if needed.
Enhancements: Consider adding a histogram for the difference between metrics or additional thresholds for nuanced trading.
Acknowledgments
Inspired by public Pine Script examples and designed to simplify complex market dynamics into a clear, actionable tool. For licensing or support, contact Chuck Schultz (@chuckaschultz) on TradingView. Share feedback in the comments, and happy trading!
VWVI - Volume Weighted Volatility Index# 📊 Complete VWVI Indicator User Guide (Current Version)
## 🔍 **I. Core Principles**
### **VWVI's Unique Value**
VWVI isn't a simple volatility indicator, but a **volume-confirmed volatility strength indicator**:
- **Problems with traditional volatility indicators**: ATR, Bollinger Bands, etc. only look at price movements while ignoring volume
- **VWVI advantage**: Only fluctuations accompanied by high volume are considered "true volatility"
- **Core logic**: Fluctuations driven by large capital are more important than retail noise
---
## 🎨 **II. Detailed Explanation of Current Version Visual Elements**
### **1. Main Line Color System (Most Important Signal)**
```
🟢 Green main line (VWVI > 60):
├─ Meaning: High volatility + high volume = true trend
├─ Market state: One-way market, breakout market, trend acceleration
├─ Trading opportunity: Trend following, momentum trading
└─ Duration: Typically lasts several cycles
🟠 Orange main line (40 ≤ VWVI ≤ 60):
├─ Meaning: Medium volatility or mismatched volume
├─ Market state: Transition phase, direction pending
├─ Trading strategy: Wait-and-see, await clear signals
└─ Note: High probability of false breakouts
🔴 Red main line (VWVI < 40):
├─ Meaning: Low volatility + low volume = consolidation
├─ Market state: Sideways, range-bound, shrinking volume
├─ Trading opportunity: Range trading, mean reversion
└─ Feature: Price oscillates between support/resistance
```
### **2. Reference Line System (Auxiliary Judgment)**
```
🟢 Trend threshold line (default 60):
├─ Function: Watershed for trend confirmation
├─ Breakout upward: Trend begins confirmation
├─ Break downward: Trend weakening or ending
└─ Adjustment suggestion: Can adjust based on market characteristics (50-70)
🔴 Range threshold line (default 40):
├─ Function: Confirmation line for range-bound markets
├─ Break downward: Range-bound market confirmed
├─ Breakout upward: Range may be ending
└─ Adjustment suggestion: Can adjust based on volatility (30-50)
⚫ Center line (50):
├─ Function: Market neutral reference
├─ Above: Trend characteristics
├─ Below: Range characteristics
└─ Meaning: Long-term equilibrium position
```
### **3. Background Coloring System (State Identification)**
```
🟢 Light green background:
├─ Trigger: VWVI > trend threshold
├─ Meaning: Trend confirmation period
├─ Trading suggestion: Trend following strategy
└─ Risk: Possible reversal at trend end
🔴 Light red background:
├─ Trigger: VWVI < range threshold
├─ Meaning: Range-bound confirmation period
├─ Trading suggestion: Range trading strategy
└─ Opportunity: Look for support/resistance levels
🟩 Green background flashing:
├─ Trigger: VWVI breaks through trend threshold
├─ Meaning: Trend signal generated
├─ Action: Consider establishing trend positions
└─ Confirmation: Needs other indicators
🟥 Red background flashing:
├─ Trigger: VWVI breaks below range threshold
├─ Meaning: Range signal generated
├─ Action: Consider range trading strategy
└─ Confirmation: Observe persistence
```
### **4. Information Panel (Upper Right Corner)**
```
📊 Real-time data display:
├─ VWVI value: Current indicator reading
├─ Current state: Trend/Range/Neutral
├─ Volume status: Above/Below 20-day average
├─ Volatility strength: High/Low volatility
├─ Trend threshold: Current setting
└─ Range threshold: Current setting
```
---
## 📈 **III. Specific Usage Methods**
### **A. Trend Following Strategy**
```
🎯 Entry timing:
✅ VWVI breaks above 60 from below (green background flashing)
✅ Main line turns green and continues rising
✅ Volume status shows "above average"
✅ Volatility strength shows "high volatility"
📍 Position management:
- Continue holding: VWVI remains above 60
- Reduce position warning: VWVI starts declining but still >50
- Stop loss exit: VWVI breaks below 50 or turns orange
⚠️ Risk control:
- False breakout: VWVI quickly falls back after breaking 60
- Trend end: VWVI oscillates at high levels
```
### **B. Range Trading Strategy**
```
🎯 Confirm range:
✅ VWVI breaks below 40 (red background flashing)
✅ Main line turns red and lingers at low levels
✅ Volume status shows "below average"
✅ Volatility strength shows "low volatility"
📍 Trading strategy:
- Upper range: Look for resistance to short
- Lower range: Look for support to long
- Stop loss: Breakout beyond range boundaries
- Profit target: Near range midpoint
⚠️ Notes:
- False breakouts may occur at range end
- Abnormal volume spikes may signal trend change
```
### **C. State Transition Strategy**
```
🔄 Range→Trend transition:
- Observe: VWVI rises from <40 to 40-60 range
- Prepare: Orange main line phase preparation
- Confirm: Consider entry when breaking 60
- Verify: Whether volume expands simultaneously
🔄 Trend→Range transition:
- Warning: VWVI declines from >60 to 40-60 range
- Reduce position: Gradually reduce in orange phase
- Confirm: Switch to range strategy when breaking 40
- Observe: Whether it's a trend pullback
```
---
## ⚠️ **IV. Common Mistakes and Precautions**
### **❌ Common Mistakes**
1. **Mistake 1: Using VWVI alone**
- ❌ Wrong: Making trading decisions based solely on VWVI
- ✅ Correct: Combine with price action, support/resistance, other indicators
2. **Mistake 2: Ignoring volume confirmation**
- ❌ Wrong: Only looking at VWVI values, ignoring volume status
- ✅ Correct: VWVI signal + volume confirmation = more reliable signal
3. **Mistake 3: Overtrading**
- ❌ Wrong: Trading every color change
- ✅ Correct: Wait for clear state transition signals
4. **Mistake 4: Fixed thresholds**
- ❌ Wrong: Using 60/40 thresholds for all markets
- ✅ Correct: Adjust parameters for different products
5. **Mistake 5: Ignoring background information**
- ❌ Wrong: Not considering market environment and fundamentals
- ✅ Correct: Combine with market cycles and important events
### **⚡ Special Situation Handling**
```
🚨 Abnormal signal identification:
- VWVI spikes sharply >80: May indicate sudden events
- VWVI remains <20 long-term: Extreme market contraction
- Frequent oscillation near thresholds: Market indecision
- Volume-VWVI divergence: Requires caution
🎯 Optimal usage environment:
✅ Suitable: Actively traded mainstream products
✅ Suitable: Markets with sufficient historical data
✅ Suitable: Exchanges with accurate volume data
❌ Not suitable: Extremely low liquidity products
❌ Not suitable: Heavily manipulated small coins
❌ Not suitable: Newly listed products (insufficient data)
```
### **🔧 Parameter Optimization Suggestions**
```
📊 Parameter suggestions for different markets:
- BTC/ETH major coins: Keep default 14/60/40
- Altcoins: Can adjust to 10/65/35 (more sensitive)
- Stock market: Can adjust to 20/55/45 (more stable)
- Forex market: Can adjust to 21/58/42 (follow tradition)
⏱️ Different timeframes:
- 1-minute: Not recommended (too noisy)
- 5-15 minutes: Short-term trading, can adjust sensitivity
- 1-4 hours: Medium-term trading, keep defaults
- Daily: Long-term analysis, can be more conservative
```
**Summary: VWVI is a powerful market state identification tool, but requires correct understanding of its meaning, combination with other analysis methods, and avoidance of overtrading to maximize effectiveness.**
# 📊 VWVI指标完全使用指南(当前版本)
## 🔍 **一、指标核心原理**
### **VWVI的独特价值**
VWVI不是简单的波动率指标,而是**成交量确认的波动强度指标**:
- **传统波动率指标问题**:ATR、布林带等只看价格波动,忽略了成交量
- **VWVI的优势**:只有伴随大成交量的波动才被认为是"真实波动"
- **核心逻辑**:大资金推动的波动比散户噪音更重要
---
## 🎨 **二、当前版本视觉元素详解**
### **1. 主线颜色系统(最重要的信号)**
```
🟢 绿色主线 (VWVI > 60):
├─ 含义:高波动 + 高成交量 = 真实趋势
├─ 市场状态:单边行情、突破行情、趋势加速
├─ 交易机会:趋势跟随、动量交易
└─ 持续时间:通常持续数个周期
🟠 橙色主线 (40 ≤ VWVI ≤ 60):
├─ 含义:中等波动或成交量不匹配
├─ 市场状态:过渡阶段、方向待定
├─ 交易策略:观望、等待明确信号
└─ 注意:假突破高发区域
🔴 红色主线 (VWVI < 40):
├─ 含义:低波动 + 低成交量 = 震荡整理
├─ 市场状态:横盘、区间震荡、成交萎缩
├─ 交易机会:区间交易、均值回归
└─ 特征:价格在支撑阻力间反复
```
### **2. 参考线系统(辅助判断)**
```
🟢 趋势阈值线 (默认60):
├─ 作用:趋势确认的分水岭
├─ 突破向上:趋势行情开始确认
├─ 跌破向下:趋势减弱或结束
└─ 调整建议:可根据市场特性调整(50-70)
🔴 震荡阈值线 (默认40):
├─ 作用:震荡行情的确认线
├─ 跌破向下:震荡行情确认
├─ 突破向上:震荡可能结束
└─ 调整建议:可根据波动性调整(30-50)
⚫ 中线 (50):
├─ 作用:市场中性参考
├─ 上方:偏向趋势特征
├─ 下方:偏向震荡特征
└─ 意义:长期均衡位置
```
### **3. 背景着色系统(状态识别)**
```
🟢 淡绿色背景:
├─ 触发:VWVI > 趋势阈值
├─ 含义:趋势行情确认期
├─ 交易建议:趋势跟随策略
└─ 风险:趋势末期可能反转
🔴 淡红色背景:
├─ 触发:VWVI < 震荡阈值
├─ 含义:震荡行情确认期
├─ 交易建议:区间交易策略
└─ 机会:寻找支撑阻力位
🟩 绿色背景闪烁:
├─ 触发:VWVI突破趋势阈值瞬间
├─ 含义:趋势信号产生
├─ 行动:考虑建立趋势仓位
└─ 确认:需结合其他指标
🟥 红色背景闪烁:
├─ 触发:VWVI跌破震荡阈值瞬间
├─ 含义:震荡信号产生
├─ 行动:考虑区间交易策略
└─ 确认:观察是否持续
```
### **4. 信息面板(右上角)**
```
📊 实时数据显示:
├─ VWVI数值:当前指标读数
├─ 当前状态:趋势/震荡/中性
├─ 成交量状态:高于/低于20日均值
├─ 波动强度:高波动/低波动
├─ 趋势阈值:当前设置值
└─ 震荡阈值:当前设置值
```
---
## 📈 **三、具体使用方法**
### **A. 趋势跟随策略**
```
🎯 入场时机:
✅ VWVI从下方突破60(绿色背景闪烁)
✅ 主线变为绿色且持续上升
✅ 成交量状态显示"高于均值"
✅ 波动强度显示"高波动"
📍 持仓管理:
- 继续持有:VWVI保持在60以上
- 减仓警告:VWVI开始下降但仍>50
- 止损离场:VWVI跌破50或变为橙色
⚠️ 风险控制:
- 假突破:VWVI突破60后快速回落
- 趋势末期:VWVI在高位震荡
```
### **B. 震荡交易策略**
```
🎯 确认震荡:
✅ VWVI跌破40(红色背景闪烁)
✅ 主线变为红色且在低位徘徊
✅ 成交量状态显示"低于均值"
✅ 波动强度显示"低波动"
📍 操作策略:
- 区间上沿:寻找阻力位做空
- 区间下沿:寻找支撑位做多
- 止损设置:突破区间边界
- 利润目标:区间中轴附近
⚠️ 注意事项:
- 震荡末期可能出现假突破
- 成交量异常放大需警惕变盘
```
### **C. 状态转换策略**
```
🔄 震荡→趋势转换:
- 观察:VWVI从<40上升至40-60区间
- 准备:橙色主线阶段做好准备
- 确认:突破60时考虑入场
- 验证:成交量是否同步放大
🔄 趋势→震荡转换:
- 警告:VWVI从>60下降至40-60区间
- 减仓:橙色主线阶段逐步减仓
- 确认:跌破40时转为震荡策略
- 观察:是否为趋势中的回调
```
---
## ⚠️ **四、使用误区与注意事项**
### **❌ 常见误区**
1. **误区一:单独使用VWVI**
- ❌ 错误:仅凭VWVI做交易决策
- ✅ 正确:结合价格行为、支撑阻力、其他指标
2. **误区二:忽略成交量确认**
- ❌ 错误:只看VWVI数值,不看成交量状态
- ✅ 正确:VWVI信号+成交量确认=更可靠信号
3. **误区三:频繁交易**
- ❌ 错误:每次颜色变化都交易
- ✅ 正确:等待明确的状态转换信号
4. **误区四:固定阈值**
- ❌ 错误:所有市场都用60/40阈值
- ✅ 正确:根据不同品种调整参数
5. **误区五:忽略背景信息**
- ❌ 错误:不看市场环境和基本面
- ✅ 正确:结合市场周期和重要事件
### **⚡ 特殊情况处理**
```
🚨 异常信号识别:
- VWVI急剧飙升>80:可能是突发事件
- VWVI长期<20:市场极度萎缩
- 频繁在阈值附近震荡:市场犹豫不决
- 成交量与VWVI背离:需谨慎对待
🎯 最佳使用环境:
✅ 适用:活跃交易的主流品种
✅ 适用:有足够历史数据的市场
✅ 适用:成交量数据准确的交易所
❌ 不适用:极低流动性品种
❌ 不适用:操纵严重的小币种
❌ 不适用:新上市品种(数据不足)
```
### **🔧 参数调优建议**
```
📊 不同市场的参数建议:
- BTC/ETH主流币:保持默认14/60/40
- 山寨币:可调整为10/65/35(更敏感)
- 股票市场:可调整为20/55/45(更稳定)
- 外汇市场:可调整为21/58/42(跟随传统)
⏱️ 不同时间周期:
- 1分钟:不建议使用(噪音太大)
- 5-15分钟:短线交易,参数可调敏感
- 1-4小时:中线交易,保持默认
- 日线:长线分析,可调保守
```
**总结:VWVI是一个强大的市场状态识别工具,但需要正确理解其含义,结合其他分析方法,避免过度交易,才能发挥最大效用。**
Cipher B - Liberator VersionLiberated version of VuManChu Cipher B
Cipher B - Liberator Version Indicator Description
Overview:
The Cipher B - Liberator Version is a comprehensive technical analysis indicator designed for TradingView using Pine Script (version 6). It combines multiple indicators—WaveTrend (WT), Relative Strength Index (RSI), and Money Flow Index (MFI)—to provide traders with insights into market trends, momentum, overbought/oversold conditions, and potential divergence signals. The indicator is highly customizable, allowing users to toggle various components, adjust parameters, and fine-tune visual outputs to suit their trading strategies.
Key Features
WaveTrend (WT):
Purpose: Identifies momentum and potential reversal points in the market using a WaveTrend calculation.
Components:
WT Wave 1 (wt1): A fast-moving WaveTrend line based on an Exponential Moving Average (EMA) of the price source.
WT Wave 2 (wt2): A slower-moving smoothed line (Simple Moving Average of wt1) used to detect crossovers.
Overbought/Oversold Levels: Configurable thresholds (default: +60 for overbought, -60 for oversold) to highlight extreme conditions.
Cross Signals: Plots circles when wt1 crosses wt2, indicating potential buy (bullish cross) or sell (bearish cross) signals.
Strong Signals: Uses distinct colors (red for strong sell, green for strong buy) when crosses occur at overbought/oversold levels.
Gold Buy Signals: Highlights specific bullish conditions combining WT divergence, oversold levels, and RSI confirmation, marked with orange dots.
Customization:
Adjustable channel length, average length, and moving average source/length.
Option to show/hide WT lines and gold buy signals.
Configurable colors for WT lines and signal dots.
RSI (Relative Strength Index):
Purpose: Measures price momentum and identifies overbought/oversold conditions.
Components:
Plots the RSI line with customizable overbought (default: 60) and oversold (default: 30) levels.
Colors the RSI line differently based on its position relative to these levels (black for overbought, white for oversold, custom blue for in-between).
Customization:
Toggle RSI visibility.
Adjustable source, length, and overbought/oversold thresholds.
Customizable colors for different RSI states.
MFI (Money Flow Index) Area:
Purpose: Combines price and volume to gauge buying/selling pressure, displayed as an area plot.
Components:
Calculates a custom MFI based on the ratio of price movement (close - open) to range (high - low), scaled by a multiplier.
Plots positive MFI values in one color (default: white) and negative values in another (default: black).
Customization:
Toggle MFI visibility.
Adjustable period, multiplier, and vertical position.
Configurable colors for positive and negative MFI areas.
Divergence Detection:
Purpose: Identifies regular and hidden divergences on both WT and RSI to signal potential reversals or trend continuations.
Components:
Regular Divergences: Detects bearish (price makes higher high, indicator makes lower high) and bullish (price makes lower low, indicator makes higher low) divergences.
Hidden Divergences: Detects hidden bearish (price makes lower high, indicator makes higher high) and hidden bullish (price makes higher low, indicator makes lower low) divergences.
WT Divergences: Supports two levels of divergence detection with configurable thresholds (e.g., 45/-65 for primary, 15/-40 for secondary).
RSI Divergences: Detects divergences with customizable thresholds (default: 60/30).
Fractal-Based Detection: Uses a fractal algorithm to identify tops and bottoms for divergence calculations.
Customization:
Toggle regular and hidden divergences for both WT and RSI.
Option to bypass overbought/oversold limits for hidden divergences.
Adjustable divergence thresholds and colors (black for bearish, white for bullish).
Visual Elements:
Plots:
WT Wave 1 and Wave 2 as semi-transparent area plots.
MFI as a semi-transparent area plot.
RSI as a line plot with dynamic coloring.
Divergence signals as lines at fractal points, offset by 2 bars for clarity.
Cross signals as circles with dynamic colors (white/black for normal, green/red for strong).
Gold buy signals as orange dots at specific conditions.
Lines: Horizontal lines for overbought (+60) and oversold (-60) levels.
Customization: Extensive color settings for all elements, with transparency adjustments for better chart readability.
Parameters and Customization
The indicator is grouped into settings for easy configuration:
WaveTrend Settings:
Show/hide WT and gold buy signals.
Adjust channel length (default: 9), average length (default: 12), MA source (default: hlc3), and MA length (default: 3).
Set overbought (60) and oversold (-60) levels.
Configure divergence thresholds and toggle regular/hidden divergences.
MFI Settings:
Show/hide MFI.
Adjust period (default: 60), multiplier (default: 150), and Y-position (default: 2.5).
RSI Settings:
Show/hide RSI and divergences.
Adjust source (default: close), length (default: 14), and overbought/oversold levels (60/30).
Color Settings:
Custom colors for WT lines, RSI states, MFI areas, divergence signals, and cross circles.
Use Cases
Trend Identification: Use WT cross signals and gold buy dots to identify potential entry/exit points.
Reversal Detection: Monitor divergences (regular and hidden) on WT and RSI for early reversal signals.
Momentum Analysis: Combine RSI and MFI to assess momentum and buying/selling pressure.
Overbought/Oversold Conditions: Leverage WT and RSI levels to spot extreme market conditions.
Notes
The indicator is designed for flexibility, allowing traders to enable/disable components based on their strategy.
Divergence detection uses a fractal-based approach, which may lag by a few bars due to the confirmation of tops/bottoms.
The gold buy signal is a specialized feature combining WT and RSI conditions for high-probability bullish setups.
Ensure proper timeframe selection, as some calculations use request.security to fetch data, which may depend on the chart’s timeframe.
This indicator is ideal for traders seeking a multi-faceted tool to analyze momentum, divergences, and market extremes with a high degree of customization.
SMT Time Windows# SMT Time Windows
SMT Time Windows is a Pine Script v6 indicator by **Originalsauce1** that automates ICT-style Smart Money Technique (SMT) divergences between two correlated symbols. It detects bullish and bearish SMT divergences using swing highs/lows (pivot logic) across both instruments. Bullish SMT occurs when one symbol makes a higher low while the other forms a lower low; bearish SMT is when one symbol prints a higher high while the other records a lower high. These divergences highlight imbalances in correlated markets and can signal potential momentum shifts. SMT Time Windows plots clear labels for each divergence event and offers comprehensive filtering by custom time sessions.
## Key Features
* **Time Window Filters:** Define up to three custom time windows (e.g. 2:00–4:00 AM, 6:00–8:30 AM, 9:00–10:30 AM) with individual enable/disable toggles. Active windows can be highlighted on the chart with optional background shading for visual cueing.
* **Timezone Support:** User-selectable time zone ensures that time windows align correctly across different session schedules (global session alignment).
* **Adjustable Detection:** Set the pivot **length** (sensitivity of swing detection) and the signal **timeframe**. This pivot-based approach confirms valid swing highs/lows before marking divergences.
* **Clean SMT Labels:** The indicator plots “Bullish SMT” or “Bearish SMT” labels at the relevant pivots, clearly marking each divergence event. Label color and style are customizable, providing a clean visual cue of SMT signals.
* **Chart Highlights:** Optionally shade the chart background during active time windows, making it easy to see when the session filter is in effect.
* **Session Status Table:** An on-chart table shows which time windows are currently active (e.g. shows “Open”/“Closed” status). This real-time session table provides live feedback similar to other TradingView session trackers.
* **Comparison Symbol & Alerts:** Optionally overlay the comparison symbol on your chart. Built-in alerts notify you when bullish or bearish SMT divergences occur, allowing timely review.
## How It Works
SMT Time Windows checks for divergences between two positively correlated markets (for example, equity futures like S\&P 500 (ES) vs Nasdaq 100 (NQ), or FX pairs like US Dollar Index vs EUR/USD). When one instrument’s swing high/low is not confirmed by the other, it flags this as an SMT event. For instance, a **Bearish SMT** is identified when one symbol makes a higher high but the other fails to keep pace (prints a lower high); a **Bullish SMT** is when one symbol’s low is higher while the other’s low is lower. These divergences are interpreted as signs of uneven buying/selling pressure and can precede shifts in momentum.
The indicator is designed for use with correlated markets (e.g. ES/NQ, DXY/EURUSD, etc.) to enhance your market structure analysis. It is not a “set and forget” signal but a tool to spot potential imbalances. Use SMT Time Windows alongside your discretionary analysis and higher-timeframe context for best results.
## Disclaimer
This script is provided *“for educational and informational purposes only”*. It is **not** financial or trading advice. Always perform your own analysis and risk management before making trading decisions.
*Created by Originalsauce1. For educational and informational purposes only.*
X OROverview
Designed to plot hourly opening ranges (ORs) on an intraday chart. It primarily serves as a trading tool for assessing market direction and potential trading opportunities by analyzing price action relative to key OHLC (Open, High, Low, Close) levels within each hourly range.
The code provided is for each hour sessions from 2:00 AM to 3:00 PM for a complete session-based framework. In addition there is the RTH open range
Purpose
The core purpose of this indicator is to:
✅ Define each hourly range (based on the session’s opening bar) by recording the high and low of that range.
✅ Extend this range into the following bars for visual reference — serving as dynamic support and resistance zones.
✅ Monitor price action relative to each hourly OR, helping traders evaluate market direction and structure trades using concepts like:
Breakouts above/below the OR high/low.
Rejections or consolidations within the OR.
Continuation or reversal signals tied to each OR.
Key Features
The script marks the first bar of the session as the OR session start.
During this bar, it initializes:
Opening price
Session high
Session low
These levels form the initial range.
🔹 Dynamic Range Tracking
Throughout the one-minute OR session:
The highest and lowest prices are updated in real time, capturing intra-hour volatility.
A visual background box is drawn to highlight the OR range on the chart.
🔹 Range Extension
The script defines an extended session period after the initial OR (e.g., 2:00 AM-2:45 AM for the 2:00 AM session).
During this extension period:
The box persists on the chart, providing a contextual zone that traders can use as a dynamic support/resistance area.
🔹 Visual Representation
Transparent colored boxes highlight each session’s OR visually on the chart.
These boxes help traders easily identify whether price is trading:
Inside the OR
Breaking above the high (potential bullish continuation)
Breaking below the low (potential bearish continuation)
Application in Trading
🔍 Trading the Opening Range Breakout
Traders often use the OR high and low as breakout triggers. For example:
A price break above the OR high may signal bullish momentum.
A break below the OR low may signal bearish momentum.
⚖️ Support and Resistance
Even if breakouts fail, the OR can act as a pivot zone — offering areas for:
Stop placements
Target levels
Entry confirmations for fade trades or mean reversion strategies.
🕒 Session Awareness
By defining each hour’s OR individually (from 2:00 AM to 3:00 PM), traders can:
Analyze price behavior within each session.
Recognize when liquidity or volatility increases (e.g. around overlapping sessions like London open or New York open).
Summary
This Pine Script indicator provides a powerful framework for visualizing and trading hourly opening ranges. It enhances intraday analysis by:
Structuring price action within hourly boxes.
Highlighting key price levels relative to OHLC concepts.
Helping traders make more informed decisions by assessing price behavior around these critical ranges.