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

FUTR: CIS Cyclical Moving Average



PureBytes Links

Trading Reference Links

It's been a while since I posted an indicator. :)

Lately we have had some eople talking about cycles, and some 
people talking about moving averages. What happens if we 
combine them?

This indicator is a moving average that has been paired with the
cycles of the underlying market.

You can load the attached ELA and look for CyclicMa in your indicator
tool box.

For you guys that don't have TS, here is the text version. Enjoy. :)

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
{CYCLIC MOVING AVERAGE:
CyclicMa Copyright@xxxx Walt Downs Commodity InfoSystems
Indicator name : CyclicMa (Set MaxBarsBack to 30 or greater) }


Inputs: HiBar(20), LoBar(20);
Value1 = HighestBar(H,HiBar);
Value2 = LowestBar(L,LoBar);
Vars: Cycle1(0),val(0);

IF Value1 > Value2 then Cycle1 = Value1-Value2
Else Cycle1 = Value2 - Value1;

IF Cycle1 >=5 and Cycle1 <= 9 then
Plot1(Average(C,Cycle1)[3],"CyclicMa");
IF Cycle1 >=10 and Cycle1 <= 16 then
Plot1(Average(C,Cycle1)[4],"CyclicMa");
IF Cycle1 >=17 then Plot1(Average(C,Cycle1)[5],"CyclicMA");