Ehlrers StochCCI

A variation of Ehlers stoch RSI replaced with CCI
Remove from Favorite Scripts Add to Favorite Scripts
//By Glaz
//A variation of Ehlers stoch RSI
study("Ehlers StochCCI")
RSI_Length = input(8)
Stoc_Length = input(8)
WMA_Length = input(5)
docol = input(true,title="Color Change")

Value1 = cci( hlc3, RSI_Length ) - lowest( cci(hlc3, RSI_Length), Stoc_Length)
Value2 = highest(cci(close, RSI_Length ), Stoc_Length ) - lowest(cci(close,RSI_Length ),Stoc_Length )
Value3 = nz( Value1/Value2)
Value4 = 2 * ( wma( Value3, WMA_Length ) - 0.5)
Trigger = Value4[1] 

col = docol ? Value4 > Value4[1] ? #0094FF : #FF006E : #0094FF
I'm guessing not because the signal comes when the signal comes, but just wondering :-)
This is fabulous, really. Is it possible to add an offset option in inputs to the arrows/waves in order to bring them forward? I've seen offetting on rvgi, bit not this combination. Brilliant work. Thank you.
EN English
EN English (UK)
EN English (IN)
DE Deutsch
FR Français
ES Español
IT Italiano
PL Polski
TR Türkçe
RU Русский
PT Português
ID Bahasa Indonesia
MS Bahasa Melayu
TH ภาษาไทย
VI Tiếng Việt
JA 日本語
KO 한국어
ZH 简体中文
ZH 繁體中文
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