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))))
need Help for correcting functions
- TJ
- Posts: 7742
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
Re: need Help for correcting functions
These are not EasyLanguage codes.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))))
- TJ
- Posts: 7742
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times