[RS]Heiken Ashi Cloud V0

Multi Time Frame Heiken Ashi Cloud Overlay:
useAlternativeTF: if you want to manually choose a time frame for the security() source.
TF: Said alternative timeframe.
Internal_Smooth: Smoothing aplied at used time frame.
External_Smooth: Regular Smoothing over the security().
showLabels: display sell/buy signals.
showBarColors: display overlay bar colors.
お気に入りスクリプトから削除 お気に入りスクリプトに追加
study(title="[RS]Heiken Ashi Cloud V0", shorttitle="[RS]HACK.V0", overlay=true)
useAlternativeTF = input(false)
AlternativeTF = input("D")
TF = useAlternativeTF ? AlternativeTF : period
Internal_Smooth = input(1)
External_Smooth = input(1)

HA_ticker = heikenashi(tickerid)
HA_open = sma(security(HA_ticker, TF, sma(open, Internal_Smooth)), External_Smooth)
HA_close = sma(security(HA_ticker, TF, sma(close, Internal_Smooth)), External_Smooth)
HA_high = sma(security(HA_ticker, TF, sma(high, Internal_Smooth)), External_Smooth)
HA_low = sma(security(HA_ticker, TF, sma(low, Internal_Smooth)), External_Smooth)

HAO = plot(HA_open, color=maroon, linewidth=2)
HAC = plot(HA_close, color=green, linewidth=2)
HAH = plot(HA_high, color=silver, linewidth=1)
HAL = plot(HA_low, color=silver, linewidth=1)

fill(HAH,HAL,color=gray, transp=85)
fill(HAO,HAC,color=blue, transp=85)

//  ||---   Signals:
showLabels = input(true)

plotshape(not showLabels ? na : (SEL0 and HA_high != HA_high[1] ? HA_high : na), style=shape.labeldown, color=maroon, location=location.absolute, text='Sell', offset=5)
plotshape(not showLabels ? na : (BUY0 and HA_low != HA_low[1] ? HA_low : na), style=shape.labelup, color=green, location=location.absolute, text='Buy', offset=5)

showBarColors = input(true)
BC_CON = HA_open < HA_close and BUY0 ? green : HA_open < HA_close ? lime : HA_open > HA_close and SEL0? maroon : HA_open > HA_close ? red : gray
barcolor(not showBarColors ? na : BC_CON)



Here's a similar treatment. I call it TrailingRangeOffset:

study(title = "TrailingRangeOffset", shorttitle = "TRO", overlay=true)

periods = 10
atr = atr(periods)
rangeOffsetMultiplier = input(title="RangeOffsetMultiplier", type=float, defval=3.0)
mtrOffset = atr * rangeOffsetMultiplier

priorTrail = na(priorTrail) ?
low - mtrOffset :
priorTrail > low ?
priorTrail < high ?
low - mtrOffset > priorTrail ?
low - mtrOffset :
priorTrail :
high + mtrOffset < priorTrail ?
high + mtrOffset :
priorTrail :
low - mtrOffset > priorTrail ?
low - mtrOffset :

isUp = na(isUp) ?
close > low :
priorTrail > low ?
priorTrail < high ?
low - mtrOffset > priorTrail ?
true :
isUp :
high + mtrOffset < priorTrail ?
false :
isUp :
low - mtrOffset > priorTrail ?
true :

plot(priorTrail, color = isUp ? green : red, linewidth=2)
+1 返信
Just discovered this indicator, it’s excellent really made a difference to my results.

Keeping the cloud on a daily time frame really keeps perspective on price.

Just wanted to say thank you
THE add MTF function on this indicator is best so far.
RicardoSantos QuantitativeExhaustion
the indicator wasnt meant to be a entry trigger, its a over sight on my part :) , the ideal use is to get a fast indication of were the market wants to move. V1 fixed that.

+2 返信
Maybe you should add an exact entry exit arrow on this indicator.
Is there a post/site that explains this method further?
not really, what the indicator does as a rought description is overlay Heiken Ashi candles data over normal candles, including higher timeframe's.
+1 返信
chefsam60 RicardoSantos
@RicardoSantos, This is excellent, you are the man supper ricardo,,,,,,
ホーム 株式スクリーナー FXスクリーナー 仮想通貨スクリーナー 経済指標カレンダー 使い方 チャート機能 価格 友達紹介 ハウスルール ヘルプセンター ウェブサイト&ブローカー向けソリューション ウィジェット チャートソリューション 軽量チャートライブラリ ブログ&ニュース ツイッター
プロフィール プロフィール設定 アカウントとお支払い 友達紹介 コイン マイサポートチケット ヘルプセンター 公開したアイデア フォロワー フォロー中 プライベートメッセージ チャット サインアウト