TradingView
CryptoRox
13 מאי 2017 17:43

Heiken Ashi Candles 

תיאור


This is a script to place Heiken Ashi candles on your chart alongside another candle type or more importantly, using the variables from this script, you can build a strategy using Heiken Ashi candles that will depict true/proper entries and exits in a strategy when using the backtest feature.

We hope this helps!
תגובות
mks17
Is this true CryptoRox? can we use heikin ashi candles for our strategies with this code you wrote?
bigmikemayhem
@mksamanes, any luck with this?
mks17
@bigmikemayhem, no, no luck yet. I havent looked at it in a while but I think is not possible
Robert_Warner
How to set an alert?
eggman94
Hey man, how can I update this for v4 pine script so it works the indicator i'm building ?
tps565
@eggman94, Here you go...

//@version=5
indicator('Heiken Ashi Candles', 'Heiken Ashi', overlay=true)

//Heiken Ashi
isHA = input(true, 'HA Candles')

heikenashi_1 = ticker.heikinashi(syminfo.tickerid)
data = isHA ? heikenashi_1 : syminfo.tickerid

o = request.security(data, timeframe.period, open)
h = request.security(data, timeframe.period, high)
l = request.security(data, timeframe.period, low)
c = request.security(data, timeframe.period, close)
col = c > o ? color.lime : color.red

plotcandle(o, h, l, c, 'Heiken Ashi', col, color.black)
rajputsam
Good
TheParabolic
best ones
KMW
There is a method of trading using bar charts over Heiken Ashi candles. It was worked out some years ago in another forum. Type (randy candles) into a search engine. I'm not sure if one is allowed to mention other forums here which is why I've said search engines. I'm using the method on mt4 but wanted to use the method here as well which is why I just came looking for HA candles. Thanks CryptoRox
randyandrajie
Is there a way that I can get that actual price to go up and down inside the Heiken Ashi bar?
I am guessing that these bars will work in regular bar mode.
עוד