大智慧成本重心副图指标
源码
短:MA(C,5),COLORRED;
MA(C,10),COLORYELLOW;
MA(C,20),ColorD4FF7F;
A0:=AMOUNT/VOL/100;
A1:=(EMA(A0,5)>EMA(A0,10) AND EMA(A0,10)>EMA(A0,20) AND EMA(A0,20)>EMA(A0,30))*6;
A2:=(EMA(A0,3)>EMA(A0,7) AND EMA(A0,7)>EMA(A0,13) AND EMA(A0,13)>EMA(A0,21))*6;
中线起飞:A1,COLORRED,LINETHICK0;
短线起飞:A2,COLORGREEN,LINETHICK0;
DRAWICON(A1,MA(C,20)*0.97,6),ALIGN0;
DRAWICON(A2,MA(C,20),11),ALIGN0;