大智慧量能再世副图指标
源码
a:=if(o>=ref(c,1) and c>o,v,0);
a1:=if(o>=ref(c,1) and c<o,-v,0);
a2:=if(c>o,v,0);
a3:=if(c<o,-v,0);
a4:=if(c>ref(c,1),v,0);
a5:=if(c<ref(c,1),-v,0);
s:=sum(a+a1+a2+a3+a4+a5,0);
az:=sum(s,0);
bz:=sum(s,2);
dz:=az-bz;
sz:az-dz;
m12:ma(sz,12);
m26:ma(sz,26);