Heiken Ashi Algo Oscillator

CoffeeshopCrypto Mis à jour   

What is the "Heiken Ashi Algo Oscillator"
It is an indicator that measures volume and momentum.
It plots and RSI as Heiken Ashi candles.
It includes seven different types of moving averages against the relative strength index.
Each one of these moving averages calculates faster than the previous, starting from the SMA to the LSMA.
It includes a hidden vwap as a moving average to confirm Trend Direction.
It uses a "Double Stochastic Strategy" designed by @CoffeeshopCrypto
The first Stochastic being called the "slow stochastic" and the second stochastic using a hull moving average calculation and it's K% and a separate multiplication in its D%.


Welcome to the coffee shop everyone. This is your host and Barista Eric as always serving up something piping hot and frothy unless you just like a chai tea which tastes like a hot Garden in a cup. Chai is definitely not my cup of tea but I do like drinking tea over coffee . So if you feel like sending me something then let it be either coins on tradingview or it could be a few tea bags of your favorite.

Okay so I'm keeping the intro very short today and I know my videos tend to be pretty long and I max out at the 20 minute marker but I do like to keep you people informed and today is the information you've been waiting for.

today is the release of the Heiken Ashi Algo oscillator.

There is definitely not enough time in this video To break down all the different ways you can use it for trading because it is available to so many different styles and strategies so in today's video I'll show you what all the parts do what all the parts mean you can take it and added to your chart and start running with it.

In the meantime day-to-day you will see new strategies posted in my profile. Each one depicting a different trading strategy and trading style that can you can use against the Heiken Ashi Algo Oscillator.

I figured it would be easier this way anyway to break up the trading Styles across different videos so that there is no confusion and you won't have to worry about watching two different styles in the same video at least .

So without further Ado let's grab our coffee and tea and raise our glasses in a universal, community style toast and get onto the oscillator and all of it's moving parts.

This is where you need to play the video and listen, because it would be TOO MUCH to type and too much to read. So let's go.


For my trading style, the HA candles have been Recalculate it again because I come to find out that the AHA candles are based on a 2. Calculation which means if my candles are set to 9. IRS I should be twice of that and my RS I'm moving average should be two times at so my candles are 9 my RS I is 18 which is 9 * 2 and my are as I'm moving average is 36 which is 18 * 2.

I just wanted to point this out before anyone starts asking me what are the best settings. these are not necessarily the best they are simply the ones that work for me.

HA Candle: These are the colors, Wicks, and borders, as they are plotted against your RSI. they are simply a representation of the RSI signal but you can have your RSI set at one length while your candles are set at another length.

RSI: No description needed here this is simply the relative strength index
long exit - This is a signal to tell you the uptrend is going to pause or stop.
short exit - this is a signal to tell you that the downtrend is going to pause or stop
Resistance levels - This is a signal to tell you where you can set the beginning of a trend line and the level of resistance on your chart.
support levels - is this a signal to tell you where you can set the beginning or end of a trendline and set a support level on your chart
RSI Moving average - this is the signal line of your moving average against your RSI and you can choose up to 7 different calculations.
Buy and sel Signals - These signals are triggered based off of certain criteria happening in the oscillator related to volume and Trend Direction.
**WARNING** You should take BUYS when you are in an uptrend and SELLS in a downtrend. (IE 200ma below the 50 ma for uptrend and 200 above 50 for downtrend)
Slow stochastic RSI ribbon - this prints a visual representation of the regular stock a stick on your oscillator.
Fast Stochastic RSI ribbon - This is the second part of the double Stochastic strategy which prints a faster Stochastic on your chart which uses part of a hull Moving Average calculation.

Finally ALERTS have been included.
To use the alerts go to your alerts Tab and click create alert.
Under "Condition" select Heiken Ashi Algo
In the drop-down below it you can select:
buy signal to enter long
Sell signal to enter short
Soft Long or Short exit, if you want to get out of your Long or Short trade when the trend begins to change
Hard Long or Short exit, Is when you definitely should get out of your long or short trade.
there is also an alert set up if you want to be notified about new resistance levels or new support levels.

Just select the one you want and adjust the message that will arrive to you via email, phone, or on screen.

So........ did we do a good job? Let's talk in the comments below.
Notes de version:
1. The VWAP Moving Average - The VWAP as a moving average against the RSI was added back in by request. It was originally removed since it caused conflict with the calculations. However now there is a hidden VWAP for calculations and a visible plotted VWAP for visual reference on entries which does not conflict with calculations.

When the VWAP is above the 50, you should be looking for LONGS. When the VWAP is below the 50, you should be looking for shorts.

2. Exit Long (soft) (looks like little green dots above the oscillator)
Was recoded to show you "XL" indicating its time to exit your long trade. You may get many XL alerts while momentum is slowing down. The rule of thumb is generally to use the "XL" that arrives when the Fast Stochastic is clearly in a downtrend (RED)

3. Exit Short (soft) Looks like little red dots below the oscillator.
Was recoded to show you "XS" indicating its time to exit your short trade. You may get many XS alerts while momentum is slowing down. The rule of thumb is generally to use the "XS" that arrives when the Fast Stochastic is clearly in a uptrend (GREEN)
Notes de version:

***Special Reminder** You should NOT be BUYING in a downtrend or SELLING in an UPTREND**
(Unless you see a divergence)
Notes de version:
  • Recalculated BUY and SELL signals for better entries on LOW timeframes
  • Hidden RSI MA and RSI no longer interfere with visible oscillator settings or layout
  • "Upper Min Band" changed to GREEN to indicate possible BUY area
  • "Lower Mid Band" changed to RED to indicate possible SELL area
  • Adjusted Z-Index Plotting of Candles, RSI, and Stochastic so layering can be more visually appealing

I also removed needless code to make the script run more smooth
Notes de version:
Updated copyright code

The 50 level MIDLINE is now a ZERO line. This makes doing the RSI FORUMLA a lot easier for anyone using that strategy. You can find that formula here:

BUY and SELL indicators (Alerts) are now working better on lower timeframes.

Removed un-needed values from the STATUS line. Now all you see from left to right at the following values:
RSI / RSI Moving Average / Heiken Ashi Open, High, Low, Close

Made some really cool adjustments to the visuals. the regular RSI and RSI Moving Average were just adding more lines to an already cluttered area on the oscillator. Obviously we as humans (right?) can get confused or lose focus when there's way too much to see. So I did some testing and found that since most of our reactions and understanding are based on colors to show trends and movement, I adjusted the RSI and RSI Moving Average to appear as a colored trend.

Light Green = High Strength Uptrend
Black in Green = Low Strength Uptrend

Light Red = High Strength Downtrend
Black in Red = Low Strength Downtrend
Notes de version:
Simple Text Correction and chart update
Notes de version:
on the STYLE tab, the RSI and RSI Moving Average color settings were showing up as "PLOT"
This is just a fix to correct that, so now you can see the NAME of the lines you are adjusting (RSI and or RSI Moving Average)
Notes de version:
  • Adjusted Heiken Ashi Bar color transparency in preparation for new strategies being published
  • Created an RSI Moving average that changes color with uptrend (GREEN) or downtrend (RED)
Notes de version:
Now recognizes Imbalance moves in the market. These areas can be marked with a horizontal line and price will come back to it
Support and Resistance Markers were recalculated for ALL timeframes
Secondary RSI Moving Average was included
RSI Direction is more visible
Better confirmation of RSI Trend Direction using a MA Cloud

Fast Stochastic was REMOVED
Created a Super trend coloring for the Secondary RSI Moving Average
Bollinger Bands were messy in this script so all references were removed
Notes de version:
Correction was made to indication of BUY and SELL labels. These were supposed to be SUPPORT and RESISTANCE markets for all timeframes.
Now they read as
"S" for Support
"R" for Resistance

You can mark a horizontal line on your chart each time you get this indication while Heiken Ashi Candle close is above +10 or below -10.
Leave these lines no your chart as targets which price will go to again in the future.
Notes de version:
Adjusted Heiken Ashi Bar Colors
Added calculation to show RSI Pivot Points
Added calculation to draw RSI trendlines according to New Pivot Reversal levels
Added Support and Resistance Flags to avoid false breakouts and sudden stops in momentum.
Notes de version:
Made an adjustment to Stochastic Input Settings to match Scalping.
Corrected the missing "Imbalance" marker": This can be used to spot an interesting price level on any timeframe.

Removed erroneous code.
Cleaned up code and color settings for "Pivot levels"

Created a method to spot when your RSI is overbought or Oversold and price is about to reverse.
Notes de version:
Fixed the visibility of Extreme OB and OS rsi
Removed un-needed values from the status line
Notes de version:
Added alert for either Imbalance
Notes de version:
Corrected an issue where the RSI was not adjustable

Change Pivot High to read Pivot High Trendline. Did the same for the Pivot Low which now reads trendline.
Just some minor corrections
Notes de version:
removed code not needed
Added ability for users to set their own PIVOT LOOKBACK period. I have done away with the old way of separate "Look left and Look right" bars strategy and changed the calculation to look left and right equally.

Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?