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

Cum or Sum



PureBytes Links

Trading Reference Links


Hello
 
I'm trying to code some lines in order to 
find
how many <FONT face=Arial color=#404040 
size=2>consecutive bars where closing prices are lower than 4 bars 
ago.
 
Should I code CD 
= SUM(C < Ref(C, 4)
or CD = CUM(C 
< Ref(C,-4)  ?
<FONT 
color=#000000> 
<FONT 
color=#000000>Thanks

Bernard Bourée<A 
href="">bernard@xxxx