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

RE: Time Frames



PureBytes Links

Trading Reference Links

> > Easier might be something like this:
> > if FracPortion(CurrentBar)=0 then C1 = close[1];
> 
> That test is ALWAYS true.  CurrentBar is an integral value so its 
> FracPortion is always zero.
> 
> Maybe you meant something like
> 
> if FracPortion(CurrentBar / N)=0 then C1 = close[1];

Yes, that's what I meant.  Sorry...

Ivo