glaz

Ehlrers StochCCI

803 2 144
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)
benedictwellstood
3 months ago
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
benedictwellstood
3 months ago
I'm guessing not because the signal comes when the signal comes, but just wondering :-)
Reply
Ideas Scripts Chart
United States
United Kingdom
India
España
Italia
Brasil
Россия
Türkiye
日本
한국
Home Stock Screener Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Billing Sign Out