glaz

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
plot(Value4,color=col)
plot(Trigger,color=yellow)
hline(0)
hline(0.80)
hline(-0.80)
I'm guessing not because the signal comes when the signal comes, but just wondering :-)
Reply
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.
Reply
United States
United Kingdom
India
Deutschland
España
France
Việt Nam
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 Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing Support Priority Support Report Issue Ideas Published Followers Following Private Messages Chat Sign Out