Tracha

Heiken Ashi Ichimoku

WELCOME!
I want to share with you with my Heiken Ashi Ichimoku system
.
Remember to fallow me to get more startegy, or signals. Click like if u enjoy it :)

IMPORTANT:
System works with Heiken Ashi bars!!

The signals.
SELL SIGNAL:
1. When price is below:
a) cloud
b) blue line
2. When last bar was green, and now turn to red
3. When heiken ashi bar is close to SMA55, but its below SMA55

BUY SIGNAL:
1. When price is above:
a) cloud
b) blue line
2. When last bar was red, and now turn to green
3. When heiken ashi bar is close to SMA55, but its above SMA55
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?
study(title="Ichimoku Cloud", shorttitle="Ichimoku", overlay=true)

conversionPeriods = input(9, minval=1),
basePeriods = input(26, minval=1)
laggingSpan2Periods = input(52, minval=1),
displacement = basePeriods

donchian(len) => avg(lowest(len), highest(len))

conversionLine = donchian(conversionPeriods)
baseLine = donchian(basePeriods)
leadLine1 = avg(conversionLine, baseLine)
leadLine2 = donchian(laggingSpan2Periods)

plot(conversionLine, color=blue, title="Conversion Line")
plot(baseLine, color=red, title="Base Line")


p1 = plot(leadLine1, offset = displacement, color=green,
    title="Lead 1")
p2 = plot(leadLine2, offset = displacement, color=red, 
    title="Lead 2")
fill(p1, p2)

plot(sma(close,55), color=yellow, title='Simple Moving Average')
distance = abs(open - sma(close,55))

signal1 = close < conversionLine
signal2 = conversionLine > baseLine
signal3 = close < leadLine1 and close < leadLine2
signal4 = close < sma(close,55)
signal5 = distance < abs(highest(20) - lowest(20))/3
signal6 = open[1]<close[1]

SELLSIGNAL = signal1 and signal2 and signal3 and signal4 and signal5 and signal6
barcolor(SELLSIGNAL ? yellow:na)

signal1b = close > conversionLine
signal2b = conversionLine < baseLine
signal3b = close > leadLine1 and close > leadLine2
signal4b = close > sma(close,55)
signal5b = distance < abs(highest(20) - lowest(20))/3
signal6b = open[1]>close[1]

BUYSIGNAL = signal1b and signal2b and signal3b and signal4b and signal5b and signal6b
barcolor(BUYSIGNAL ? blue:na)