need Help for correcting functions

Questions about MultiCharts and user contributed studies.
valabhi
Posts: 45
Joined: 25 Jun 2007

need Help for correcting functions

Postby valabhi » 09 Feb 2015

I have copied three functions from traders support. They do not compile.
Can some one help?

Function Name: Ehlers Smoothing
Short Name: ESmoothing
Inputs: Data
Div (Add (Data, Add (Mult (2, Lag (Data, 1)), Add (Mult (2, Lag (Data, 2)), Lag (Data, 3)))), 6)
Function Name: Ehlers Slope
Short Name: ESlope
Inputs: Data, Period, Maximum Period
Sub (Data, LagVL (Data, Sub (Period, 1), Maximum Period))
Function Name: Ehlers Instantaneous Trendline
Short Name: EITrend
Inputs: Data, Period, Maximum Period
Add (MAVL (Data, Period, Maximum Period), Mult (0.5, ESmoothing (ESlope (Data, Period, Maximum Period))))

User avatar
TJ
Posts: 7739
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1032 times
Been thanked: 2221 times

Re: need Help for correcting functions

Postby TJ » 09 Feb 2015

I have copied three functions from traders support. They do not compile.
Can some one help?

Function Name: Ehlers Smoothing
Short Name: ESmoothing
Inputs: Data
Div (Add (Data, Add (Mult (2, Lag (Data, 1)), Add (Mult (2, Lag (Data, 2)), Lag (Data, 3)))), 6)
Function Name: Ehlers Slope
Short Name: ESlope
Inputs: Data, Period, Maximum Period
Sub (Data, LagVL (Data, Sub (Period, 1), Maximum Period))
Function Name: Ehlers Instantaneous Trendline
Short Name: EITrend
Inputs: Data, Period, Maximum Period
Add (MAVL (Data, Period, Maximum Period), Mult (0.5, ESmoothing (ESlope (Data, Period, Maximum Period))))
These are not EasyLanguage codes.

User avatar
TJ
Posts: 7739
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1032 times
Been thanked: 2221 times

Re: need Help for correcting functions

Postby TJ » 09 Feb 2015

ps:

[FAQ] How to Post Codes (that people can read)
viewtopic.php?f=16&t=11713


Return to “MultiCharts”