{ Find the change the first day of the new quarter }
QTRchng := Month() <> Ref(Month(),-1) AND Mod(Month(),3) = 1 ;
100*((ValueWhen(1,QTRchng, CLOSE) - ValueWhen(1,QTRchng, Ref(CLOSE,-1))) / ValueWhen(1,QTRchng, Ref(CLOSE,-1)))
[email protected] [equismetastock] Fri, 04 Jul 2014 19:01:15 -0700
{ Find the change the first day of the new quarter }
QTRchng := Month() <> Ref(Month(),-1) AND Mod(Month(),3) = 1 ;
100*((ValueWhen(1,QTRchng, CLOSE) - ValueWhen(1,QTRchng, Ref(CLOSE,-1))) / ValueWhen(1,QTRchng, Ref(CLOSE,-1)))