{筹码动量起点}
DK:=SMA(COST(70),7,3);
DG:=HHV(DK,10);
HK:=LLV(DK,55);
KS:=EMA(C,21);
动量系数:=DMA((DK-HK)/HK*KS,5);
风险数:DMA((DG-DK)/DK*KS,5),COLORFA8005;
筹码柱:=SMA((动量系数-风险数),3,1);
STICKLINE(筹码柱>0,筹码柱,0,0,0),COLORRED;
STICKLINE(筹码柱<0,筹码柱,0,0,0),COLORCYAN;
DRAWBAND(IF(EVERY(筹码柱>REF(筹码柱,1),3),筹码柱,DRAWNULL)*10,RGB(150,0,150),0,RGB(10,150,100));
IF(EVERY(风险数>REF(风险数,1),2),风险数,DRAWNULL),COLORE6E600,CIRCLEDOT,LINETHICK2;
起点:CROSS(动量系数,风险数)*70,LINETHICK2;