Welcome traders,

I have made this script wishing a higher gain,

Originally, this strategy is taken from Ichimoku Kinko Hyo

ChinkouPro crossing with price is giving a clear opportunity.
Review it, master it, work it.

Remove from Favorite Scripts Add to Favorite Scripts
// 100416 @TrendoBoom 
study(title="ChinkouPro", shorttitle="Ch_PRO", overlay=true)

src = input(close)
of = input(-9, title="Chinkou'-26'")
// color of 1:0
colo = close >= close[1] ? lime : red 
// plot for chinkou
plot(src, color=blue,offset=of, transp=70, style=line, color=colo,title='Chinkou Span', linewidth=3)
// alert 
alertcondition(close >close[of], title='ChinkouPro crosses Price', message='ChinkouPro and Price have crossed!')
alertcondition(close<close[of], title='ChinkouPro crosses Price', message='ChinkouPro and Price have crossed!')
// Have A Good Day .

//additonal for lazy trader :)
len = input(0,minval=0)
smooth(x) => 
    sma(x, len)
o = smooth(open)
h = smooth(high)
l = smooth(low)
c = smooth(close)
plotcandle(o, h, l, c,color=colo)


Guys , new one

Enjoy :)
Thanks a million.
Is there a way to avoid this multi-line function and code in a different way? Thanks. (additional for lazy trader)
TrendoBoom telepatico

Enjoy :)
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out