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)