多少個周期連續收陰或收陽?
variable:n=0;
variable:ss=0;
if c>o then begin
n:=n+1;
ss:=ss+close;
end
if c<o then begin
n:=0;
ss:=0;
pj:=ss/n;
求連續陰線和也是一樣的