McMillan Volatility Bands w/ Buy & Sell Signals [optstrategist]BACKGROUND
McMillan Volatility Bands are an alternative approach to John Bollinger's "Bollinger Band" study and developed by world-renowned options trader and author Lawrence G. McMillan. Given his background in options trading, it was natural for Lawrence to approach any volatility-based study in the same manner options are priced --using Black-Scholes model. This model of pricing assumes a financial asset's volatility should be measured in percentage change rather than absolute value change.
OVERVIEW
The McMillan Volatility Bands indicator for TradingView will plot the 3 and 4-standard deviation bands around a 20-day moving average. This is how Larry has always used this system. The user can, however, change the standard deviation value as well as the moving average length to their preferred setting. This indicator can be used on any asset and on any timeframe.
Furthermore, the indicator will plot buy and sell signals based on a trading system used by Larry in his flagship newsletter publication The Daily Strategist. The system gives a signal when price closes outside the 4-sigma band and then closes back within the 3-sigma band. That 'signal bar' will be colored red or green for a sell or buy signal setup, respectively.
Finally, an arrow will be plotted on the chart where the system would actually enter the trade. This is determined when price trades a little beyond the extreme of the 'signal bar'. The level by which price has to go beyond the 'signal bar' is an input parameter and can be adjusted by the user. We've chosen the default value of 0.34. This means, the indicator will not give a buy or sell entry until the price moves: 1/3 x beyond the extreme signal bar. This is to prevent getting whipsawed by some setups that never really move in your favor. We've found it successfully removes the less-valuable trade setups.
PARAMETERS
ma_length => length of the moving average that the volatility bands work off of
outside_sigma => standard deviation of outer volatility band
inside_sigma => standard deviation of inner volatility band
entry_trigger_cushion => this refers to the percentage of the signal bar's range. The default value is 0.34. This means price will need to move 1/3 (~34%) of the signal bar's range beyond the high (for a buy) or low (for a sell) of the signal bar to trigger a buy/sell entry. This entry plots the arrow on the chart. We have found requiring this extra move in price eliminates many of the less-desirable signals at the expense of entering the better signals a little later.
WANT TO PURCHASE OR NEED MORE INFORMATION ON McMILLAN VOLATILITY BANDS?
Visit the link below to see purchasing options as well as screenshots of the indicator and how we trade it at McMillan Analysis Corp.
Wyszukaj w skryptach "Volatility"
Volatility Switch Indicator [LazyBear]The Volatility Switch (VOLSWITCH) indicator, by Ron McEwan, estimates current volatility in respect to historical data, thus indicating whether the market is trending or in mean reversion mode. Range is normalized to 0 - 1.
When Volatility Switch rises above the 0.5 level, volatility in the market is increasing, thus the price action can be expected to become choppier with abrupt moves. When the indicator falls below the 0.5 level from recent high readings, volatility decreases, which may be considered a sign of trend formation.
Trading strategy as suggested by Ron McEwan is:
- If VOLSWITCH is less than 0.5, volatility decreases, which may be considered a sign of trend formation
- If VOLSWITCH is greater than 0.5, market is in high volatility mode. Can be choppy. Use RSI to look for OB/OS levels.
I have implemented support for 2 lengths (14 and 21) Note that, Pine doesn't support loops. Once it is introduced, I will publish an updated version.
Building a strategy out of this is straightforward (refer to my strategy explanation above), I strongly encourage new Pinescript coders to try to a plotarrow() based overlay indicator to get more familiar with Pine.
More info:
---------
The Volatility (Regime) Switch Indicator : traders.com
Complete list of my indicators:
-------------------------------------
docs.google.com
Volatility Bands NGThe Volatility Bands indicator is a sophisticated trading system that combines adaptive filtering technology with volatility-based band mechanics to identify high-probability trading opportunities. At its core, this indicator employs an Adaptive Gaussian Filter that dynamically adjusts to market conditions, providing smoother and more responsive trend detection than traditional moving averages.
Credit at @BigBeluga for his work on gaussian bands.
Key Technologies & Features:
Adaptive Gaussian Filter: Uses a weighted Gaussian distribution that automatically adjusts its sigma parameter based on current market volatility, creating a self-optimizing smoothing mechanism
Integrated ATR Model: Combines traditional ATR with volume-adjusted and momentum-weighted true range calculations (90% ATR + 1% Volume-Adjusted TR + 9% Momentum-Weighted TR) for superior volatility measurement
Trend State Machine: Tracks trend direction, strength (0-100%), and duration using a sophisticated scoring algorithm that weighs momentum (40%), direction consistency (40%), and volatility normalization (20%)
Market Regime Detection: Automatically identifies whether the market is Trending, Choppy, or in Low Volatility mode
Squeeze Detection System: Identifies compression periods using Bollinger Bands vs Keltner Channels methodology, alerting to potential explosive moves
Multi-Factor Confirmation: Validates signals using volume spikes and Money Flow Index (MFI) to filter out false breakouts
Automatic Risk Management: Calculates real-time stop-loss and take-profit levels (2R and 3R) based on current volatility
Primary Trading Strategies:
1. Trend Following with Confirmations
Enter LONG when price crosses above the lower band (bullish trend line) with green arrows showing confirmations
Enter SHORT when price crosses below the upper band (bearish trend line) with red arrows showing confirmations
Look for "✓" symbol indicating both volume and momentum confirmation for highest probability trades
2. Squeeze Breakout Strategy
Monitor orange background highlighting (squeeze active)
Prepare for breakout when squeeze releases (orange diamond appears)
Combine with trend direction for directional bias
Best used in ranging markets transitioning to trending
3. Retest Entry Strategy (Enable "Show Retest Signals")
After initial trend signal, wait for price to pull back to the adaptive filter line
Enter on retest signals (secondary arrows) for better risk/reward
Particularly effective in strong trending markets
4. Market Regime Adaptation
Trending Regime: Use standard trend-following entries with wider stops
Chop Regime: Focus on squeeze plays and avoid trend signals
Low Vol Regime: Tighten stops and reduce position sizes
Risk Management Guidelines:
Use the automatically calculated Stop Loss levels displayed in the info table
Scale out at 2R and 3R take profit levels
Reduce position size when Trend Score < 50%
Increase position size on confirmed signals (✓) with Trend Score > 70%
Advanced Filtering:
Combine trend direction with Market Regime for optimal entries
Use MFI levels (default 40/60) to avoid overbought/oversold entries
Monitor "Duration" in the info table - fresh trends (< 10 bars) often have more momentum
⚡ TL;DR
BUY: Green arrow + price above blue line + trend score > 50%
SELL: Red arrow + price below blue line + trend score < 50%
Best Signals: Arrows with "✓" symbol (full confirmation)
Avoid: Signals during orange squeeze periods (wait for release)
Exit: Use table's stop-loss (red) and take-profit levels (green)
Optimal Settings (already defaulted):
Adaptive Period: ON
Adaptive Sigma: ON
Require Confirmation: ON
Show Squeeze: ON
The indicator does the heavy lifting - just follow the arrows with confirmations and respect the risk levels shown in the table. Works best on 15m+ timeframes for crypto and 1H+ for forex/stocks.
🎯 Pro Tip: The indicator shines in trending markets. When the info table shows "Trending" regime with 70%+ trend score, increase position confidence.
If you’ve found value in Oracle NG and would like to support further development, feel free to donate:
BTC: bc1q2n4up8wzgqdsw9j3dzcn5jaelddu52t7ahydy6
ETH: 0x9b72b42326836528cA608c90811487E5244D7744
AVAX C-Chain: 0x9b72b42326836528cA608c90811487E5244D7744
Session Volatility MonitorOverview
Session Volatility Monitor is a versatile volatility indicator tailored for intraday and session-based trading. It computes the average maximum price deviation (either up or down) from the session's opening price over a user-specified number of prior days, providing insights into expected "room to move" in the current session. This helps traders gauge potential exhaustion points, set realistic targets or stops, and identify when a directional move has reached historical norms (flagged as "REACHED" with the exact price level).
Displayed via a customisable table and optional horizontal target lines, it's ideal for markets like forex, crypto, futures, or stocks where session volatility matters. The indicator supports custom sessions with timezone adjustments, making it adaptable to global trading hours (e.g., London, NY, or Asia kill zones). For assets with small tick sizes (e.g., forex pairs at 0.0001), a multiplier scales values for readability (e.g., showing pips as 67.0 instead of 0.00670).
Key Features
Session-Based Calculations:
Defines sessions via presets (e.g., "NY Kill Zone: 07:00-10:00") or custom HHMM-HHMM inputs. (please note that preset sessions are mainly for futures e.g. "Full Day18:01-17:00", but also can be useful for forex and crypto)
Adjustable UTC offset (e.g., -5 for ET) to align with your asset's timezone—ensures accurate detection regardless of TradingView's UTC internal clock.
Tracks the max one-sided move (high - open or open - low) per session, averaging over 1–N previous days (default: 14).
Table Display:
Avg Max Move: Historical average deviation, labeled with days averaged and session time.
Current Move: Real-time displacement from session open (positive for up, negative for down).
Room to Go Up/Down: Remaining distance to reach the average, updating live; appends "REACHED (price)" if hit during the session.
Customisable: Text color, font size (tiny to huge), position (e.g., bottom_left), and value scaling via multiplier/decimal places.
Target Lines:
Optional horizontal lines at "Up Target" (open + avg move) and "Down Target" (open - avg move).
Lines start at the session open bar and extend only through the session duration (e.g., stops at 12:00 for a 07:00-12:00 session)—no further projection post-session.
Fully customisable: Toggle on/off, color, style (solid/dotted/dashed), width, label text/background.
Display Adjustments for Forex/Crypto:
Multiplier: Scales raw values (e.g., set to 10000 for EURUSD to show pips like 45.0 instead of 0.0045).
Decimals: Controls precision (0–5 places) for table values.
How to Use
Add to Chart: Search for "Session Volatility Monitor" in TradingView's indicators and apply to your symbol (e.g., EURUSD for forex, NQ1! for futures, BTCUSD for crypto).
Configure Settings:
Select a session preset or custom range; adjust UTC offset if needed (e.g., +0 for UTC symbols like crypto).
Set "Number of Previous Days to Average" (e.g., 14 for a two-week look back).
For small-tick assets, set Multiplier (e.g., 100 for crypto points, 10000 for forex pips) and Decimals (e.g., 0 for whole numbers).
Customise table position/size/color and target lines for visibility.
Interpret Outputs:
Monitor the table for "room to go"—if Room Up is low/negative, upside might be limited; "REACHED" signals a potential reversal or exhaustion.
Use target lines as visual S/R levels; they auto-start at session open and halt at close.
Combine with price action, volume, or other indicators for entries (e.g., buy near down target if bullish bias).
Example Scenario:
Forex (GBPUSD, 1-min): Set session to "London Kill Zone: 02:00-05:00" (UTC+0), multiplier=10000. Table shows pips; lines mark expected highs/lows.
Limitations and Tips
Historical Data Limits: Averages are capped by TradingView's bar history (e.g., ~14 days on 1-min for free plans). Upgrade for deeper look backs or use higher timeframes.
Session Accuracy: Ensure UTC offset matches your chart—test with the "In Session" plot (enable in Style tab, zoom y-axis if columns are tiny).
No Alerts/Signals: Purely informational; add custom alerts via TradingView for "REACHED" conditions.
Performance: On very low timeframes with long sessions, lines might consume line limits (max ~50)—toggle off if needed.
Tips: For crypto/forex, experiment with multiplier to match your preferred units (e.g., points vs. decimals). Hide debug plot in Style tab for clean charts. If "REACHED" doesn't trigger, verify on historical data where moves exceed averages.
This tool draws from concepts like Average Daily Range but focuses on directional, session-specific volatility for precise intraday decision-making. Feedback welcome!
Disclaimer
This indicator is for educational purposes only and does not constitute financial advice. Always consult a professional before trading.
Volatility BandsThe Volatility Bands script is a custom indicator designed to help traders visualize volatility levels in the market. It calculates dynamic bands around a central moving average, providing insights into potential support and resistance levels based on recent price action.
The script calculates multiple volatility bands (u0, u1, u2, d0, d1, d2) that adjust based on recent price movements. The outer bands (u2 and d2) represent extreme volatility levels, while the inner bands (u0, u1, d0, d1) indicate more immediate support and resistance.
Look for price reactions at the band levels. A touch of the upper bands may indicate overbought conditions, while a touch of the lower bands may indicate oversold conditions.
Central Moving Average: A smoothed moving average that adapts to price changes, providing a clear trend direction.
The script has no input parameters.
Script Functions:
erf(x): Calculates the error function for a given input x. Used in the calculation of the smoothing factor for the UMA.
uma(input): Provides a smoothed average that adapts to recent price changes, reducing lag compared to traditional moving averages.
dev(input, mu): Used to calculate the volatility bands around the central moving average.
Volatility Percentile (H-LINES)A simple script that adjusts the Volatility Percentile Indicator visibly in order to better accommodate entries/exits and certain trading setups/strategies.
--------------------------------------------------------------------------------------------------------------------------------------------------------
TL;DR - Remember after a full reset, we are looking for initial crosses UP on the UpperSwingline and crosses DOWN on the LowerSwingline for primary and secondary signal derivation.
Vice versa also works great but the prior method mentioned is a little more consistent in my experience, but you should mess around and optimise this for your own setups and strategies anyway.
--------------------------------------------------------------------------------------------------------------------------------------------------------
ORIGINAL SCRIPT HERE:
^Click image for a redirect to that script.
ALL CREDIT GOES TO: www.tradingview.com
He wrote everything so give credit where it's due, good bit of kit this here script is.
--------------------------------------------------------------------------------------------------------------------------------------------------------
HOW I USE MY VISUALLY ALTERED VERSION OF THIS SCRIPT
First of all, the alterations I've made seem only to be consistently viable with renko charts though if you can get the sought after results using candles or any other chart type then perfect, but be wary. All my back-testing done only with LinReg, HMA and SWMA - ATR type settings exclusively on renko charts. The changes I've made to the original script essentially just turns it visibly into an oscillator and uses a couple horizontal lines to generate signals, very simple - absolutely nothing has changed in the actual code of calculating this indicator.
What I believe my adjustments have achieved is quite simple. A full reset/oscillation on the indicator tries to map the strongest parts of a move or at least the part of the move where volume and the rate of transactions is at its peak to even facilitate said move. *take this statement with a pinch of salt though I do believe it's interacting with accumulation/distribution patterns, which is expected of volatility*
For ease of communication let's refer to the area between the the first UpperSwingline cross to the subsequent LowerSwingline cross, as the primary move. Then afterwards when it crosses the UpperSwingline again to make the full reset, the area in between those two points referred to as the secondary move.
Though more interestingly/practically the indicator ends up giving you two signals. In order for this to work we have to first decide that a spike up in volatility which crosses the UpperSwingline implies a significant level of interest at that price level. Usually that means a reversal is brewing, if price has already moved, trended and is approaching a certain area of value; which causes a spike of new positions to be taken, then you know that this is a level where contrarians are looking to enter. Now here's the tricky part, when volatility crosses the LowerSwingline price action becomes a little more open for interpretation, the way I personally like to look at this secondary signal is the potential for an exhaustion period to prolong itself a little longer. I know that's not the perfect analysis for what's going on, a more in-depth look into what's going on would best be described using Elliott Wave Theory, if a cross on the UpperSwingline near a significant area of value gives us a reversal trade lets just assume for the sake of argument that a new Elliott Wave can begin forming here. Making the move from that initial UpperSwngline cross to the cross on the LowerSwingline, the area that encompasses those two points: the impulse wave. After this point my analogy kind of falls apart and sadly my knowledge just isn't what it needs to be in order for me to properly analyse what's going on here but I must digress. Price after crossing the LowerSwingline up until the point where it makes a full reset by crossing the UpperSwingline again, within this area price seems to do either one of two things:
Situation 1 - Most likely occurs after a major trend reversal from major support/resistance or area of value (price has trended to new territory, maybe spent time a little time consolidating but hasn't broken the key level, momentum shifts, price action breaks current structure and you get the signal that primary move is a reversal) = Exhaustion Period, price will continue in direction of primary move during the secondary move. This here is for our trend-followers, you wanna take a continuation trade? Just wait for the pullback/rally to hit a FiB retracement level and enter - or any other means to find a decent support/resistance to enter.
Situation 2 - Most likely occurs when market enters a range or consolidation (price was previously seen as being at either a discount or premium so Situation 1 could have already played out and now you're looking at a full reset after that, imagine this spot to be the centre line of a linear regression channel or bang in the middle of your range, could even occur if price breaks a key moving average and decides it ought to consolidate around it for a while. Basically at any point where a somewhat prolonged consolidation is expected and not a quick reversal) = Corrective Wave, price will move against the direction of primary move during the secondary move. Now you might be expecting me to say this ones for you reversal traders but not really, if this is occurring then there probably isn't a definitive direction the market has chosen so you can use this opportunity to take range trades in the direction or against the direction of whatever the current trend or latest trend was depending on whatever slight bias you may have. <--- Situation 2 is very useful for finding cleaner entries if you do have a trend bias, say price underwent Situation 1, is now at key moving average but your bias is that it will break and continue up, so you wait and allow the secondary move of Situation 2 to take your entry to a much better R:R before entering a position.
--------------------------------------------------------------------------------------------------------------------------------------------------------
Volatility Trackerhi there, fellows.
this is a very simple and quite straightforward indicator.
so far the simplest we've built.
on what it does
in regard to current chart and timeframe it plots
a. Open - Close as a percentage of the Open (we regard open as more relevant than close, for as you can use latest estimates in current candle) in daily change coloring (so one may have an idea if there is a trend or sideways move unfolding)
b. High - Low as a percentage of the Open, so one may compare extreme moves with final ones in the period
c. Volume as a percentage distance from its WMA200 (always this one, a way better reference for normalcy). (e. g. a positive value x means Volume is x% above its WMA200)
on what it means
to the best of our imperfect and incomplete understanding, we believe that low volatility periods lead to high volatility periods, so one might want to enter the market in low volatility periods to enjoy wild rides afterwards. such a trade of course would be, for the sake of making sense, a long volatility one.
the timing for entrance could be once that the volatility waves fades to chart minimums.
we're open to critics, suggestions and comments.
best regards.
Full Volatility Statistics and Forecast
This is a tool designed to translate the data from the expected volatility of different assets, such as for example VIX, which measures the volatility of SP500 index.
Once get the data from the volatility asset we want to measure(for this test I have used VIX), we are going to translate it the required timeframe expected move by dividing the initial value into :
252 = if we want to use the daily timeframe, since there are ~252 aproximative daily trading days
52 = if we want to use the weekly timeframe, since there 52 trading weeks in a year
12 = if we want to use the monthly timeframe, since there are 12 months in a year
For this example I have used 252 with the daily timeframe.
In this scenario, we can see that we had 5711 total cnadles which we analysed, and in this case, we had 942 crosses, where the daily movement ended up either above or below the channel made from the opening daily candle value + expected movement from the volatility, giving as a total of 16.5% of occurances that volatility was higher than expected, and in 83.5% of the times, we can see that the price stayed within our channel.
At the same time, we can see that we had 6 max losses in a row ( OUT) AND 95 max wins in a row (IN), and at the same time in those moments when the volatility crosses happen we had a 0.51% avg movements when the top crossed happened, and 0.67% avg movements when the bot happened.
Lastly on the second part of the panel, we had E which means the expected movement of today, for example it has 61.056$ , so lets say price opened on 4083, our top is 4083 + 61 and our bot is 4083 - 61 ( giving us the daily channel). At continuation we can see that overall the avg bull candle os 0.714% and avg bear candle was 0.805% .
I hope this tool will help you with your future analysis and trades !
If you have any questions please let me know !
Shotoki Volatility IndexHi, I finally coded a volatility index I'm proud of !
The formula is quite simple : It's the inverse of the maximal volatility that a candle can have
We find 2 lines : the white one, the volatility index ; the delayed index
The yellow area highlight the moment where we have more volatility
the gray one is when the market is quiet, it's not recommended to take decision in these moments
when the index is rising, there are less volatility
when the index is decreasing, the volatility is increasing
Shotoki
Candle Volatility Index [by NicoadW]This is the migration of the CandleVolatilitIndex from MT4.
The indicator works as following:
Step 1: The "Volatility Value" is calculated by applying a moving average to the change of the selected source (default: 10-Period-SMA applied to the change from last close to this close -> SMA(close-close , 10) )
Step 2: The signal line is calculated by applying a moving average onto the "Volatility Value" calculated in step 1.
The default settings are the same as in the original MT4 version.
Visualization:
The histogram shows the "Volatility Value" calculated in step 1.
Case 1:
The value is above the signal line (blue bar) -> Volatility is given
Case 2:
The value is below the signal line (grey bar) -> Volatility is not there
This is intended to be used as a Volume/Volatility Indicator for a NNFX-System but can be used in any strategy.
ka66: Volatility MomentumThis is a 'monitoring' indicator to see if an instrument is viable enough to be traded, by virtue of volatility (or lack of volatility in context may lead to a break out), or may become so. It shows the following information:
Price Range (high - low) averaged across a set of bars: Useful gauging potential trading profits. This was its initial goal, to not measure bars manually!
ATR : As a comparison point for the price range above. Divergence between true range (TR) and plain price range might signal volatility changes occurring in the instrument.
Signal volatility line : a moving average of the larger of the average price range and ATR. This takes inspiration from other indicators like MACD and Stochastic, and is a way of comparing change in recent volatility --- this achieves the momentum part. The larger was chosen to keep things simple, and not have a signal line per range!
avgRange = movingAvg(high - low, avgPeriod)
atr = movingAvg(trueRange, avgPeriod)
signal = movingAvg(max(avgRange, atr), avgPeriod)
Configurable periods and averaging mechanism.
Daily Historical Volatility StdDev LevelsDescription:
This indicator plots Daily Standard deviation levels on price chart based on Historical Volatility (HV). It uses the most common approach for calculating historical volatility as standard deviation of logarithmic returns, based on daily closing/settlement prices.
Assets: Currency Pairs, Commodities, also works on stocks, some indices.
Time Frames: 5min to 60min. This will also work on Daily Chart, by setting "DaystoExpire" to 21
Options:
Use Daily Data to Calculate StdDev HV (default), otherwise use the charts Time Frame
Lookback = number of days/periods to calculate stddev of HV (21 by default)
Annual = number of trading days in a calender year (252 by default)
Days to Expiry = number of days for the life of this option ( for auto calculation
this is 1 for intraday, 21 for daily and annual when chart TF used)
Settlement Source = close price by default, can use another source.
Settlement Volume Weighted Average Length = by setting this to >1 then an average
is used for settlement.
Display ### Standard Deviation Levels = select what levels are to be displayed.
References:
How To Use Standard Deviation In Your Trading Day: www.youtube.com
Deviation Levels Indicator: www.youtube.com
www.macroption.com
Historical Volatility based Standard Deviation_V2 by ucsgears
Historical Volatility Strategy by Hpotter
Avg Session & Daily Volatility (Pips) - Forex/CFDS🔍 Overview
The Avg Session & Daily Volatility (Pips) indicator measures the average High–Low range (volatility) of three major Forex sessions—Asia, London, New York—and the entire trading day, then displays the results in a compact overlay table.
⚙️ Key Features
Session Windows
Asia: Default 23:00 – 07:00 server time
London: 07:00 – 16:00
New York: 13:00 – 22:00
Daily Range
– Tracks the full High–Low from midnight to midnight.
Flexible Lookback
– Choose 1W / 2W / 4W / 8W (≈ 5 / 10 / 20 / 40 trading days)
Pip Conversion
Forex Pairs: 1 pip = 0.0001 → (ticks / mintick) / 10
XAU/USD (Gold): 1 pip = 1 USD → direct price difference
Custom Styling
– Pick your own colors per session & daily
– Table position: Left/Center/Right × Top/Middle/Bottom
📈 Benefits & Use Cases
Optimal Stop-Loss & Take-Profit
Gauge each session’s typical movement to size SL/TP appropriately.
Intraday Performance Check
Compare your real-time trade swings against historical averages.
Risk Management
Align position sizes with average volatility to control risk.
Multi-Asset Support
Works seamlessly for major Forex pairs and Gold (XAU/USD) thanks to smart pip logic.
🚀 How It Works
Session Scanning – Continuously tracks the session’s high and low.
Array Storage – At session close, calculates range in pips and pushes it into a rolling buffer.
Averaging – Computes the arithmetic mean of the last N values (your chosen lookback).
Visualization – Paints the four averages in a neat 2×5 table overlay.
👍 Pro Tips
Check Your Time Zone – Make sure chart timezone matches your broker’s session times.
Tweak Lookback – Use shorter windows (1W) to react quickly; longer (4–8W) to smooth out outliers.
Combine Indicators – Pair with volume or trend tools for deeper insights.
Happy Trading,
Riseofatrader
Trend Volatility Tops and Bottoms
Big Picture:
Overall what this script try's to capture is bounces off of moving trend lines.
What you will see when using this script
one Green line, one red line, two gray lines and circles in colors blue, green, red, and purple.
RED AND GREEN LINES:
There are two trend lines, an upper and a lower line that are 1 to 2 standard deviations from the linear regression line formed by the closing price for a look back period. The green is the distance from the close price and the lower line. The red is the list from the close and the upper line. (you don't see the lower and upper lines, but yo do see the green and red lines)
The goal is too easily see when price is approaching those support and resistance levels.
GRAY LINES:
GRAY lines are a form of volatility metric. GRAYS represent the distance from the RED and GREEN lines talked about above. low volatility mean the two GRAY lines will be close and times of high volatility will be father apart.
COLORED CIRCLES:
the color circles represent possible bounce zones, when price is high or low for for a given time period.
PURPLE is caution that there could be a possible price drop
RED is a critical zone for rejection and price drop
BLUE is caution that there could be a possible price increase
GREEN is a critical zone for bounce and price increase
how its used
feel free to play around and Try new things but, how its intended to be used is on 4hr time Frame looking for longer term trends on assets that tend to be less volatile on average.
settings
some settings:
buy deviation, this will say how many standard deviations do you want the lower bounce line to be from the linear regression line
sell deviation, this will say how many standard deviations do you want the upper bounce line to be from the linear regression line
dist to zero buy: how close dose the price has to be to put out a possible bounce.
Recap
-red and purple = possible upcoming price drop... red is more critical than purple
-green and blue = possible upcoming price increase... green is more critical than blue
-use on less volatile assents and on 4hr timeframe
good luck!
Historical Volatility Close to Close VS High to LowClose to Close Volatility VS high to low, to evaluate volatility regimes.
Both are Volatilities of 40 periods (Modifiable), calculated on 252 days (Average trading days in the American market) (Also modifiable in the case of cryptocurrency analysis).
The Moving Average is a 20 periods (Modifiable) Simple Moving Average of the average of both volatilities.
Blue = Close to Close Volatility
Green = High to Low Volatility
Orange = Moving Average
Volatilidad Close to Close VS High to Low, para evaluar regimenes de volatilidad historica.
Ambas son Volatilidades de 40 periodos (Modificable), calculadas sobre 252 dias (Promedio de dias operables en el mercado americano)(Tambien modificable para el caso de analisis de criptomonedas).
La Media movil, es una media movil Simple de 20 periodos del promedio de ambas volatilidades.
Azul = Volatilidad Close to Close
Verde = Volatilidad High to low
Naranja = Media Movil
Market Trend using First Derivative of MAs + Volatility Based on Smooth First Derivative Indicator by tbiktag
Volatility also from another public TV script, forgot which one though, sorry if this is yours and I haven't credited your work, let me know if it is and I'll reference it properly.
About this indicator:
Estimates whether market is trending up, down or sideways by adding the slope (first derivatives) of a fast & slow MA. Uptrend = Green, Downtrend = Red, Sideways = Yellow
Uses a minimum slope percentile to determine threshold for uptrend, downtrend & sideways. Definitely adjust this when changing timeframes, for BTCUSD at 1 hour timeframe a value of 25 is decent
Also has a measure of Volatility if you're into that
Explanation of inputs:
Bandwidth - for derivative function
Fastma - period for fast Moving Average
Slowma - period for slow Moving Average
Derivmalength - smooths out the signal, reducing single contrasting bars, but delays the signal. Use 1 if don't want to use
V length - ema of volatility if you want to smooth it
Min Slope Percentile - slope should exceed this percentile to be classified as uptrend (green) or downtrend (red) anything in this bottom percentile will be considered sideways
Mine Slope Lookback Period - # of bars back to calculate Slope Percentile
Cyclical volatility index v1This indicator is used to measure the volatility of the cycle in question.
It is very useful for clearly reading impulsive phases or corrective phases
Calculate average volatility and current volatility
The labels improve the visualization.
It is fully customizable in shapes and colors
C and the ability to disable labels
For any bugs contact the creators
Pips Volatility ComparisonJapanese below / 日本語説明は下記
This indicator shows daily volatility in pips for multiple currency pairs so as to compare and identify most volatile pairs of the day.
Some traders would prefer to change pairs to trade depending on volatility while some traders would refrain from trading if overall market volatility is less or their favorite pairs are less volatile compared to previous days. That’s when this indicator would help.
Currency pairs can be selected from 25 pairs from US dollar cross, Yen cross, Euro cross, GBP cross and AUD cross. You can select what to display depending on your needs.
Pips volatility is calculated using high and low of the day and being updated as high/low updated.
Example :
The following chart shows EURUSD moved around 80 pips on Apr23, 2021 and is the most volatile pairs of the day among major US dollar crosses.
----------------------
複数通貨ペアのボラティリティをPipsで比較することのできるインジケーターです。
トレーダーの中にはボラティリティによって日毎にトレードする通貨ペアを変えたり、マーケット全体のボラティリティが低下していればトレードを控えたりする方もいると思います。また、お気に入りの通貨ペアのボラティリティが過去数日と比べて低い場合はトレードしないという判断もありうるでしょう。そういった判断に役立つかもしれません。
通貨ペアはドルストレート、クロス円、ユーロクロス、ポンドクロス、豪ドルクロスの25通貨ペアから必要なものを複数選択することが可能です。
Pipsは当日の高値・安値を使って計算し、日中の変動に合わせて随時更新されます。
例:
以下のチャートではEURUSDが2021年4月23日に約80pipsの変動があったことを示しています。
これは他の主要ドルストレートペアと比べ最も大きい値動きであることがわかります。
Annualised Price Volatility %Annualised Price Volatility in percent, also called Instrument Risk, as outlined by Rob Carver in his excellent books, 'Systematic Trading' and 'Leveraged Trading'.
This is written for those who have read one of his books and want to use this tool on TradingView.
Trend strength, oscillators, and volume indicators are all the rage. Finding a great setup is, of course, key. You've decided to go long. Great!
But how much is your capital at risk?
How does that compare with your level of risk tolerance?
When trading, it's key to understand just how risky a certain instrument is. An uptrend is an uptrend, but is it at an annualised volatility of 2% per year or 500% per year? If it's the former, I know I can put a good chunk of capital into trading it. But if its the latter, I don't want to put so much money at risk. Volatility is rarely in a straight line. It's usually up and down.
I won't give the whole game away. To find out more about how to use this concept of risk, I'd highly recommend the books 'Leveraged Trading' and 'Systematic Trading' by Rob Carver.
Do you have any thoughts, ideas, or questions? Let me know in the comments or send me a message! I'd be glad to help you out.
Profit Accumulator Relative VolatilityRelative Volatility Indicator
This is a support indicator to the Main Indicator which has also been published.
This indicator uses volatility to determine if the market is quiet, or trading sideways or if there is money in the market and the opportunity for a long or short signal. There is an adjustable bottom line (in this case 0.15) and anything near or below that would indicate that no trades should be taking place. Similarly, if the trend line is declining, this is another indication that any trades should not be taken.
The trend line as an adjustable maximum setting of 0.5 and an increasing trend line is indicative of volatility in the market and a long or short position should be considered. This indicator should be used with the other suite of indicators to provide confluence of the trade.
Whilst an actual alert function is not set for the indicator, the TradingView alert function can be used to trigger a message when the line crosses above 0.15.
I've been using this successfully on the one hour FX charts, but seems to work equally as well on higher or lower time frames (not less than 15min).
The other indicators which are part of the suite are shown on the website which is highlighted in my signature at the bottom of the page. Purchase of the main indicator gives access to the full suite of eight indicators. I use the other indicators to confirm the direction of the trade and to determine if I want to trade or not. I use it along with the 2min, 15min and 4hr timeframes to identify the best entry window and how long I'm likely to be in the trade.
Support can be provided via private message or in the comments below.
The links are provided below for access to the indicator.
Bitcoin Implied VolatilityThis simple script collects data from FTX:BVOLUSD to plot BTC’s implied volatility as a standalone indicator instead of a chart.
Implied volatility is used to gauge future volatility and often used in options trading.
Best Volatility Calculator (Multi Instruments)Hello traders
A bit of context
Definition: Volatility is defined as the close of current candle - close of the previous N candle
This is an alternative version of my Best Volatility Calculator
The other version is displayed on a panel below. This one overlays on the chart using the "overlay=true" setting
This indicator shows the average volatility, of last N Periods, for the selected time frames and for 2 selected instruments.
You can select up to 2 timeframes with this version
Presented as Currency, Pip, percentage labels in a panel below.
Will calculate in real-time only for the current instrument on the chart.
The indicator is coded to not be repainting
Example
In the indicator screenshot, I used a lookback period of 1.
That compares the current candle close versus the previous one for the daily and weekly timeframe
Showing how the results look like using FOREX instruments (where using the PIPS labels make more sense than with cryptocurrency assets)
Best regards
Dave
Volume VolatilityThis script uses the idea behind Bollinger Bands and Market Facilitation Index.
This is not a trend direction indicator. Use this for confirmation only.
Green Bars : High Volume and High Volatility
Yellow Bars : Low Volume and Low Volatility
Blue Bars : Low Volume but High Volatility
Pink Bars : High Volume but Low Volatility