Tracha

Ichimoku Cloud ALERT

Hi, this my new script which show you correct Ichimoku signals, when price exit cloud.

SELL SIGNAL:
- red line below blue
- green line below price
- price exit cloud bottom
- price below 3 EMA's!

BUY SIGNAL:
- red line above blue
- green line above price
- price exit cloud upper
- price above 3 EMA's!

You can change ichimoku parameters and input 3 EMA's. If u dont want use any of the EMA's then input 1 into them.
오픈 소스 스크립트

진정한 TradingView의 정신에 따라, 이 스크립트의 작성자는 스크립트를 오픈소스로 게시했기에 거래자들이 이해하고 확인할 수 있습니다. 작가님께 건배! 스크립트를 무료로 사용할 수 있지만, 게시물에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 당신은 스크립트를 차트에 사용하기 위해 그것을 즐겨찾기 할 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?
study(title="Ichimoku Cloud", shorttitle="Ichimoku", overlay=true)

conversionPeriods = input(9, minval=1),
basePeriods = input(26, minval=1)
laggingSpan2Periods = input(52, minval=1)
EMAno1 = input(21, minval=1)
EMAno2 = input(144, minval=1)
EMAno3 = input(377, 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=red, title="Conversion Line")
plot(baseLine, color=blue, title="Base Line")
plot(close, offset = -displacement, color=green, title="Lagging Span")

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

ema1=ema(close,EMAno1)
ema2=ema(close,EMAno2)
ema3=ema(close,EMAno3)

//sell signals
signal1 = baseLine > conversionLine

signal2 = close <= ema1
signal2a = close <= ema2
signal2b = close <= ema3

bottomcloud=leadLine2[displacement-1]
uppercloud=leadLine1[displacement-1]

signal3 = close<bottomcloud
signal3a = close[1]>bottomcloud[1]
signal3b = bottomcloud<uppercloud

signal4 = close<low[displacement]

plotchar(signal1 and signal2 and signal2a and signal2b and signal3 and signal3a and signal3b and signal4, char='S', color=red, location=location.abovebar)

signal3x = close<uppercloud
signal3ax = close[1]>uppercloud[1]
signal3bx = bottomcloud>uppercloud
plotchar(signal1 and signal2 and signal2a and signal2b and signal3x and signal3ax and signal3bx and signal4, char='S', color=red, location=location.abovebar)



/// buy signals
nsignal1 = baseLine < conversionLine

nsignal2 = close >= ema1
nsignal2a = close >= ema2
nsignal2b = close >= ema3

nsignal3 = close>uppercloud
nsignal3a = close[1]<uppercloud[1]
nsignal3b = bottomcloud<uppercloud

nsignal4 = close>high[displacement]

plotchar(nsignal1 and nsignal2 and nsignal2a and nsignal2b and nsignal3 and nsignal3a and signal3b and nsignal4, char='B', color=blue, location=location.belowbar)

nsignal3x = close>uppercloud
nsignal3ax = close[1]<uppercloud[1]
nsignal3bx = bottomcloud<uppercloud

plotchar(nsignal1 and nsignal2 and nsignal2a and nsignal2b and nsignal3x and nsignal3ax and signal3bx and nsignal4, char='B', color=blue, location=location.belowbar)

fill(p1, p2)

코멘트

Is there anywhere to show me how to set alerts based on this script?
+26 응답
It looks good and sounds good. But..
Is it non-repainting? ;-)
+8 응답
Are you aware the Ichimoku strategy has four conditions for entry. At first glance, I can see that it is firing an alert when the lagging span is still within the could. Also, I found instances where all four conditions are met and there is no alert.
+1 응답
How do I set alerts?
응답
hi can you code the auto bot for this ichimoku based strategy ??
응답
Nice work. Can you code it with the price bar in a different color for buy and sell signals according to your entry and exit rules ?
응답
TraderR0BERT LudmilaHanania
Ive done something similar to this on my latest script if you'd like to provide comments on how to make it more user-friendly:
+11 응답
abbasfxtm TraderR0BERT
@TraderR0BERT, hi can you code the auto bot for this ichimoku based strategy ??
+29 응답
proeck abbasfxtm
@abbasfxtm, So how can I activate this alert?
+18 응답