WMA Combo CrossoverBefore I begin I want to mention:
1. This is an inspiration from the Ultimate Oscillator by zinlytics. (Link: )
2. I wanted to make an indicator similar to the Ultimate Oscillator by making it more responsive to price
3. This indicator is a trend indicator which uses the Weighted Moving Average (WMA)
4. Also, I want to thank PhoenixBinary for helping me out
The indicator:
1. Made several changes such as switching over to a WMA instead of an EMA
2. When WMA 20 is blue and is going upwards, it means there is an uptrend
3. When WMA 20 is red and is going down, it means there is a downtrend
4. During a trend, the color may switch to red and blue occasionally. When the color switches back to the direction of the trend, it can be used for re-entries
Nnfx
[FTA] Curvature of MeniscusIntroduction:
Curvature of Meniscus is a hybrid indicator comprised of three parts:
1. The first part is a heavily modified Demarker RSI which is represented as the histogram and is the main trend indicator C1 .
2. The second part is the 0 line which is replaced by the Waddah Attar Explosion V2 indicator C2 .
3. The third part is the background color which is borrowed from the Klinger Safety Zones volume indicator Vol .
It is smooth and has almost zero lag.
The signals can be used as per nnfx C1-C2-Vol algorithm.
The DeMarker indicator is relatively unknown to trading beginners but enjoys huge support from the more experienced traders. The indicator measures the strength of a trend and thus can give you a warning when a change in the trend direction might occur. This can not only help you to find new trade entries but also prevent you from entering into losing trades or letting your open trades run and ultimately result in a loss.
The line of the indicator is calculated as follows: First the indicator finds the minimal and the maximal value of the specified period. Afterwards those values are used to calculate the moving average of these values which then is displayed in the chart. Just like most oscillators the DeMarker indicator uses oversold and overbought zones at 0.3 and 0.7 to define good entry opportunities.
The "Curvature of Meniscus" indicator has the DeMarker indicator/RSI modified in three different ways:
1. Smoothed and almost no-lagged;
2. Colored histogram to determine the trend and the divergences;
3. An early signal line for those who like to take counter-trend trades/reversal entries.
Play with the settings and let me know what you think about this new hybrid!
Price Cross Range StrengthPurpose:
This script shows when price is in a range or trending. When the green line rises above the threshold the price is trending. When the green line falls below the threshold it's ranging. You may try adjusting the lookback way far back to find more areas of resistance.
Logic:
It shows how many instances the current price has been crossed in the past measured bars. The logic is that any price area that has been crossed many times is a strong area where ranging occurs.
Ideas:
1. Can be used as a dynamic length to other moving averages.
Strategy NNFX Tester Strategy NNFX, Baseline, QQEs Fast C1, Slow C2, ATR, Volume and Exit
This is a Strategy Tester designed to work with Study (Alerts) of the same.
At time of creation based on Revision 8 of the Study.
DO NOT USE the Currency/Money Management section under settings. use the position sizing under "Inputs" - "Money Management" - "Risk per trade" which is defaulted to 2%
This has adjustable Baselines, Exits, ATR calculations, C1 and C2 are currently QQE & QQE Histo with adjustable settings but I'll include more choice of C1 & C2 as time goes on.
Find settings that work for you, then move them over to the Study version for best results.
Forward plans are to add much more options to both Alert/Strategy.
If anyone wants to collaborate or anything hit me up.
NNFX, Baseline, QQEs Fast C1, Slow C2, ATR, Volume and ExitDesigned Around the NNFX rules
Selectible Baseine
Selectible Exit Indicators
ATR bands, ATR labels for TP and TSL (1x and 1.5x ATR).
Indication (White Diamond) where candle is over 1x ATR in size.
Combined QQE Fast & Slow (C1 & C2) confirmations, Candles Grey before Trend Confirmed, change to Normal Colour when Trend established (QQE MOD used for calcualtions).
Continuations signaled by white dot above/below candle (0.9x ATR from Close Signal).
Exit Long and Exit Short signaled by Red and Blue Arrow under/above candle.
NNFX Mr. Monta FT %Kung hindi nyo ako naiintindihan hindi nyo rin maiintindihan ang indicator na ito kaya good luck
God Bless!
Happy Trading :)
Indicator - EVZ Chart - DGHey Traders, this is the $EVZ chart plotted as an indicator. The $EVZ is the Euro Volatility Index, which can be used to measure volatility in markets.
The use of the $EVZ could be helpful for trend traders of FX. The concept developed by VP of no nonsense forex, we can use the value of the $EVZ to determine when we put on full risk if there is high volatility, half risk when there is medium volatility, or no risk if there is very low volatility.
This indicator has 2 adjustable horizontal lines, so you can put in the conditions or thresholds you need for your trading strategy.
Happy trading,
DG
Super SSLSuper SSL Indicator.
SSL + SuperTrend signal filtering.
Signals are delivered by SSL, signals are then filtered out by SuperTrend, in the nnfx way of trading (C1 = SSL, C2 = ST).
SSL deliver signals. Supertrend filter them.
Included 1CR rule option : in the nnfx way, we allow C2 to agree 1 candle later.
Some configuration settings of this tool pass the VP's 5 benchmark (can't be used to pass the private group admission though).
Label Display DemoA label function for display an arbitrary value above or below the chart.
There is no convenient way to display the value of a variable in pinescript. This is most convenient way I found.
It will follow the current bar (the position is calculated with highest/lowest and atr value, as such it will never display over the chart)
In this script we display ATR for the example
CCI - SWIFF KNIFECCI indicator swiff knife.
A lot of different usages of CCI ae possible with this script :
- 2 CCI lines crossovers.
- CCI - 0 Line crossovers
- CCI + Moving Average crossovers (many types of MA are available)
Filters can be added.
CCI can be used as a confirmation indicator, a continuation indicator, an exit indicator, a chopiness indicator .... It can even make coffee, who knows.
Crypto TrendThis indicator is based off of the Trend Follower system put together by jiehonglim:
This is a trend following system that combines 3 indicators which provide different functionalities, also a concept conceived by VP's No Nonsense FX / NNFX method. I’m primarily modifying this system for Crypto trading (mostly leveraged Crypto Futures). Suggestions/requests welcome.
New Features:
Added position inputs that will generate position labels
For leverage trading, position inputs will calculate your percentage-based stop loss given your entry, leverage and liquidation price
Added optional horizontal line plots for entry, stop loss, 50% take profit and 100% profit levels.
Added non-plotted Didi calculations for alert condition triggers
Added long and short alerts
These alerts will trigger for any of the 3 following conditions:
Baseline cross with volume confirmation
Didi two line cross with volume confirmation
Didi continuation with volume confirmation
1. Baseline
The main baseline filter is an indicator called Modular Filter created by Alex Grover
- www.tradingview.com
- Alex Grover - Modular Filter
-------
That's the moving average like baseline following price, filtering long and short trends and providing entry signals when the price crosses the baseline.
Entry signal indicated with arrows.
2. Volume / Volatility , I will called it Trend Strength
The next indicator is commonly known as ASH, Absolute Strength Histogram.
This indicator was shared by VP as a two line cross trend confirmation indicator, however I discovered an interesting property when I modified the calculation of the histogram.
- Alex Grover Absolute Strength
-------
My modification and other info here
- Absolute Strength Histogram v2
-------
I simplified the display of the trend strength by plotting squares at the bottom of the chart.
- Lighted Squares shows strength
- Dimmed Squares shows weakness
3. Second Confirmation / Exits / Trailing Stop
Finally the last indicator is my usage of QQE (Qualitative Quantitative Estimation), demonstrated in my QQE Trailing Line Indicator
- QQE Trailing Line for Trailing Stop
-------
Three usages of this amazing indicator, serving as :
- Second trend confirmation
- Exit signal when price crosses the trailing line
- Trailing stop when you scaled out the second trade
This indicator is plotted with crosses.
4. Position Calculator
For non-leveraged trades, set leverage to 1 and liquidation to 0
Fill out the rest of the position field to get labels that will tell you:
Your stop loss given your acceptable percentage of loss for your risk. So, for example if your actual investment is $200 and you’re trading on 20X leverage, you’d like to know what price would have to drop to for you to lose 15% of your $200 risk. This is what the position calculator is doing for you.
Your 50% take profit point
Your 100% take profit point
Check the “Show Position Lines” to plot horizontal lines for entry, stop loss, 50% TP and 100%TP
Alerts
You just get a Long Alert or Short Alert option. This was for two reasons, the first and most important was to reduce the number of alerts needed for this system to get maximum coverage. The second was just to keep things simple. Get an alert for your desired direction for any interesting signal and then check the chart manually to determine if a viable entry has presented itself. The three alert conditions are:
Main trend indicator, baseline cross with volume confirmation
Didi two line cross entry with volume confirmation
Didi continuation signal with volume confirmation
Additional plots and information
Bar Color
- Green for longs, Red for shorts, White when the baseline direction conflicts with the QQE trailing line direction
- When it's white, it's usually ranging and not trending, ASH will also keep you off ranging periods.
-------
ATR Filter
- White circles along the baseline, they will show up if the price has moved more than one ATR from the baseline
- The default allowance is 1 ATR.
-------
The previous and current ATR value
- Label on the right side of the chart showing the previous and current value of ATR
NNFX Baseline ToolNNFX All-in-One Baseline display / test tool.
This is usefull (hopefully) for the NNFX way of trading only. It's not intended to be used as a standalone tool.
Basically, this script displays and tests many types of Moving Averages as baselines.
It displays baseline signals, based on the NNFX ATR-related rule for baseline entries.
It can be used as a backtest tool, or plugged into the whole nnfx algo.
If signal display option is enabled, signals are displayed on chart : green for long, red for short, orange for crossovers beyond the ATR channel :
Many baselines available : SMA , EMA , WMA , VWMA , ALMA , AMA, SMMA , DEMA , FRAMA , HULL, KAMA , KIJUN, JURIK, LAGUERRE, MCGINLEY , TMA1, TMA2, VIDYA , MODULAR FILTER, VAMA , ZLEMA , T3, LSMA, etc.
Additional options :
- multiplying the ATR channel (and subsequent rule) by a factor (default = 1)
- plot the ATR channel (def = yes)
- fill it (def = yes)
- display signals (def = yes)
- option for add color to the baseline, for long/short territory (2 different options : baseline is colored, background is colored)
- darkmode / lightmode color option. (def = dark)
We also display panels, with general information and some test results. Tests are done within the test period.
I tried to test all the different MAs included in the script but some bugs might still be present, so use it at ur own risk.
If you'd like a new MA option added, please let me know in comments.
I included a "bad" signal detection, it can help for tweaking the settings. Signals are defined as "bad" when they are immediately followed by another signal.
When there is 2 or more bad signals next to another, you spotted a chopiness zone (a chopiness zone is defined as a zone where BL get eaten alive).
Example :
to do :
- plug it with the c1/c2 backtest tool (it's the whole point)
- add alerts,
- add more ma types
- stop to use the operator, it's not convenient at all
- add wr% calculation as a standalone feature (with TP / SL)
- add a way to measure chopiness in the test (dont know how yet)
- detect & display chopiness zones
I asked other users when I used their ideas (for some particular types of MAs). They all agreed.
OSCAR Oscillator by GenZai - NNFXOSCAR Oscillator by GenZai
Green line is the Oscar Rough
Red line is the Oscar
By default based on the 8 last candles and smoothed using RMA
Purple line is the Slow Oscar
By default based on the 16 last candles and smoothed using WMA
HOW TO USE
Exit signaling
This indicator can be used as an exit indicator when line cross each other.
Entry signaling
When the green line crosses up, it indicates a long entry
When the red line crosses up, it indicates a short entry
Overbought/Oversold
When the indicator crosses the dashed grey lines it indicates Overbought Oversold
Slow Oscar Add-on
This is an Add-on to the orignal Oscar indicator
Can be hidden if you want the original experience of the Oscar indicator.
Can be used as a confirmation indicator by looking at the direction of the slope to verify is your are trending long or trending short.
Can be used as a baseline to confirm signals given by Oscar
Can be used to tweak your signals and test different settings.
Stock or Forex?
The program was originally written for stocks, but works equally well with the Forex market.
How this indicator is calculated ?
This is the formula we use to calculate the Oscar:
let A = the highest high of the last eight days (including today)
let B = the lowest low of the past eight days (including today)
let C = today's closing price
let X = yesterday's oscillator figure (Oscar)
Today's "rough" oscillator equals (C-B) divided by (A-B) times 100.
Next we "smooth" our rough number (let's call it Y) like this:
Final oscillator number = ((X divided by 3) times 2), plus (Y divided by 3).
SETTINGS:
You can choose between different smoothing options:
RMA: Moving average used in RSI. It is the Adjusted exponential moving averages (also known as Wilder's exponential moving average)
SMA : Simple moving average
EMA : Exponential moving average
WMA : Weighted moving average
RSI Trend FilterRSI based basic trend filter. I don't used it in the NNFX structure but I wanted to test things.
Here RSI is not used as reversal indicator.
We check if RSI>50 or <50 and we use it as a trend confirmation indicator/filter.
SSL Off ChartThis is SSL channel, but displayed off chart.
I needed this for keep a clean chart during backtesting phases of NNFX algos.
Different display modes.
The "Colors Only" display mode is well adapted for SSL use as an exit indicator or a second confirmation indicator :
Let me know if you want a feature added :p
Z Score Enhanced Time Segmented Volume (Multi MA)**THIS VERSION HAS BEEN STANDARDIZED WITH A Z SCORE CALCULATION AND ALLOWS THE USER TO SELECT WHICH MOVING AVERAGE THEY WOULD LIKE TO UTILIZE FOR THE SIGNAL LINE**
Chart shows the Non-Standardized Enhanced Time Segmented Volume (Multi MA) with default settings on top and the Standardized version with default settings on the bottom.
Time Segmented Volume was developed by Worden Brothers, Inc to be a leading indicator by comparing various time segments of both price and volume . Essentialy it is designed to measure the amount of money flowing in and out of an instrument.
Time Segmented Volume was originally ported to TradingView by user @liw0 and later corrected by user @vitelot. I never quite understood how to read Time Segmented Volume until I ran across a version by user @storma where they indicated when price would be long or short, but that code also utilized the incorrect calculation from user @liw0.
In an effort to make Time Segmented Volume more accessible and easier to read, I have re-coded it here. The calculations are based on the code from @vitelot and I have added direction indicators below the chart.
If the histogram (TSV) is greater than zero and greater than the moving average, price should be moving long and there will be a green box below the chart.
If TSV falls below the moving average while still being greater than zero, the trend may be exhausting and has been coded to read Price Action Long - FAILURE with a black x below the chart.
If the histogram (TSV) is less than zero and less than the moving average, price should be moving short and there will be a red box below the chart.
If TSV rises above the moving average while still being less than zero, the trend may be exhausting and has been coded to read Price Action Short - FAILURE with a black x below the chart.
At times, the moving average may be above zero while TSV is below zero or vice versa. In these situations the chart will indicate long or short based on whether or not TSV is greater or less than zero. It is possible a new trend may be forming as the moving average obviously lags, but also possible price is consolidating with little volume and causing TSV to oscillate close to zero.
**Z Score // Standardized Option **
Thist Standardized code implements all of the above but also allows the user to select a threshold level that should not need to be adjusted for each instrument (since the output is standardized).
If the TSV value meets the long and short signal requirements above and TSV is greater than the threshold values a green or red box will print ABOVE the oscillator. The histogram will also change color based on which threshold TSV has met.
This calculation allows us to compare current volatility to the mean (moving average) of the population (Z-Length). The closer the TSV Z-Score is to the mean, the closer it will be to the Zero Line and therefore price is likely consolidating and choppy. The farther TSV Z-Score is from the mean, the more likely price is trending.
The MA Mode determines the Moving Average used to calculate TSV itself. The Z-Score is ALWAYS calculated with a simple moving average (as that is the standard calculation for Z-Score).
The Threshold Levels are the levels at which TSV Z-Score will change from gray to yellow, orange, green ( bullish ), or red ( bearish ).
Statistically speaking, confidence levels in relation to Z-Score are noted below. The built in Threshold Levels are the positive and negative values for 90%, 95%, and 99%. This would indicate when volatility is greater than these values they are out of the ordinary from the standard range. You may wish to adjust these levels for TSV Z-Score to be more responsive to your trading needs
80% :: 1.28
85% :: 1.44
90% :: 1.64
95% :: 1.96
99% :: 2.58
The Z Length is the period for which the Z Score is calculated
More information regarding Time Segmented Volume can be found here: www.worden.com
Original code ported by @liw0
Corrected by @vitelot
Updated/Enhancements by @eylwithsteph with inspiration from @storma
Multiple MA Options Credits to @Fractured and @lejmer
Bits and Pieces from @AlexGrover, @Montyjus, and @Jiehonglim
As always, trade at your own risk.
Enhanced Time Segmented Volume (Multi MA)**THIS VERSION ALLOWS THE USER TO SELECT WHICH MOVING AVERAGE THEY WOULD LIKE TO UTILIZE FOR THE SIGNAL LINE**
Chart shows two different options of many. Top option is the default settings and bottom option is a different moving average with no other changes.
Time Segmented Volume was developed by Worden Brothers, Inc to be a leading indicator by comparing various time segments of both price and volume. Essentialy it is designed to measure the amount of money flowing in and out of an instrument.
Time Segmented Volume was originally ported to TradingView by user @liw0 and later corrected by user @vitelot. I never quite understood how to read Time Segmented Volume until I ran across a version by user @storma where they indicated when price would be long or short, but that code also utilized the incorrect calculation from user @liw0.
In an effort to make Time Segmented Volume more accessible and easier to read, I have re-coded it here. The calculations are based on the code from @vitelot and I have added direction indicators below the chart.
If the histogram (TSV) is greater than zero and greater than the moving average, price should be moving long and there will be a green box below the chart.
If TSV falls below the moving average while still being greater than zero, the trend may be exhausting and has been coded to read Price Action Long - FAILURE with a black x below the chart.
If the histogram (TSV) is less than zero and less than the moving average, price should be moving short and there will be a red box below the chart.
If TSV rises above the moving average while still being less than zero, the trend may be exhausting and has been coded to read Price Action Short - FAILURE with a black x below the chart.
At times, the moving average may be above zero while TSV is below zero or vice versa. In these situations the chart will indicate long or short based on whether or not TSV is greater or less than zero. It is possible a new trend may be forming as the moving average obviously lags, but also possible price is consolidating with little volume and causing TSV to oscillate close to zero.
More information regarding Time Segmented Volume can be found here: www.worden.com
Original code ported by @liw0
Corrected by @vitelot
Updated/Enhancements by @eylwithsteph with inspiration from @storma
Multiple MA Options Credits to @Fractured and @lejmer
Bits and Pieces from @AlexGrover, @Montyjus, and @Jiehonglim
As always, trade at your own risk.
Enhanced Time Segmented VolumeTime Segmented Volume was developed by Worden Brothers, Inc to be a leading indicator by comparing various time segments of both price and volume. Essentialy it is designed to measure the amount of money flowing in and out of an instrument.
Time Segmented Volume was originally ported to TradingView by user @liw0 and later corrected by user @vitelot. I never quite understood how to read Time Segmented Volume until I ran across a version by user @storma where they indicated when price would be long or short, but that code also utilized the incorrect calculation from user @liw0.
In an effort to make Time Segmented Volume more accessible and easier to read, I have re-coded it here. The calculations are based on the code from @vitelot and I have added direction indicators below the chart.
If the histogram (TSV) is greater than zero and greater than the moving average, price should be moving long and there will be a green box below the chart.
If TSV falls below the moving average while still being greater than zero, the trend may be exhausting and has been coded to read Price Action Long - FAILURE with a black x below the chart.
If the histogram (TSV) is less than zero and less than the moving average, price should be moving short and there will be a red box below the chart.
If TSV rises above the moving average while still being less than zero, the trend may be exhausting and has been coded to read Price Action Short - FAILURE with a black x below the chart.
At times, the moving average may be above zero while TSV is below zero or vice versa. In these situations the chart will indicate long or short based on whether or not TSV is greater or less than zero. It is possible a new trend may be forming as the moving average obviously lags, but also possible price is consolidating with little volume and causing TSV to oscillate close to zero.
More information regarding Time Segmented Volume can be found here: www.worden.com
Original code ported by @liw0
Corrected by @vitelot
Updated/Enhancements by @eylwithsteph with inspiration from @storma
As always, trade at your own risk.
[mya] ATR FilteredATR Filtered for NNFX trading.
A classic Average True Range (ATR) indicator with a simple feature to filter out the spikes.
The ATR value is the tool to determine your TP and SL on daily time-frame, specifically in the NNFX way of trading.
VP mentions in his podcast that when the ATR spikes up you have 2 options: 1. wait 14 candles for the ATR to normalize, 2. use the ATR value prior to the spike.
ATR spikes are easy to spot (thus easy to exclude) for an itraday flash crash.
On the other hand when volatility increases over several candles (as in the Covid-19 shock) it can be difficult to determine which ATR value to base your TP/SL on.
In definition of standard deviation, 95.4% of the value will fall within the 2 sigma bands. Therefore the rest 4.6% can be filtered out as an extreme value (a spike).
The ATR in this indicator will plot the standard ATR value in normal condition, then when the ATR spike happens it will stay at the highest value at the point, when the ATR exceeded its 2 sigma band.
The filtering will reset when the ATR comes back down below the extended highest value.
*Disclaimer: Use at your own risk. I am not a programmer, just another guy trying to beat this game. Let's go get it.
Underworld Hunter + Base ZoneUnderworld Hunter + Base Zone is designed to keep traders out of ranging markets by establishing a "dead zone" between the bands where price may be choppy or trends may be short lived. The original Underworld Hunter from @greenmask9 adapted Bollinger Bands by changing the basis from SMA to the EMA of the EMA of the EMA. This version now allows the user to select which moving average they would like to utilize for the calculation.
If price is outside of the upper bands, price may be bullish. If price is outside the lower bands, price may be bearish.
If price is within the green or red areas of the bands, a trend may be forming.
The system also plots when RSI has become over extended above the thresholds selected (70/20 is the default).
MA Period is the length/period the moving average is calculated with
MA Mode is the type of moving average that will be utilized in the basis calculation
The "Standard MA Calculation" Option changes the basis to calculate the moving average selected in MA Mode only once, instead of 3 times
Deviation 1 and Deviation 2 determine how far the dead zone bands will be from the basis
RSI Period is the length/period the RSI function is calculated with
RSI Extended - High Cutoff is the level RSI must reach to be marked as over extended. Most traders refer to this zone as "Overbought"
RSI Extended - Low Cutoff is the level RSI must reach to be marked as over extended. Most traders refer to this zone as "Oversold"
As many NNFx traders know, overbought and oversold essentially do not exist, though the zones can still be utilized
The remaining options are utilized for specific moving average calculations and are set to what is typically considered as "standard" for their values.
There are many options available for this code. The code has not been optimized but merely compiled. Settings should be adjusted for the instrument(s) you are trading.
Adapted from user @greenmask9
Multiple MA Options Credits to @Fractured and @lejmer
Bits and Pieces from @AlexGrover, @Montyjus, and @Jiehonglim
As always, trade at your own risk.
WhipLashThis is a study to determine if small candle bodies (little difference between open and close), regardless of overall candle length (high/low), can be used to filter choppy markets.
The indicator will calculate the selected average "MA Mode" of (close-open). To standardize this result and ensure any filters/thresholds do not need to be recalculated for each instrument the result will be used to calculate the Z Score.
The idea is that when candle bodies are small there is very little actual price movement, and therefore price is choppy. When considering the Z Score of that result, any outliers ie larger candle bodies, could show a potential trend forming. This indicator is similar to QStick but allows more customization by the user.
MA Mode determines which MA is used to smooth the results of (close-open)
Price Smoothing is the number of running periods the MA Mode is calculated for.
The three Thresholds are preset to the 90%, 95%, and 99% levels for Z Score. If these thresholds are altered you may wish to also alter the horizontal lines programmed for each level on the positive and negative sides.
The Z Length is the period for which the Z Score is calculated
Multiple MA Options Credits to @Fractured
Bits and Pieces from @AlexGrover, @Montyjus, and @Jiehonglim
As always, trade at your own risk.
RSI of MAsRSI of MAs is designed to calculate the moving average for a specific period, and then take the RSI of that value. This script allows the user to select which moving average they would like to utilize for the calculation, as well as customizing how the Signal Line is calculated. There are many combinations available and you will need to tune the indicator to fit your trading style. The Signal Line is designed to indicate when there is a potential change in price action. If the Signal Line is below RSIoMA, price is bullish. If the Signal Line is above RSIoMA, price is bearish.
MA Period is the length/period the moving average is calculated with
RSI Period is the length/period the RSI is calculated with
RSI MA Mode determines which moving average is applied to the MA period
Signal Line determines which moving average or QQE is used to calculate the signal line
Signal Line Period is the length/period the Signal Line is calculated with
As always, trade at your own risk.
Multiple MA Options Credits to @Fractured
Signal Line Options Credits to @lejmer
Bits and Pieces from @AlexGrover, @Montyjus, and @Jiehonglim
VQZL Z-ScoreVolatility Qaulity Zero Line attempts to keep a trader out of ranging markets, but the original calculation on TradingView had to be adjusted for each instrument. To avoid this issue, I have applied a z-score calculation to the VQZL so the result is standardized for all instruments. A Z-Score is simply a value's relationship to the mean (average) of a group of values, measured in terms of standard deviations from the mean.
This calculation allows us to compare current volatility to the mean (moving average) of the population (Z-Length). The closer the VQZL Z-Score is to the mean, the closer it will be to the Zero Line and therefore price is likely consolidating and choppy. The farther VQZL Z-Score is from the mean, the more likely price is trending.
The MA Mode determines the Moving Average used to calculate VQZL itself. The Z-Score is ALWAYS calculated with a simple moving average (as that is the standard calculation for Z-Score).
The Threshold Levels are the levels at which VQZL Z-Score will change from gray to yellow, orange, green (bullish), or red (bearish). These levels can be adjusted but you should adjust the Threshold Lines as well (in the style section), so they line up with your adjusted values.
Statistically speaking, confidence levels in relation to Z-Score are noted below. The built in Threshold Levels are the positive and negative values for 90%, 95%, and 99%. This would indicate when volatility is greater than these values they are out of the ordinary from the standard range. You may wish to adjust these levels for VQZL Z-Score to be more responsive to your trading need
80% :: 1.28
85% :: 1.44
90% :: 1.64
95% :: 1.96
99% :: 2.58
As always, trade at your own risk.
VQZL Created by Investo And Adapted From @sarangab
Multiple MA Options Credits to @Fractured
Bits and Pieces from @AlexGrover and @Montyjus