大智慧累计DDY副图指标
源码
N:=9;
AA:=IF(BETWEEN(C,REF(C,1),H),vol,0);
BB:=IF(BETWEEN(C,REF(C,1),L),vol,0);
CC:=IF(AA and BB,0,vol/3);
P3:=3*(AA-(BB+CC));
P4:=P3/IF(CAPITAL<1,SUM(INDEXV,71),CAPITAL);
P55:=SUM(P4,55);
累加55日:FORCAST(P55,5),LINETHICK0;
累加五日:SUM(P4,5),color3d;
五日回归:FORCAST(累加五日,5);
partline(五日回归,五日回归>=ref(五日回归,1),rgb(255,0,0),五日回归;