源码
A:=BARSCOUNT(C);
AA:=(O+C)/2;
C13:=DMA(AA,IF(A<13,VOL/SUM(VOL,A),VOL/SUM(VOL,13)));
C15:=DMA(AA,IF(A<15,VOL/SUM(VOL,A),VOL/SUM(VOL,15)));
STICKLINE(C>=C15 AND C>=O,C,O,8,0),COLORRED;
STICKLINE(C>=C15 AND C>=O,H,L,0.1,0),COLORRED;
STICKLINE(C>=C15 AND C<=O,C,O,8,0),COLORRED;
STICKLINE(C>=C15 AND C<=O,H,L,0.1,0),COLORRED;
STICKLINE(C=O,C,O,8,0),COLORCYAN;
STICKLINE(C=O,H,L,0.1,0),COLORCYAN;
STICKLINE(C<=O,C,O,8,0),COLORCYAN;
STICKLINE(C<=O,H,L,0.1,0),COLORCYAN;
//IF(C=C13,C15,0)),POINTDOT,LINETHICK5,COLORYELLOW;
STICKLINE(C>=C13,C15*1.005,C15*0.995,5,0),COLORYELLOW;