TradingView
cheatcountry
17 May 2020 15:53

Ehlers Correlation Cycle Indicator 

Apple Inc.NASDAQ

Açıklama

The Correlation Cycle Indicator was created by John Ehlers (Stocks & Commodities V. 38:06 (8–15)) and this is technically part of three indicators in one so I'm splitting each one to a separate script. This particular indicator was designed for trend direction and trend strength and simply buy when it is green and sell when it turns red. Also keep in mind that the higher the indicator is above the signal then the stronger the trend and when they are close together, conditions get choppy.

Let me know if you would like to see me publish other scripts or if you want something custom done!

Sürüm Notları

changing my code to make it uniform with everything else

Sürüm Notları

updated to make it consistent with my other indicators

Sürüm Notları

fixed issue with default resolution
Yorumlar
ashok1961
@cheatcountry Thank you again for your various useful indicators
ashok1961
@cheatcountry
Thank you very much for your excellent Ehler's Correlation Cycle indicator.
I would greatly appreciate it if you code Jay A. Leavitt's indicators that appeared in 6 issues of TASC. Their TS EasyLanguage codes for translation are as follows.
Function: LeavittProjection
// TASC JAN 2020
// Author Jay Leavitt
// function LeavittProjection
inputs:
Price(numericseries),
Length(numericsimple) ;
LeavittProjection =
LinearRegValue(Price, Length, -1) ;
Function: LeavittConv
// TASC JAN 2020
// Author Jay Leavitt
// function LeavittConv
inputs:
Price(numericseries),
Length(numericsimple) ;
vars:
LenConv(0) ;
LenConv = IntPortion(
SquareRoot(Length)) ;
LeavittConv = LinearRegValue(Leavit
tProjection(Price, Length), LenConv, -1);
Function: LeavittConvSlope
// TASC JAN 2020
// Author Jay Leavitt
// function LeavittConvSlope
inputs:
Price(numericseries),
Length(numericsimple) ;
vars:
LenConv(0) ;
LenConv = IntPortion( SquareRoot(Length)) ;
LeavittConvSlope = LinearRegSlope(LeavittProjection(Price,
Length), LenConv);
Indicator: LeavittConvSlope
// TASC JAN 2020
// Author Jay Leavitt
// indicator LeavittConvSlope
// show plot1 as histogram
inputs:
Price( Close ),
length( 61 ),
UnSure( .2 );
variables:
LCSlope( 0 ) ;
LCSlope = LeavittConvSlope( Price, Length );
Plot1( LCSlope, "LeavittConvSlope" ) ;
Plot2(UnSure,"+UnSure", White);
Plot3(-UnSure,"-UnSure", White);
If LCSlope > LCSlope[1] then
SetPlotColor( 1, green );
If LCSlope < LCSlope[1] then
SetPlotColor( 1, red );
Plot4 ( 0, "ZeroLine" ) ;
Mupsje
hi, I like your work allot, also your github.
Installing Visual Studio right now, hahaha don't know how but we gonna try...
Is this the same as yours?
prorealcode.com/prorealtime-indicators/john-ehlers-correlation-cycle/
greets Remco
cheatcountry
@Mupsje, Yes I have that same script on my indicator library and you can also install vs code which would work as well
CatoshiDogamoto
that's very useful. ty
cheatcountry
MeTu2018
I like cycle indicators. Thx and hopefully waiting the other two
cheatcountry
@MeTu2018, Make sure to follow me if you aren't already so you can be notified when I publish the scripts
Daha Fazla