涨跌停主图 解决大伙对涨跌停难以量化的问题
首日没有昨日价,所以首日木有标示出来10%,粉和绿
20%,红和兰
{涨跌停主图}BOLL:MA(CLOSE,20),LINETHICK2,COLORLIMAGENTA;MA60:MA(C,60),LINETHICK2,COLORGREEN;MA5:MA(C,5),COLORWHITE;MA10:=MA(C,10);MA30:MA(C,30);MA250:MA(C,250),LINETHICK2,COLORLIGRAY;MA120:MA(C,120),LINETHICK2,COLORGRAY;NE:=IF(NAMELIKE('S') OR NAMELIKE('*S'),0.05,0.1);ZBJ:=ZTPRICE(REF(C,1),NE);DBJ:=DTPRICE(REF(C,1),NE);ZT:=C>(ZBJ-0.01);DT:=C<(DBJ+0.01);ZBJ2:=ZTPRICE(REF(C,1),0.2);DBJ2:=DTPRICE(REF(C,1),0.2);ZT2:=C>(ZBJ2-0.01);DT2:=C<(DBJ2+0.01);DRAWKLINE(HIGH,OPEN,LOW,CLOSE);STICKLINE(ZT,C,O,1,0),COLORLIRED;STICKLINE(DT,C,O,1,0),COLORGREEN;STICKLINE(ZT2,C,O,1,0),COLORRED;STICKLINE(DT2,C,O,1,0),COLORBLUE;
|