以下是通达信主图叠加倍量柱划线源码附图(无源码的请下载附件导入)
{主图叠加划线}
倍量柱:=V/REF(V,1)>1.89;
高抛低吸:=STICKLINE((((((HIGH-IF((CLOSE>OPEN),CLOSE,OPEN))/(HIGH-LOW))*VOL)>((ABS((OPEN-CLOSE))/(HIGH-LOW))*VOL)) AND ((((HIGH-IF((CLOSE>OPEN),CLOSE,OPEN))/(HIGH-LOW))*VOL)>(((IF((CLOSE>OPEN),OPEN,CLOSE)-LOW)/(HIGH-LOW))*VOL))),0,(((HIGH-IF((CLOSE>OPEN),CLOSE,OPEN))/(HIGH-LOW))*VOL),2,0);
STICKLINE(倍量柱 AND FILTER(倍量柱,24) AND C>O,C,C,400,0),COLORYELLOW;
STICKLINE(倍量柱 AND FILTER(倍量柱,24) AND C>O,C,O,2,0),COLORYELLOW;
DRAWTEXT(FILTER(高抛低吸,10),LOW*0.96,'↖★'),COLORMAGENTA;
711400739.jpg
|