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 :)
EN English
EN English (UK)
EN English (IN)
DE Deutsch
FR Français
ES Español
IT Italiano
PL Polski
SV Svenska
TR Türkçe
RU Русский
PT Português
ID Bahasa Indonesia
MS Bahasa Melayu
TH ภาษาไทย
VI Tiếng Việt
JA 日本語
KO 한국어
ZH 简体中文
ZH 繁體中文
AR العربية
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing My Support Tickets Contact Support Ideas Published Followers Following Private Messages Chat Sign Out