Heikin-Ashi Candle ColoringThis script will change the color of normal candlesticks to the color that the corresponding Heikin-Ashi candles would have.
This allows to spot a trend or a trend reversal just by looking at candles, without using Heikin-Ashi candles, which distort the appearance of a typical chart.
Ashi
Heikin Ashi EMA v5 no repaint This script was inspired by the "Heikin/Kaufman Strategy" from marco valente built on v2.
The script was rebuilt on the v5 and most importantly removed the repaint function that was driving surrealistic backtesting inflated numbers.
This script is now fully functional and not repainting - At the time of testing worked efficiently 90% WR and 2x profit factor on CFD WTI OIL with a 15m time frame indexed on forex.com price.
You should utilize this script with caution, especially on high volatility cycles you can try plotting against a volatility relative index or stop.
I also strongly recommend understanding the fundamentals of WTI OIL to balance the indications of the strategy with fundamentals.
Thanks to Clovis Warlop and Nilesh Sharma for their contribution.
Cheers,
Gustavo Bramao
Candles HTF on Heikin Ashi ChartThis script enables calling and/or plotting of traditional Candles sources while loaded on Heikin Ashi charts.
Thanks to @PineCoders for rounding method: www.pinecoders.com
Thanks to @BeeHolder for method to regex normalize syminfo.tickerid.
NOTICE: While this script is meant to be utilized on Heikin Ashi charts it does NOT enable ability to backtest!
NOTICE: For more info on why non standard charts cannot be reliably backtested please see:
NOTICE: This is an example script and not meant to be used as an actual strategy. By using this script or any portion thereof, you acknowledge that you have read and understood that this is for research purposes only and I am not responsible for any financial losses you may incur by using this script!
Smoothed Heiken AshiIt is a Heiken Ashi candle overlay. It has a selectable moving average before HA calculation and another after HA calculation, to smooth original Heiken Ashi candles.
It can be used:
Detecting Short/Long term trend direction
Dynamic support/resistance, not just a line, but it has a height
Trailing stop
Trend reversal detection, when price cross above/below Heiken Ashi candle
A lot of moving averages can be selected to adjust it to the selected market.
It uses my TAExt library, so you can use it in your strategies as well.
Goethe A - Multiple Leading Indicator PackageGoethe A is an Indicator Package that contains multiple leading and lagging indicators.
The background is that shows the local trend is calculated by either two Moving Averages or by a Kumo Cloud. By default the Kumo Cloud calculation is used.
What are those circles?
-These are OBV (or VPT, can be set in the options) Divergences. Red for Regular-Bearish. Orange for Hidden-Bearish. Green for Regular-Bullish. Aqua for Hidden-Bullish.
What this middle line?
-The middle line is calculated by a smoothed Heikin-Ashi indicator. I can be used as a dynamic zone of support and resistance. Many times this indicator is used as entry signal giver in trend following strategies.
What are those background lines?
-The background contains a simple Daily Pivots indicator. This indicator can be read as zones of Support and Resistance that updated based on the used timeframe.
What is this smaller thin grey line?
-This is a very simple Stoploss indicator based on Donchian Channels. The trade direction is based and calculated by the local trend (background color)
What are those small orange or aqua triangles?
- These are Pivots . They show when the OBV or wolfpack oscillators (or a double confirmation of both) might reverse, this is important to know because many times the price action follows this move.
What are those purple triangles?
- These are Pivots . They show when the PVT oscillator might reverse, this is important to know because many times the price action follows this move.
What are those big orange or aqua triangles?
- These are TSI (true strength indicator) entry signals . They are calculated by the TSI entry signal, the TSI oscillator treshold and in conjunction with the overall local trend (background color).
What are those white squares?
- These are Overbought or Oversold regions of the build-in RSI bands indicator. Every time the price crosses one of the RSI bands those squares are printed. Most of the time this happens after a move and indicates that this strong move has come to an end.
Most settings of the indicator package can be modified to your liking and based on your chosen strategy might have to be modified. Please keep in mind that this indicator is a tool and not a strategy, do not blindly trade signals, do your own research first! Use this indicator in conjunction with other indicators to get multiple confirmations.
Heikin Ashi Bar OverlayThis script shows Heikin Ashi bars on your chart with specified vertical offset
NSDT HAMA Candles STRATThis is a STRATEGY based on our popular HAMA Candles Indicator.
It is an "Always On" strategy, meaning it will stay in a Long position until the Short criteria shows up, and then it will close the Long position and immediately enter a Short position.
Since this is a strategy, we added a few more components. The most notable one is the grid at the top right that shows the statistics of whatever the current settings are. The user can change the MA lengths and see the potential results update in real time.
Since this is Always On and uses Moving Averages, we added an ADX setting to help filter our trades in a ranging/choppy market.
The settings will need to be adjusted to find the best fit for your instrument, chart time, and risk management plan.
Heikin Ashi Candles [Improved] - real closing priceHeikin Ashi Candles - with real closing price!, and with a Heikin Ashi based moving average!
One of the main functionality of Heikin Ashi is to provide a smoothed price to get clarity in trends. This script builds upon the Heikin Ashi Candlestick I published in 2020 that took the standard Heikin Ashi calculations and added the actual closing price.
The improved version adds a new smoothing calculation to give traders an even better way to display trends. In addition to that, a Heikin Ashi based moving average is added to guide you to take trades in the trend direction. The best part is the users have the ability to display both the real closing price and the Improved Heikin Ashi closing price.
With a few modifications within the smoothing settings, the users can get features like Candle Cloud that provides traders with functionalities like Ichimoku clouds.
Usage:
This indicator serves as a trend tool with enhanced features of the original Heikin Ashi calculations. The indicator help traders to take trades in the same direction of the trend. The new improved version gives traders a new better way to make use of all Heikin Ashi strategies that have been developed during the years. Apply the same methods with this new version.
Disclaimer: No financial advice, only for educational/entertainment purposes.
NSDT HAMA CandlesHAMA (Heiken-Ashi Moving Average) Candles are built using different moving average lengths for the open, high, low, and close. Those levels are then run through the Heiken-Ashi Candle formula to create a new hybrid candle on the chart. There is an additional Moving Average plotted as well for overall direction.
This may be used best for identifying trending markets. By referencing the HAMA Candle indicator, it may help guide you to stay in a trade a bit longer, or wait a bit longer before entering at the beginning of a potential trend.
We added a Gradient Color scheme option for a more colorful view of potential trend directional changes. The gradient code is taken from the Pinecoders Gradient Framework (Pro Advance/Decline Gradient example) at
There are three different Moving Average types to choose from. (EMA, SMA, WMA). All MA lengths can be modified. All colors can be modified. All options can be turned on or off.
This was previously an "invite-only" indicator, but we decided to publish it publicly and open source.
All for One Moving AverageThis is a collection of all the moving averages available. Some are built-in, a couple were tricky to source out.
Higher timeframes can be specified so you aren't limited to your chart setting.
Repainting has been disabled by default.
There is also an option to use Heikin Ashi candles as the input source rather than standard bars.
Hope that someone finds this useful.
If you'd like anything added please DM me and I'll include it!
Feel free to copy this into your own strategies/indicators.
~Dark
Heikin Ashi Candle Startegy for Long PositionThis strategy utilize Heikin-Ashi candlestick chart.
Heikin-Ashi technique is a Japanese candlestick-based technical trading tool that uses candlestick charts to represent and visualize market price data.
Heikin-Ashi candle is essentially taking an average of the movement.
There is a tendency with Heikin-Ashi for the candles to stay red during a downtrend and green during an uptrend.
This strategy only apply for long trading position.
The idea is trader will waiting 3 green candles for validation period (confirmation) before entering long position.
Different timeframe will result different result.
Number of validation period can be changed to see different result
This strategy has parameter for take profit percentage, trailing stop and stop loss.
User can set maximum active position to minimize risk and qty order.
This tool is useful for user who wants to backtest Heikin-Ashi trading strategy.
Script will emit alert when long position is opened and closed.
Warning of Backtesting
Backtesting is backward-looking. As the name implies, you are testing how something would have worked if you traded it perfectly in the past.
Past performance does not indicate future performance and you should not assume it does.
Backtesting assumes you never miss-fire, that you get in and out at the exactly perfect moment each time.
Backtesting assumes you have perfect liquidity, and your limit orders fill at a specific, pre-defined price every time (either the open, close, low, high, or some average of these).
Disclaimer
Do your own research and consider fundamental price of asset.
The indicators provided on this script is for educational purposes only.
Author does not offer advisory or brokerage services, nor does it recommend or advise users to buy or sell particular stocks or securities.
Please examined script and give feedback for further improvement.
Script are open to public, everyone see and clone source code or just apply to chart. Please make comment for improvement.
Ichimoku w/Heikin-Ashi Ichimoku w/Heikin-Ashi displays the Heikin-Ashi and leading lagging span of Ichimoku Kinko Hyo.
If you change to Heikin-Ashi as it is, the basis of the calculation of Ichimoku will also use the Heikin-Ashi, so after displaying the Heikin-Ashi independently, then the calculation uses the original candlestick.
Initially, two candlesticks are displayed so that you can switch between candlesticks and Heikin-Ashi. If you uncheck the standard candlesticks check box to hide them, only Heikin-Ashi will be displayed.
In addition, the lagging span is displayed as the leading lagging span in order to align the viewpoint to one current place.
一目均衡表の遅行スパンを先行させ、平均足を表示させる指標です。
標準のまま平均足に変更すると均衡表の計算のベースも平均足を使ってしまうため、平均足を独立して表示させた上で計算は元のローソク足を使用しています。
ローソク足と平均足を切り替えられるように、最初は2つのローソク足が表示されますが、標準のローソク足のチェックボックスを外して非表示とすれば平均足のみの表示となります。
また視点を現在の1箇所に揃えるために遅行スパンを先行遅行スパンとして表示しています。
Smoothed Heiken Ashi - SamXThis is my version of the Smoothed Heiken Ashi indicator. While there are a few versions of these out there (most notably "Modified Smoothed Heiken Ashi" by badshah_e_alam and "Smoothed Heiken Ashi Candles v1" by jackvmk), none matched what I was looking for.
1. All had hard-coded the smoothing to use the EMA calculation - in this indicator, these are user-configurable
2. Both applied the double-smoothing principle (Take a moving-average of price, apply the Heiken Ashi conversion, then apply a second moving average to the smoothed Heiken Ashi candles to calculate new candles). While this is the most common approach, I had a few issues with this:
Even if setting both moving average lengths to 1, the indicator did not correctly calculate what should be the actual corresponding Heiken Ashi candle values (as compared to the built-in Heiken Ashi chart on Tradingview)
They were inconsistent in operating on different chart types - indicator values for the same candle can differ between using a base Heiken Ashi or Renko chart vs a standard Candle or Bar chart.
I wanted the ability to easily enable/disable the second smoothing (which is now a configuration option)
I wanted the ability to configure different moving-average calculations for each smoothing iteration (e.g. EMA for the initial smoothing, and Smoothed Moving Average for the second smoothing)
3. Many of the inputs were not clearly or properly defined in the settings window - this script has far more refined user input settings, put in logical groupings, and with relevant help text.
4. Enhanced some visual styling (and added to the Settings) to make it easier for the user to enable/disable printing candle wicks, as well as customizing the bullish / bearish bar colors
5. Added alerts for bar color change to help users catch potential trend reversals
Reference paper on the original Smoothed HA formulas: www.researchgate.net
Reference on the more common implementation formulas (using double-smoothing): www.sierrachart.com
CH-I: Trend - Higher Timeframe BodyI took the script for the built-in indicator for candle bodies of a higher timeframe (www.tradingview.com) which has a fixed border width and style and added the possibility to customize both the border width and the border style or to even disable the display of any border at all, which makes the presentation of those boxes more flexible.
True BarcolorHeikin Ashi can be useful for understanding trend based on price action but it doesn't take volume in context. Here I have tried to use volume for understanding true bar color and ultimately true trend analysis. It can also help you in not getting trapped in sudden shakeouts. Also, you can use it for averaging of your existing position.
Conditions used:
Relative closing price
Relative volume against previous bar and overall moving average of volume
Volume analysis
Trend analysis
Classic Candlestick on Range ChartHello traders!
This is my first script to share with everyone! As of right now the range candles on Tradingview are lacking the option to see range charts using the classic candlesticks. This script allows you to overlay a regular candlestick or heikin-ashi candlestick on a range chart!! Unfortunately, the only bar that cannot be a candlestick is the current bar. Once that bar has completed its range then it will update to a regular candlestick.
Install / Use instructions!
-For the best visual appearance it is important to set the transparency of up bars and down bars to 0. This setting is found in the main chart settings under SYMBOL. However, if you want to see the current unfinished range bar you need to set the "projection up bars" and "projection down bars" to the color you prefer.
-To change the colors of the candlesticks is found under the indicator settings like any other script!
HA,Renko, Linebreak,Kagi and Average all Charts Layouts in One This is an educational study, using the security functions provided by @PineCoders(big thanks to them for creating this ) in order to see the difference between multiple candle close plots using:
Heikin Ashi
Renko
Linebreak
Kagi
Average of them all.
Both the different securities and the average can be used as a source for different indicators like moving averages or oscillators getting with them some new and unique opportunities.
If you have any questions, let me know !
Heikin Ashi Cloud overlayThis script displays a cloud representing the bodies of Heikin Ashi candles, which allows to have all the information of the HA technique without losing focus on the classical candles.
Also has arrows to indicate a trend reversal (counterproductive in a range !)
Heat Zone Relative Volatility Index 2.0v2 of Heat Zone RVI
• Updated aesthetics and added various alerts.
• The use of temperature descriptions with these Heat Zone scripts is more so metaphoric of the interpretations from what the RVI attempts to indicate primarily.
--- Due to the additions of the Overheated and Freezing Zones , the indicator-pane scaling is a little different from the original Heat Zone RVI .
Ex.)
--- If you like the scaling the way it was on v1, you can change it back by going into the settings , opening up the style page, and unchecking/turning off the Overheated Top Line as well as the Freezing Bottom Line . Otherwise, you can leave the settings be in regards to this matter.
Ex.)
Disclaimer : I am by no means a highly skilled or professional coder/programmer. I just enjoy dabbling and tinkering every now and again.
HOPE YOU ENJOY
Ichimoku + RSI Crypto trending strategyThis is a crypto trending strategy designed for big timeframes such as 3-4h+.
Its components are:
RSI
ICHIMOKU full pack
Heikin Ashi candles for logic calculation inside
Rules for entry.
For long : we have a long cross condition on ichimoku and price is above the ichimoku lines, and at the same time RSI value is > 50.
For long : we have a short cross condition on ichimoku and price is below the ichimoku lines, and at the same time RSI value is < 50.
Rules for exit
We exit whenever we receive an opposite signal of the initial entry.
SInce this strategy is using no risk management inside, I recommend to be careful with it .
If you have any questions, let me know !
Multi TimeFrame (MTF) Trend StrengthCalculate and display simple multi timeframe (3 timeframe) trend strength using heikin ashi.
MTF Heiken Ashi (No Repaint)Hi there. This indicator is inspired by Heiken Ashi MTF (by @jdmonto0).
The problem with that indicator was that it repaints and I tried to solve that.
I figured that the reason the other version repaints was because the heiken ashio calculation is based on the close of the candle, and since the higher timeframe candle hasn't closed yet, the value of previous candles on a lower timeframe can change.
This version bases the calculation on the previous bar, which solves the repainting problem.
Please tell me what you think about it.
Heikin Ashi Candle OverlayHello Friend,
This is a very simple script for fun to demonstrate the new ability to change the colors of attributes pertaining to the plotbar() and plotcandle() functions using series inputs.
For Heiken Ashi lovers, this script does several things. It gives you both bars and hollow candles with Heikin Ashi values - something TV does not currently support.
It also gives you the ability to see your favorite HA candles while on the main series plot. When viewing indicators in the "Heikin Ashi" candle setting on TradingView, the input values are "smoothed' with HA values. This skews the way your indicators behave as the OLHC are calculated averages. Only the regular candle settings will give your indicators "real close" etc.
By 'Muting' the main series bars by toggling the 👁 symbol next to your ticker id, it makes the normal candles invisible. You then overlay this script, which allows you to see the HA Candle of your choice, while not affecting the way your indicators behave.
You now have the best of 2 worlds. Smoothed behavior of price action to help visualize trends, and accurate indicator values derived from actual OLHC data.
Plus, something about hollow HA candles is just kind of clean and soothing isn't it?
Cheers,
Bjorgum
Hollow Setting:
Bars
Or just plain old regular, but on the main chart