Dziwne Trend Indicator A (EMA + Heikin Ashi cloud)First script ever publish.
It is a very simple trend indicator based on EMAs and Heikin Ashi .
Heikin-ashi
LV Cop&RMA w HeikinA buy signal is generated when the indicator turns upwards from previous indicator level.
A sell signal is generated when the indicator turns downwards from previous indicator level.
The indicator is trend-following, and based on averages, so by its nature it doesn't pick a bottom, but rather shows when a rally has started.
It is designed for daily period use.
Frequent buy/sell signals can occur on low and high levels.
It is designed with the mentality of Coppock curve. Rma is used instead of Wma and Heikin-Ashi closing price is used instead of standard closing price.
Composite Any Currency Strength IndexThis is a flexible currency strength indicator and you can adjust it to any currency you wish 'to measure'. By default, it is set to measure USD major pairs. Indicator calculates every pair you list, and plots one composite chart in the form of Heikin Ashi candles. Basically, you will get USD index in this case. Similarly, you can get AUD, EUR, CAD, JPY, CHF, etc indexes by specifying corresponding symbols. Remember about base and quote currencies and location of each for correct calculations. Simple adjustments in the script needed if you want to value USD by using USD in both base and quote (counter) currencies.
For example, when calculating USD strength by looking into USDJPY (not into JPYUSD) symbols, you will need to add minus "-" before corresponding security in the script itself, not in the Settings Inputs.
Default study script (with JPYUSD):
// Inputs
...
string sec3 = input(defval="JPYUSD", type=input.symbol, title="Symbol")
...
h_sec3 = security(heikinashi(sec3), timeframe.period, high)
l_sec3 = security(heikinashi(sec3), timeframe.period, low)
o_sec3 = security(heikinashi(sec3), timeframe.period, open)
c_sec3 = security(heikinashi(sec3), timeframe.period, close)
Adjusted study script with USDJPY:
// Inputs
...
string sec3 = input(defval="USDJPY", type=input.symbol, title="Symbol")
...
h_sec3 = -security(heikinashi(sec3), timeframe.period, high)
l_sec3 = -security(heikinashi(sec3), timeframe.period, low)
o_sec3 = -security(heikinashi(sec3), timeframe.period, open)
c_sec3 = -security(heikinashi(sec3), timeframe.period, close)
Unfortunately, I am not a coder specialist and perhaps someone here could improve this indicator for easier and more friendly adjustments. But thanks to variety of symbols on TradingView , you can ignore any changes in the script, and just use symbols with corresponding counter currency offered by this great platform.
Bollinger Bands, 2 x RMA, 4 x SMA/EMA were added for deeper analysing of the index. Other indicators with ability to select data sources (like CCI, StochRSI, Momentum etc) can be separately added to a current chart, but use Composite Any Currency Strength Index data as the source for analysing displayed pair, i.e. by selecting source - Composite Any Currency Strength Index: SMA Close or EMA HLC.
Thank you and good luck everyone!
Modified Smoothed Heiken AshiThis code is based on Smoothed HA candle which will work on all chart types
condition for BUY:
1. When close crosses Smoothed HA
2.Close should be in side upper band
3.BBW must be greater than the average
vice versa for sell
this code takes data from HA chart so that it can be applied on all chart type.
Bollinger band and Bollinger band width conditions added for removal of unwanted signals
Alert added so that you can apply alert and check it in real time performance
thanks to The Secret Mindset You tube channel from where I got the idea to convert this into a pine script indicator
smooth HA taken from "Smoothed Heiken Ashi Candles v1" at //@jackvmk
HeikinAshi Fibonacci Retracement v2It draws Fib retracements based on the highest high measured when HeikinAshi candles are green, and lows based on when HeikinAshi candles are red.
The idea is that you can see the fib retracements based on HeikinAshi trends on a larger timeframe to help trade in smaller timeframes.
for v2 I reset the fib trace when a new high is set and also at the second green heikin candle. And I only show the last 20 bars of fib lines to avoid confusion and focus on the current trade.
Happy trading!
MrBS:EMA/SMA/HMA (Heikin Ashi Calc)This indicator allows you to base the MA calculation from Heikin Ashi values on normal charts and/or the real OHLC values while looking at Heikin Ashi.
There are 3 MA types you can select - EMA / SMA / HMA
The colour is based on the slope.
I made this to help me visualize my DMI+ strategy, when I was looking at taking signals from Heikin Ashi but looking at candlesticks. Turns out, I was going down the wrong road. Now I'm looking into using the real OHLC values for generating signals but watching the Heikin Ashi chart as I find it easier to see trends on it.
Hopefully its useful to some people, and if you have any suggestions for improvements I'd love to know.
MACD Trend CandlesThe script combines 2 indicators (MACD and Stoch-RSI) and puts them visually directly on the candles - can be used with normal OHLC candles or Heiken Ashi candles. Furthermore, you can derive divergences exremely easy directly visually from the candles as well. Lastly, a SMA 20 high and a SMA 20 low line build a trend channel.
Script is best used in trending markets to trade with the trend.
1) SMA trend channel:
* uptrend: close above
* downtrend: close below
* aggressive entry (uptrend) closing inside channel from below
* conservative entry (uptrend) closing above channel from inside
* hold (uptrend) until close below channel
* can be used accordingly for the downtrend
2) MACD candles
* visualization of the MACD histogram directly on the candles
* dark blue: histogram > 0 and histogram > histogram of previous candle
* light blue: histogram > 0 and histogram < histogram of previous candle
* orange: histogram < 0 and histogram < histogram of previous candle
* light blue: histogram < 0 and histogram > histogram of previous candle
* hold uptrend (dark/light blue candles) - combined with trend channel (above channel)
* hold downtrend (orange /yellow candles) - combined with trend channel (below channel)
* Color divergence: light blue candle > dark blue candle (price and MACD show divergence (bearish)
* Color divergence: yellow candle < orange candle (price and MACD show divergence (bullish)
* Trend change (0 line cross to upside) yellow or orange to dark blue
* Trend change (0 line cross to downside) dark or light blue to orange
3) Stoch RSI diamonds
* visualization of the STOCH-RSI as diamonds above or below the candle
* k, d line > 80: diamond above the candle
* k, d line < 20: diamond below the candle
* divergence caldle without diamond above > candle with diamond above (bearish divergence)
* divergence caldle without diamond below < candle with diamond below (bullish divergence)
Feel free to test each part individually and combine it with other indicators, e.g. BBands and Ichimoku Cloud - you will see it is a powerful visualization script
HAVE FUN
Trendy Bar Trend Color LiteLite version of the original Trendy Bar Trend Color
This will only color the candlestick body of your chart
Can be used with solid, hollow, renko, or any other chart type
Custom coloring for Highs, Lows, and consolidation is removed
Impulse Guage Indicator for HA CandlesThis script uses Heikin Ashi candles to smooth out the candles, then counts how many consecutive candles in a row are the same colour (red or green). It then takes each count and multiples it by the difference between close and open, to provide a weighted movement.
Where larger moves create greater impulses.
HA StudyShows trends based on 1W and 3D heikin ahsi candles and moving averages crossing next possible close prediction on 1W and 3D heiking ashi candles
Heikin Ashi Candles - Actual CloseHeikin Ashi Candles - Actual Close is a simple script that instead of displaying Heikin Ashi Close it displays the actual close.
This script is a handy tool for anyone that wants to use Heikin Ashi candles that displays the real close. The coloring of the candles is still based on the Heikin Ashi calculations.
Enjoy.
[SCL] Better Heikin AshiTo display the Heikin Ashi candle direction on your normal chart, using this script is better than switching between layouts. It includes different display modes so that you can use it alongside other indicators without clashing visually (bar colour/plotted shapes/shapes on flip only), and alerts on changes in direction. Many scripts include some or other of these features; here I've included them all in one for flexibility. One feature that AFAIK is unique is the "predictive close", which shows you where the current candle needs to close in order to change the Heikin Ashi direction.
Heikin Ashi is a different method of calculating candlesticks. It has several advantages:
+ It can help to show the dominant trend in a smoother way than normal candles.
+ Flips in direction can show either trend reversal, or a pause and continuation, which can be a place to join a trend.
Disadvantages of using Heikin Ashi include:
+ Having to change to a different chart layout
+ Difficulties working directly with Heikin Ashi values, because the values of the Open, Low, High, and Close displayed are different to the "real" prices.
This indicator solves this problem by bringing trend information from Heikin Ashi candles (whether they're bullish or bearish) onto your normal candle chart. It displays in the main chart pane.
Heikin Ashi Trend IndicatorMy own implantation of Heikin Ashi which i call HAT.
The Heikin Ashi Trend Indicator (HAT) used to determine the price direction of an asset, as well as draw attention to when the price direction is changing.
The HAT indicator translates the current close/open/high/low into Heikin Ashi and smooths them a bit using Tilson T3 formula.
Buy signal when Heikin Ashi Close is bigger than Heikin Ashi Open with Tilson T3 smoothing.
Sell signal when Heikin Ashi Open is bigger than Heikin Ashi Close with Tilson T3 smoothing.
Set the 'percentSqueeze' percentage to display possible reversal with light Red/Green crosses.
Green - Up Trend
Light Green - Possible reversal is near
Red - Down Trend
Light Red - Possible reversal is near
Follow for more indicators: www.tradingview.com
QuantNomad - Heikin-Ashi PSAR AlertsUsing this script you can create alerts for my Heikin-Ashi PSAR Strategy:
When creating alerts use "Once Per Bar Close" in parameters.
####################
Disclaimer
Please remember that past performance may not be indicative of future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as good as in historical backtesting.
This post and the script don’t provide any financial advice.
Separated Moving Average - evoHere are two moving averages, one based on positive candles and the other based on negative candles. If the current bar is positive, the negative MA will use its last known negative bar for the calculation. The default setting uses Heikin Ashi to smooth the candles with the trend, you can turn this off if you want in inputs.
Let me know if you find it useful :)
Off-chart 21 MA, Bollinger Bands and Heikin Ashi CandlesThis off-chart indicator provides three basic and useful tools for trend trading in Bitcoin and probably other markets. Heikin Ashi candles being utilized with classic candle patterns at the same time could be considered as a conservative and safe confirmation approach for entring your position.
21 MA, Bollinger Bands and Heikin AshiThis on-chart indicator provides three basic and useful tools for trend trading in Bitcoin and probably other markets. Moving and Bollinger lines act as strong support and resistance in 4H resolution. Heikin Ashi candles being utilized with classic candle patterns at the same time could be considered as a conservative and safe confirmation approach for entring your position.
Heatmap trending MalaysiaThis heatmap chart is created base on Heikin Ashi trend for Malaysia Major Index
CONSTRUCTN ,TECHNOLOGY,FINANCE,CONSUMER,PROPERTIES,IND-PROD,PLANTATION,REIT.
This allow compare to malaysia stock for macro trending.
Lastly ,thank to LonesomeTheBlue which inspire me for this coding .
Heikin-Ashi Source FunctionCustom source function for toggling traditional Candle sources or Heikin-Ashi sources on a traditional Candles chart.
Thanks to PineCoders for rounding method: www.pinecoders.com
Thanks to @LucF and @RicardoSantos for their advice and enlightenment as always.
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!
Briz HA MTF - A Heikin-Ashi Multi-Timeframe Indicator Ever wanted to know what Heikin-Ashi candles are showing for multiple time frames at a glance? Adjustable time frame for each row. Arrows show when each column is either all green (white up arrow) or all red (yellow down arrow).
Supertrend MTF Heikin AshiThis is non-repaiting Supertrend Multi Time Frame script, uses Heikin Ashi Candles as source on normal chart
There is an option for Higher Time Frame. if you choose "Auto" then Higher Time Frame calculation is made by the script. If you choose "User Defined" option and then you can select Time Frame.
You better use this script with other indicators such as RSI, Momentum etc.
Enjoy!
BERLIN CandlesA problem with Heikin Ashi is that while it gives you a great overview of overall direction, it is rarely possible to use it as a replacement for normal japanese
candlesticks. The reason for this is that actual price data is lost, since the candles are more akin to a moving average than a different way to see price action. Also, with Heikin Ashi, most of the actual price action is lost, because the candles can be bigger than the high and low of the underlying japanese candlestick.
With BERLIN Candles I have tried to fix that problem. By using a smoothed out version of the previous Heikin Ashi candle close as the current BERLIN Candle open, the high and low of the actual japanese candlestick for the high and low of the BERLIN Candle, and the current Heikin Ashi close as the BERLIN Candle close, while setting hard limits for BERLIN Candle open and close values so that they can never exceed the high and low of the underlying japanese candlestick.
One problem still persists though. The actual current price data is lost. However, the BERLIN Candles have solved this by adding a fifth part to the candles. The close of the underlying japanese candlesticks are indicated with a plus-sign. This way, actual price data is never lost, while keeping all of the other benefits of this type of candles.
A few added bonuses:
The addition of the 14 period ATR at the latest candle
The baseline from Ichimoku is included as an option
The 14 period ATR value of each candle can be seen in the indicator data as
the orange value