[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Ruggiero's Trend Mode Rules



PureBytes Links

Trading Reference Links

Hi All!

Has anybody experimented with Ruggieros Trend mode identification strategy
as described in table 4.9 in his Cybernetic Trading Strategies book?

Below I have made an attempt to write down an indicator supposed to employ
his rules.

periods:=Input("Periods?",1,63,14);
If((ADX(periods)>25 AND (BarsSince(Cross(45,ADX(periods))) >
BarsSince(Cross(ADX(periods),25)))) OR (ADX(periods) > 10 AND
Ref(ADX(periods),-4)<10 AND (ADX(periods)-Ref(ADX(periods),-5)>0)), 1,
If(ADX(periods)<20 OR ((BarsSince(Cross(45,ADX(periods))) <
BarsSince(Cross(ADX(periods),25))) AND ADX(periods) < 45),-1,0))


Comments or suggestions anybody?

Regards,
Yngvi