CapnOscar

Oscars Simple Trend Ichimoku Kijun-sen

This super simple Kijun-sen line borrowed from Ichimoku Clouds for trend following.
Remove from Favorite Scripts Add to Favorite Scripts
study(title="Oscars Simple Trend Ichimoku Kijun-sen", shorttitle="OTrend Kijun", overlay=true)

Length = input(34, minval=1)
Trigger = input(5, minval=1),



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

conversionLine = donchian(Trigger)
baseLine = donchian(Length)
leadLine1 = avg(conversionLine, baseLine)

kjuncol = conversionLine > baseLine ? blue : conversionLine < baseLine ? red : orange


plot(baseLine, color=kjuncol,linewidth=2,transp=5, title="Base Line")

almatrend = alma(baseLine, 34, 0.85, 6)

plot(almatrend,transp=85)
United States
United Kingdom
India
Deutschland
España
France
Italia
Polska
Brasil
Россия
Türkiye
Indonesia
Malaysia
日本
한국
简体
繁體
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 Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing Priority Support Ideas Published Followers Following Private Messages Chat Sign Out