INTERSECTION OF TWO MA WITH A FILTER ON THE SECOND INSTRUMENT

INTERSECTION OF TWO MA WITH A FILTER ON THE SECOND INSTRUMENT

Type : Signal, Name : Dual Time Frame Moving Average

Inputs:
Price(Close),
Length(13);

IF XAverage(Price,Length) > XAverage(Price,Length)[1] and
XAverage(Price,Length) of data2 > XAverage(Price,Length)[1] of data2
then Buy this bar on Close;

IF XAverage(Price,Length) < XAverage(Price,Length)[1]
then ExitLong this bar on Close;

IF XAverage(Price,Length) < XAverage(Price,Length)[1] and
XAverage(Price,Length) of data2 < XAverage(Price,Length)[1] of data2
then Sell this bar on Close;

 

INTERSECTION OF TWO MA WITH A FILTER ON THE SECOND INSTRUMENT

 

Подписаться
Уведомить о
0 комментариев
Межтекстовые Отзывы
Посмотреть все комментарии