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

strange indicator



PureBytes Links

Trading Reference Links



Can anyone explain what is happening with this 
indicator.
 
If I drop the following on a one minute chart 

TShort := Mov(P, 
90,S);TShort;{If(TShort>5,10,0);}
the TShort moving average is superimposed on top 
of the built-in 90 period MA.
 
If I edit and apply the indicator as 
follows
 
TShort := Mov(P, 
MAOldPeriod,S);TShort;If(TShort>5,10,0);
 
the Tshort MA is drawn with a horizontal shift of 
about +145 minutes.