Kijun_ATROVERVIEW
Kijun + ATR is an indicator that combines Lagging Kijun Base Line From Ichimoku Cloud (direction indicator) and Volatility Indicator ATR.
By combining ATR with kijun we can filter out noise from Base Line.
CALCULATIONS
Kijun is calculated by taking average of lowest and highest point of price over set lenght.
ATR is just default Tradingview Indicator that calculates average true range of price over set period of time.
WORKING
When both close > lower and not close < upper are true indicator indicate long by color limeand indicates short when close < upper by color fuchsia (Color can be changed in settings)
Indicator works best in Trending Market Regimes can have problems by signaling tops in Consolidating Market Regimes during bear markets and by sygnaling bottom in short consolidating market regimes during bull market.
Baseline
Variable Index Dynamic Average (VIDYA) with HistperThe Variable Index Dynamic Average (VIDYA) is a unique and adaptive moving average indicator designed to respond dynamically to market volatility. It adjusts its smoothing factor based on the standard deviation of price changes, making it more responsive during periods of high volatility and smoother during periods of low volatility. This version includes two key parameters:
Period: The number of bars used to calculate the VIDYA.
HistPer: The number of historical bars used to calculate the standard deviation, affecting the smoothness and responsiveness of the indicator.
Features:
Dynamic Adaptation: VIDYA adjusts its responsiveness based on market conditions, providing a balance between smoothness and responsiveness.
Customizable Parameters: Users can customize the Period and HistPer to fit their specific trading style and asset characteristics.
Overlay on Price Chart: The VIDYA is plotted directly on the price chart for easy visualization and integration with other technical analysis tools.
Usage:
Trend Identification: Use VIDYA to identify the prevailing trend. A rising VIDYA line indicates an uptrend, while a falling VIDYA line indicates a downtrend.
Entry and Exit Signals: Combine VIDYA with other indicators and trading strategies to confirm entry and exit signals.
Volatility Analysis: Adjust the HistPer to see how the indicator responds to different levels of market volatility.
Baseline Indicator [SS]Hello,
This is the Baseline Indicator. I modelled it after one of my favourite Tradingview chart types, the baseline type (shown in image below):
I really love this chart, but I wanted a way for it to:
a) Be static and not move with the chart; and
b) Auto calculate the baseline average for a specified period of time.
So I created this indicator which does essentially that.
What it does:
The indicator will calculate the average between the high and low of a user defined timeframe. The timeframe is customizable, but it defaults to daily. It will then plot the average (or baseline) of the high and low over that specified timeframe. The default plot is a candle plot. It will change the colours of the candles to green (for above the baseline) and red (for below the baseline). The chart below shows an example of the indicator with candles on SPY. The Baseline timeframe is set to 1 hour:
You can choose whether you want to plot the current baseline average or the previous.
The advantage to plotting the previous is that this provide a static reference point and can be helpful on the 30 and 60 minute timeframe. Here is an example:
In this example on SPY, the indicator is plotting the previous average. You can see SPY is using this as support and creating a "staircase" pattern. This is indicative of a trend.
The example above is using the previous day average on the daily timeframe during a sideways day. You can see that the price action accumulates and is consistently drawn to this point.
Inversely, you can manually select your own baseline price if you want a static, self-calculated baseline reference point.
Options and Settings:
Below is an outline of the menu as well as a brief explanation of the options and settings:
To view your chart as a baseline chart, make sure you select the "Line" input and then hide the candles on your chart using your chart settings (see image below):
The purple arrow shows how to hide the candles. You select the "Eye" Icon which should then become greyed out and you will be left with the baseline chart from the indicator.
Why use baseline average?
The average between the high and low of a designated timeframe is a very helpful value. In choppy markets, this acts as a key point of frequent return. In trendy markets, this acts as a reference point of trend direction and strength. I encourage you to play around with the indicator and review some historical charts using it, and you will see some patterns emerge!
Final thoughts:
I have also done a quick tutorial video on the indicator for your reference, you can check that out below:
Thanks for checking out the indicator and I hope you like it!
R2-Adaptive RegressionOVERVIEW
This is an implementation of alexgrover's R2-Adaptive Regression optimized for the latest version of TradingView.
Full details on the indicator are on alexgrover's page here:
+ Dynamic Fibo-Donchian ChannelsThis is my second Donchian Channels indicator (and will probably be my last because how many does one really need). This version is different from my other one in that, well, it's 'dynamic' which simply means that it self adjusts based on the same formula that my Ultimate Moving Average does. What does that mean? It just means that the script takes an average of 8 different length, in this case, highest highs and lowest lows. The user doesn't need to pick a lookback/length/period/what-have-you. The indicator does it all itself. This, I think, makes for a very nice baseline or bias indicator to fit within a system that utilizes something like that. I also think it makes for a more accurate gauge of higher highs and lower lows within a timeframe, because honestly what does it mean to make a lower low over 20 periods or 8 periods or 50 periods? I don't know. What I do know is that traditional Donchian Channels never made much sense to me, but this does.
Additionally, I've kept (I guess that's not 'additionally') the fibonacci retracement levels from my other Donchian Channels indicator. These are calculated off the high and the low of the Donchian Channels themselves. You will see that there are only three retracement levels (.786, .705, .382), one of which is not a fib level, but what some people call the 'OTE,' or 'optimal trade entry.'' If you want more info on the OTE just web search it. So, why no .618 or .236? Reason being that the .618 overlaps the .382, and the .236 is extremely close to the .786. This sounds confusing, but the retracement levels I'm using are derived from the high and low, so it was unnecessary to have all five levels from each. I could have just calculated from the high, or just from the low, and used all the levels, but I chose to just calculate three levels from the high and three from the low because that gives a sort of mirror image balance, and that appeals to me, and the utility of the indicator is the same.
The plot lines are all colored, and I've filled certain zones between them. There is a center zone filled between both .382 levels, an upper and lower zon filled between the .786 and either the high or the low, and a zone between the .705 and .785
If you like the colored zones, but don't like the plots because they cause screen compression, turn off the plots under the "style" tab, or much more simply right click on the price scale and click 'scale price chart only.' Voila! No more screen compression due to a moving average or some other annoyance.
Besides that basis being a nice baseline indicator the various fib bands (or just the high and low bands) make for excellent mean reversion extremes in ranging environments.
There are alerts for candle closes across every line.
Below is an image of the indicator at default settings.
Below is an image of the indicator with the center .382 channel turned off.
Below is an image of the indicator with just the .786/.705 channel showing .
J_TPO Velocity VariationThis one is a very random indicator but with an excellent concept. Unfortunately, I don't know much about the origin of this indicator or who made it. Still, the first appearance was around 2004 on a Meta Trader forum. There are a lot of variations of the J_TPO indicator. One of them is the J_TPO Velocity. The difference from the original version is that it uses the price range of the latest candles to change the magnitude of the indicator value, but the concept is the same.
More info here
In its original form, an oscillator between -1 and +1 is a nonparametric statistic quantifying how well the prices are ordered in consecutive ups (+1) or downs (-1), or intermediate cases. The velocity variation adds the price range, and this script variation adds a baseline as a filter for the indicator. This indicator will work as a confirmation indicator. Using it with the trend filter will work as an entry indicator.
Besides the columns representing the indicator's values, 2 more signals will be printed on the chart. One is the middle cross, the other the kicking middle cross. The first will print a signal when the J_TPO crosses the middle line (0) in favor of the trend. A diamond will be printed when the baseline is above 0, and the cross is upwards. The inverse for crosses downwards. The other signal is the Kicking middle cross which will appear when the cross comes after an opposite cross. This will give only one signal per cross in the same direction, which may help identify earlier the trend direction.
FATL, SATL, RFTL, & RSTL Digital Signal Filter Smoother [Loxx]FATL, SATL, RFTL, & RSTL Digital Signal Filter (DSP) Smoother is is a baseline indicator with DSP processed source inputs
What are digital indicators: distinctions from standard tools, types of filters.
To date, dozens of technical analysis indicators have been developed: trend instruments, oscillators, etc. Most of them use the method of averaging historical data, which is considered crude. But there is another group of tools - digital indicators developed on the basis of mathematical methods of spectral analysis. Their formula allows the trader to filter price noise accurately and exclude occasional surges, making the forecast more effective in comparison with conventional indicators. In this review, you will learn about their distinctions, advantages, types of digital indicators and examples of strategies based on them.
Two non-standard strategies based on digital indicators
Basic technical analysis indicators built into most platforms are based on mathematical formulas. These formulas are a reflection of market behavior in past periods. In other words, these indicators are built based on patterns that were discovered as a result of statistical analysis, which allows one to predict further trend movement to some extent. But there is also a group of indicators called digital indicators. They are developed using mathematical analysis and are an algorithmic spectral system called ATCF (Adaptive Trend & Cycles Following). In this article, I will tell you more about the components of this system, describe the differences between digital and regular indicators, and give examples of 2 strategies with indicator templates.
ATCF - Market Spectrum Analysis Method
There is a theory according to which the market is chaotic and unpredictable, i.e. it cannot be accurately analyzed. After all, no one can tell how traders will react to certain news, or whether some large investor will want to play against the market like George Soros did with the Bank of England. But there is another theory: many general market trends are logical, and have a rationale, causes and effects. The economy is undulating, which means it can be described by mathematical methods.
Digital indicators are defined as a group of algorithms for assessing the market situation, which are based exclusively on mathematical methods. They differ from standard indicators by the form of analysis display. They display certain values: price, smoothed price, volumes. Many standard indicators are built on the basis of filtering the minute significant price fluctuations with the help of moving averages and their variations. But we can hardly call the MA a good filter, because digital indicators that use spectral filters make it possible to do a more accurate calculation.
Simply put, digital indicators are technical analysis tools in which spectral filters are used to filter out price noise instead of moving averages.
The display of traditional indicators is lines, areas, and channels. Digital indicators can be displayed both in the form of lines and in digital form (a set of numbers in columns, any data in a text field, etc.). The digital display of the data is more like an additional source of statistics; for trading, a standard visual linear chart view is used.
All digital models belong to the category of spectral analysis of the market situation. In conventional technical indicators, price indications are averaged over a fixed period of time, which gives a rather rough result. The use of spectral analysis allows us to increase trading efficiency due to the fact that digital indicators use a statistical data set of past periods, which is converted into a “frequency” of the market (period of fluctuations).
Fourier theory provides the following spectral ranging of the trend duration:
low frequency range (0-4) - a reflection of a long trend of 2 months or more
medium frequency range (5-40) - the trend lasts 10-60 days, thus it is referred to as a correction
high frequency range (41-130) - price noise that lasts for several days
The ATCF algorithm is built on the basis of spectral analysis and includes a set of indicators created using digital filters. Its consists of indicators and filters:
FATL: Built on the basis of a low-frequency digital trend filter
SATL: Built on the basis of a low-frequency digital trend filter of a different order
RFTL: High frequency trend line
RSTL: Low frequency trend line
Inclucded:
4 DSP filters
Bar coloring
Keltner channels with variety ranges and smoothing functions
Bollinger bands
40 Smoothing filters
33 souce types
Variable channels
Parabolic SAR of KAMA [Loxx]Parabolic SAR of KAMA attempts to reduce noise and volatility from regular Parabolic SAR in order to derive more accurate trends. In addition, and to further reduce noise and enhance trend identification, PSAR of KAMA includes two calculations of efficiency ratio: 1) price change adjusted for the daily volatility; or, 2) Jurik Fractal Dimension Adaptive (explained below)
What is PSAR?
The parabolic SAR indicator, developed by J. Wells Wilder, is used by traders to determine trend direction and potential reversals in price. The indicator uses a trailing stop and reverse method called "SAR," or stop and reverse, to identify suitable exit and entry points. Traders also refer to the indicator as to the parabolic stop and reverse, parabolic SAR, or PSAR.
What is KAMA?
Developed by Perry Kaufman, Kaufman's Adaptive Moving Average (KAMA) is a moving average designed to account for market noise or volatility. KAMA will closely follow prices when the price swings are relatively small and the noise is low. KAMA will adjust when the price swings widen and follow prices from a greater distance. This trend-following indicator can be used to identify the overall trend, time turning points and filter price movements.
What is the efficiency ratio?
In statistical terms, the Efficiency Ratio tells us the fractal efficiency of price changes. ER fluctuates between 1 and 0, but these extremes are the exception, not the norm. ER would be 1 if prices moved up 10 consecutive periods or down 10 consecutive periods. ER would be zero if price is unchanged over the 10 periods.
What is Jurik Fractal Dimension?
There is a weak and a strong way to measure the random quality of a time series.
The weak way is to use the random walk index (RWI). You can download it from the Omega web site. It makes the assumption that the market is moving randomly with an average distance D per move and proposes an amount the market should have changed over N bars of time. If the market has traveled less, then the action is considered random, otherwise it's considered trending.
The problem with this method is that taking the average distance is valid for a Normal (Gaussian) distribution of price activity. However, price action is rarely Normal, with large price jumps occuring much more frequently than a Normal distribution would expect. Consequently, big jumps throw the RWI way off, producing invalid results.
The strong way is to not make any assumption regarding the distribution of price changes and, instead, measure the fractal dimension of the time series. Fractal Dimension requires a lot of data to be accurate. If you are trading 30 minute bars, use a multi-chart where this indicator is running on 5 minute bars and you are trading on 30 minute bars.
Conclusion from the combined efforts explained above:
-PSAR is a tool that identifies trends
-To reduce noise and identify trends during periods of low volatility, we calculate a PSAR on KAMA
-To enhance noise and reduction and trend identification, we attempt to derive an efficiency ratio that is less reliant on a Normal (Gaussian) distribution of price
Included:
-Customization of all variables
-Select from two different ER calculation styles
-Multiple timeframe enabled
Baseline (BL)My baseline study lets you compare price to the previous days close. You can select the time frame for this baseline. I have included the ability to use a custom period length or your own anchor value. Custom anchor values are great for comparing the price to your cost average. The features I have included are bar color and background color.
I liked the idea of the 'baseline" chart but I didnt like the implementation.
Enjoy
+ Awesome OscillatorHi again. I have another indicator that I think is pretty neat.
I had the idea of creating an Awesome Oscillator for my Ultimate MA, just to see what kind of signals it might produce. If you're not familiar with my UMA you should go take a look at it, but essentially it is just an average of eight different length MAs, and if you're not familiar with the Awesome Oscillator, it is simply a comparison of the gap between two different moving averages (traditionally a 5 and 34 SMA) plotted as a histogram below the price chart. The two UMAs I was comparing in this version of the AO were the Hull and Simple. It looked okay, but I thought due to the nature of the movements of these MAs, that it was necessary to add something to this indicator in order to validate its creation and make it truly useful
I came to the idea of simply comparing the closing price of the asset on the chart to both the Awesome Oscillator moving averages. What this effectively does is gives you a representation of the moving averages on the chart (assuming you are using those same MAs) as an oscillator below the chart, enabling you to remove the moving averages from your price chart (obviously if you so choose). For me, I like this because fewer things on the chart makes it easier for me to see the price action and structure of the market clearly, or add something like a tWAP or two.
So, like, "how exactly would I use this indicator?"" you're probably asking.
First off: the Awesome Oscillator. By default it is a faintly shaded area, and is the least obvious part of the indicator.
Second: the plotted line. This is what I call the baseline (if you're familiar with NNFX, then you know what this is). It's basically your bias moving average (this means it defines, based on its lookback or length, whether momentum is bullish, bearish or ranging). In the case of the oscillator though, the ZERO line represents the baseline, and the oscillating line represents price in relation to it. If the line is above the zero line then price is above the moving average, and vice versa if it's below. The farther from the center line the baseline price is the greater the volatility,
Third: the histogram. This is the faster moving average, and same rules apply to it as your baseline. You can think of your fast moving average as a trade entry trigger, or an exit. It shows more immediate momentum shifts.
What's interesting about the relationships of all three of these things is that you don't actually NEED all three displayed. Because the Awesome Oscillator is a relation of your two moving averages, and the baseline and histogram are representational of the price relative to those two moving averages, you will notice that when the histogram (fast MA) flips up or down is the same exact time that the baseline price dips into the AO. The AO is effectively a moving average on that. So you can run this with just the AO and Baseline, or just the Baseline and fast MA histogram. To get started, I might recommend keeping your moving averages that you use on the chart just so you can see how this indicator works.
Both the fast MA and Baseline will show nice divergences (divergence indicator is added if you want to use it). And I've added Donchian Channels as upper and lower bounds that act neatly as support or resistance (especially effective if you're using my UMA with Bollinger Bands, or Magic Carpet Bands).
I've also done the usual colored candles thing, which gives you another great reason to get the moving averages off your chart. There are of course alerts for conditions that one might need to be alerted to as well.
Below are some images of different ways you might set these up using the default moving average/baseline settings. In all of these I've left the moving averages on the price chart (with the addition of a 233 SMA) so you can see the relationship between the indicators.
Right here is the indicator set up with just the awesome oscillator and baseline price. Gives a cleaner overall look. You can see that every time the baseline crosses the awesome oscillator is when price crosses the 8 SMA. Candle colors are based on if candle closes above baseline or below.
This is the indicator set up without the awesome oscillator. Here you can see candle closes over the 8 SMA (fast moving average) are shown by the histogram. Candle coloring is still the same as the above image.
This image looks identical to the first, except that the candle coloring is different. This time it is based on the 8 SMA (same as the baseline entering the awesome oscillator).
And the final example image. This one depicts the awesome oscillator and the fast moving average histogram. Candle coloring is based on the awesome oscillator. This can be a great way to visualize momentum because the awesome oscillator is depicting the crossing of the moving averages. A lot of people poo-poo moving average crosses, but I'd say they're wrong. Well, they're right and wrong. Depends on the MAs you're using. The power in moving average crosses is in their ability to show bullish or bearish momentum (or ranging behavior if they continually cross over each other). If you're using slow moving averages, then crosses are often very late (hence so many people who don't know saying, "but moving average crosses are too laggy". Here you might try changing these and having the baseline be faster than the UMA, and actually plot on chart the UMA (or some other moving average). These are just some thoughts.
Anyway, I hope this indicator proves useful to you all. I think for anyone looking to look at price action a bit more, but is used to using moving averages, this could be a really useful indicator. Most oscillating indicators (if not all) are built around moving averages, but they're never explained in such a way as I'm explaining how this one works (I don't think). I think knowing this could help many traders come to a deeper understanding of what the indicator they're using is actually doing.
+ Magic Carpet BandsFun name for an indicator, eh? Well, it is true, I think; they look like magic carpets. They're actually pretty simple actually. They're Keltner Channels smoothed with a moving average. If you go down to the lookback period for the bands and set it to 1, you'll recognize them immediately.
Digging a bit deeper you see there are four magic carpets on the chart. The inner ones are set to a multiplier of 2, and the outer to a multiplier of 4. Each "carpet" is composed of two smoothed upper or lower Keltner Channels bounds, both with an optional offset, one of which is set to 13, and the other to 0 by default; and an optional color fill between these. There is also a color fill between the outer and inner carpets which gives them an interesting 3-dimensional aspect at times. They can look a bit like tunnels by default.
My thinking around the idea of using an offset with the bands is that if we assume these things to provide a dynamic support and resistance, and previous support and resistance maintains status as support and resistance until proven otherwise, then by putting an offset to past data we are creating a more obvious visual indication of that support or resistance in the present. The default offset is set to 13 bars back, so if price found resistance at some point around 13 bars ago, and price is currently revisiting it we assume it is still resistance, and that offset band is there to give us a strong visual aid. Obviously it's not foolproof, but nothing is.
Beyond that most interesting part of the indicator you have a nice selection of moving averages which the bands are calculated off of. By default it's set to my UMA. The bands themselves also have a selection of moving averages for how the keltner channels are smoothed. And a note: because the UMA and RDMA are averages of different length MAs, they can not be adjusted other than via the multiplier that sets the distance from the moving average.
The indicator is multi-timeframe, and the moving average can be colored based on a higher timeframe as well.
I popped in the divergence indicator here too. You can choose from RSI and OBV, and the divergences will be plotted on the chart. Working on finding a way to be able to have the bands/MA set to a higher timeframe while plotting the divergences on the chart timeframe, but don't have an answer to that yet.
Alerts for moving average crosses, band touches, and divergences.
I like this one a lot. Enjoy!
Pictures below.
s3.tradingview.com
One interesting thing about this indicator is that band twists often occur at areas of support or resistance. Simply drawing horizontal lines from previous twisted points can provide places from which you may look for strength or weakness to enter into a trade, or which you might use as targets for taking profits. The vertical lines are just showing the point on the chart when the cross occurred.
s3.tradingview.com
Above is a Jurik MA with a bunch of adjustments made to the bands, and the moving average itself. Everything is super adjustable, so you can play around and have fun with them quite a bit.
s3.tradingview.com
Just a different MA and bands.
s3.tradingview.com
Moving Average MultitoolI made this script as a personal tool while backtesting multiple moving averages. It allows you to easily access and switch between different types of moving averages, without having to continuously add and remove different moving averages from your chart.
It also has the option to show the a 14 period average distance between the closing price of an asset and the selected moving average, as a multiple of ATR. This number can be shown by enabling the "Show ATR Between MA and Close" setting. The intention of this value is to quantify and compare the speed of different moving averages across any instrument and any timeframe. The higher the value, the slower the moving average. The lower the value, the faster the moving average.
+ Donchian ChannelsThis version of Donchian Channels uses two source options so that one can create a channel using highs and lows rather than one or the other or closes. My thinking was that this would create a more accurate portrayal of price action (or at least contain the greatest scope of it) as seen through the lens of a Donchian Channel. This was actually part of the genesis of my idea around my Ultimate Moving Average.
Besides the single top and bottom plot for the DC's extremities, I've enabled the ability to create outer bands with a variable width that the user can adjust to their preference. I think it's quite nice. I use it in the DC in my other non-overlay indicators.
Besides this additional functionality, the indicator has options to plot lines between the basis and the upper and lower bands, so, basically, splitting the upper and lower channel in half.
There is no magic number to the lookback. I chose 233 as default because it's a fibonacci sequence number and I'm more interested in using the DC like a very long period bias indicator, and the longer lookback gives a much wider window (because highs and lows are so spread apart) with which other faster indicators (supertrend, shorter period moving averages, etc.) can work without making the screen a clutter.
The color of the basis may also be made relevant to higher timeframe information. What I mean by this is that you can set it so that the basis of the current timeframe is colored based on the candle close of the higher timeframe of your choosing. If you're looking at an hourly chart, and you set the color to Daily, the basis will be colored based on the candle close (above or below the basis) of the previous day. If the previous daily close was above the basis, that positive color will be reflected in the basis, even if the current hourly candle closes are below the hourly basis. This could potentially be useful for setting a higher timeframe directional bias and reacting off price crossing the lower timeframe basis (or whatever your trigger for entering a trade might be). This is also optional in my Ultimate Moving Average indicator.
You can also set the entire indicator to whatever time frame you want if you want to see where the actual basis, or other levels are on that higher timeframe.
Further additions include fibonacci retracement levels. These are calculated off the high and the low of the Donchian Channels themselves.
You will see that there are only three retracement levels (.786, .705, .382), one of which is not a fib level, but what some people call the 'OTE,' or optimal trade entry. If you want more info on the OTE just web search it. So, why no .618 or .236? Reason being that the .618 overlaps the .382, and the .236 is extremely close to the .786. This sounds confusing, but the retracement levels I'm using are derived from the high and low, so it was unnecessary to have all five levels from each. I could have just calculated from the high, or just from the low, and used all the levels, but I chose to just calculate three levels from the high and three from the low because that gives a sort of mirror image balance, and that appeals to me, and the utility of the indicator is the same.
The plot lines are all colored, and I've filled certain zones between them. There is a center zone filled between both .382 levels, and an upper and lower zone filled between the .786 and either the high or the low.
If you like the colored zones, but don't like the plots because they cause screen compression, turn off the plots under the "style" tab.
There are alerts for candle closes across every line.
I should state that, regarding the fibs, obviously the length of the Channels is going to affect to what levels price retraces to. A shorter lookback means you will see more changes in highs and lows, and therefore retraces are often going to be full retraces within the bands unless price is trending hard. A longer lookback means you will see smaller retraces. Using this in conjunction with key high timeframe levels and/or a moving average can give great confidence in a trade entry. Additionally, if you have a short bias it may help in finding levels or entering a trade on a pullback. It could also be good for trade targets. But again, the lookback you choose for this indicator is going to dictate its use in the system you're building or already have. A 9 EMA and a 200 EMA, while fundamentally the same, are going to be used somewhat differently while doing your chart analysis.
Additional images below.
Same image as main, but with supertrend and my +UMA to help with chart analysis.
Image with the fib stuff turned on.
Zoomed out image with the same.
Shorter lookback period.
Zoomed in image of shorter lookback.
+ Balance of PowerThe Balance of Power is an indicator that measures the strength of buyers versus that of sellers in the market, and needs to be smoothed by a moving average to be of much practical use (come to think of it, most indicators are smoothed by a moving average; this is why the RSI lookback mostly commonly used is 14, and not 1, but I digress...). I suppose it is possible to use it without smoothing, but that would be very difficult I think.
The oscillator pivots around a center line, and as with most indicators like this, above 0 is generally considered bullish in a bullish trend, and vice versa in a downtrend.
It can be good for spotting divergences (moreso with smaller lookback periods than I like).
To wit, you might be wondering why I have the default lookback period set at such a large number. My only answer I can give is that I prefer it that way.
The indicator is quite choppy, even when smoothed. The long period helps me to make beter sense of the data (smooth it with a Hull or Jurik MA and you get a different story, though).
In my version of this indicator I provide a pretty broad selection of moving averages with which one may choose to smooth out the BOP, as well as an EMA provided to use as a sort of signal line for trade entries and/or exits, taking partial profits, scaling into a position, etc.
I've also added the option for a second BOP, which is on by default. I think you might find the results interesting by pairing differently smoothed BOPs together.
Of course, you don't have to use both. In the case of the default settings you might look at the EMA-BOP crossing the JMA-BOP as an opportunity to look into exiting or entering trades.
Candle coloring is, as usual, included. I'd say I kind of overdid it here, but that seems to be my style. I just couldn't deal with the fact that with the indicator set to cumulative modes there is no zero line, therefor the color of the indicator plot and the candle coloring would not match the color swatches for bullish/bearish colors. So, there are selections for cumulative indicator/candle colors, and standard indicator/candle colors. Donchian Channels obviously doesn't matter because the colors of things are based on the channel only.
I've added Donchian channel bands (which I've begun adding to many of my indicators), and all necessary alerts as well.
The Donchian Channels can be a really effective tool for entering and exiting trades. I haven't mentioned it in my other indicators that have it, so I will here:
The outermost edge of the band is that which references the indicator for where it is plotted, and the inner channel is sort of dragged along, creating the band
It's a simple mathematical calculation that TradingView actually provided themselves in their manual for pinescript.
When the BOP (or any other indicator using this) enters the band and then exits that could be an indication that price may be reversing, this the bands themselves act, or rather, show a current area of support/resistance for the BOP plot.
One thing that I did with it that they did not, is give the user the ability to change the width of the band. It can only go so narrow, obviously, but anywhere from three (quite wide) to eight is probably sufficient.
I've also provided the option of plotting the BOP as a cumulative line (like OBV), making it no longer an indicator which oscillates around a central pivot.
Because the balance of power is plotted as an accumulation, you may actually want to set the lookback to 1 (it works because it's not an oscillator then).
If you wish to smooth the noise, I suspect a low number would be acceptable here, but it's not necessary.
Oh, and lastly (almost forgot, as this was a late addition), I've added options for the BOPs calculated with volume as well. Gives a different bit of a perspective on the market, versus the traditional version which does not include volume. Screenshots below.
The above image is the balance of power calculated with volume. You can see the obvious difference versus the traditional indicator, where price is in a downtrend and you'd want to sell the orange.
Cumulative version. Looks a lot like OBV.
Cumulative version with volume.
Ichimoku + 2 base linesIchimoku + 2 base line
This indicator is a combination of Ichimoku cloud indicator with two base lines.
The first base line is the same as the Ichimoku default settings but the baseline 2 indicates an average of 108 candles in the past and it acts as a strong support and resistance level.
How to use this indicator?
You can use this indicator to see if a break out is true or is a false break. For example if the price broke up the Ichimoku cloud and base line 2 is above the price, it will probably react to that area but if it's below the price, it is a good opportunity to buy. (for sell/short position it is in the opposite way the base line 2 should be above the price)
If you want to trade in support zones base line 2 (108) is a very good area that you can wait for a good candlestick pattern to enter a position.
Caution: before using this indicator please back test it and if the results were good enough, use it as a confirmation.
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.
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.
BERLIN Renegade - Baseline & RangeThis is the baseline and range candles part of a larger algorithm called the "BERLIN Renegade". It is based on the NNFX way of trading, with some modifications.
The baseline is used for price crossover signals, and consists of the LSMA. When price is below the baseline, the background turns red, and when it is above the baseline, the background turns green.
It also includes a modified version of the Range Identifier by LazyBear. This version calculates the same, but draws differently. It remove the baseline signal color if the Range Identifier signals there is a possible trading range forming.
The main way of identifying ranges is using the BERLIN Range Index. A panel version of this indicator is included in another part of the algorithm, but the bar color version is included here, to make the ranges even more visible and easier to avoid.
Trend Follower - Light Mode | jhFollow up script for my Trend Follower script.
I'm used to dark mode, so I coded a few key plots in white, so those are changed into black on the script.
Notably:
- > 1 ATR in black dots along the baseline
- Current and previous ATR text labels to the right of the price
- A text label spacing input that allows you to adjust the spacing for text label from price.
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.
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.
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
Trend Follower | jhThis 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.
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.
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
Adding my Didi and ASH indicators up on this screenshot
Didi Index Improved with QQE
Baseline-C [ID: AC-P]The "AC-P" version of jiehonglim's NNFX Baseline script is my personal customized version of the NNFX Baseline concept as part of the NNFX Algorithm stack/structure for 1D Trend Trading for Forex. Everget's JMA implementation is used for the baseline smoothing method, with optional ATR bands at 1.0x and 1.5x from the baseline.
NNFX = No Nonsense Forex
Baseline = Component of the NNFX Algorithm that consists of a single moving average
Baseline ---> Meant to be used in conjunction with ATR/C1/C2/Vol Indicator/Exit Indicator as per NNFX Algorithm setup/structure. C1 is 1st Confirmation Indicator, C2 is 2nd Confirmation Indicator.
JMA (Jurik Moving Average) is used for the baseline and slow baseline.
A slow baseline option is included, but disabled by default.
The faint orange/purple lines are 1.0x/1.5x ATR from the Baseline, and are what I use as potential TP/SL targets or to evaluate when to stay out of a trade (chop/missed entry/exit/other/ATR breach), depending on the trade setup (in conjunction with C1/C2/Vol Indicator/Exit Indicator)
This script is heavily based upon jiehonglim's NNFX Baseline script for signaling, barcoloring, and ATR.
SSL Channel option included but disabled by default (Erwinbeckers SSL component)
POC (Point of Control) from Volume Profile is included/enabled by default for both the current timeframe and 12HR timeframe
03.freeman's InfoPanel Divergence Indicator was used a reference to replace the current/previous ATR information infopanel/info draw from jiehonglim's script. I'm not sure whether I like the previous way ATR info was displayed vs how I have it currently, but it's something that is completely optional:
Specifically: I am tuning this baseline/indicator for 1D trading as part of the NNFX system, for Forex.
DO NOT USE THIS INDICATOR WITHOUT PROPER TUNING/ADJUSTMENT for your timeframe and asset class.
Note about lack of alerts:
Alerts for baseline crosses (and other crosses) have been purposefully omitted for this version upon initial publication. While getting alerts for baseline crosses under certain conditions/filtered conditions that eliminate low-importance signals and crossover whipsaw would be great, it's something I'm still looking into.
SPECIFICALLY: There are entry, exit, take profit, and continuation signal components in relation to the Baseline to the rest of the NNFX Algorithm stack (ATR/C1/C2/Vol Indicator/Exit Indicator), including but limited to the "1 candle rule" and the "7 candle rule" as per NNFX.
Implementing alerts that are significant that also factor in these rules while reducing alert spam/false signals would be ideal, but it's also the HTF/Daily chart - visually, entry/exit/continuation signal alignment is easy to spot when trading 1D - alerts may be redundant/a pursuit in diminishing returns (for now).
//-------------------------------------------------------------------
// Acknowledgements/Reference:
// jiehonglim, NNFX Baseline Script - Moving Averages
//
// Fractured, Many Moving Averages
//
// everget, Jurik Moving Average/JMA
//
// 03.freeman, InfoPanel Divergence Indicator
//
// Ggqmna Volume stops
//
// Libertus RSI Divs
//
// ChrisMoody, CM_Price-Action-Bars-Price Patterns That Work
//
// Erwinbeckers SSL Channel
//
Baseline - evoPlots the high and low of your chosen moving average.
Options are:
SMA = Simple Moving Average
EMA = Exponential Moving Average
WMA = Weighted Moving Average
HMA = Hull Moving Average
VWMA = Volume Weighted Moving Average
RMA = Exponetial Weighted Moving Average
ALMA = Arnaud Legoux Moving Average
Unbox "Use Current Timeframe" to use chosen timeframe below
I mainly use this to get in and out of the market for futures trading, to reduce fake outs of having just one moving average line.
Let me know if you like it..
Inspired from LazyBear's EMAenvelope :)
QQE Trailing Line for Trailing Stop | jhUsing parts of QQE (Qualitative Quantitative Estimation) again, this time I'm applying the trailing line of QQE on price directly.
Outcome, it's behaving like a baseline filter and it can be use as an exit or a trailing stop indicator.
As comparing to Kijun-sen line in yellow, the QQE trailing line follows the price closer, therefore exiting you sooner when the trend direction changes.
There's 2 QQE option, they behave differently during the trend change.
Credits to Glaz and Shizaru for their QQE code.