МЕТОД СГЛАЖИВАНИЯ СКОЛЬЗЯЩИХ СРЕДНИХ ОТ ТИМА ТИЛСОНА

МЕТОД СГЛАЖИВАНИЯ СКОЛЬЗЯЩИХ СРЕДНИХ ОТ ТИМА ТИЛСОНА

Type: Function, Name: GD

Inputs:
Price(Numeric),
Period(Numeric),
vFactor(Numeric);

Vars:
X1(0),
X2(0),
Dema1(0);

X1= XAverage(Price, Period) * (1 + vFactor);
X2= XAverage(XAverage(Price, Period), Period) * vFactor;
GD = X1 — X2;

 

 

Type: Indicator, Name: IE/2
Inputs:
Price(Close),
Period(15);
Vars:
ILRS(0),
EPMA(0),
IE(0);

ILRS = LinearRegSlope(Price, Period) + Average(Price, Period);
EPMA = LinearRegValue(Price, Period, 0);
IE = (ILRS + EPMA) / 2;
Plot1(IE, «IE/2»);
IF Close Crosses Above Plot1 OR Close Crosses Below Plot1 Then
Alert = True;

Николай Солабуто
Оцените автора
Николай Солабуто
Добавить комментарий