指標(biāo)公式源碼
注:上次沒有發(fā)出去
分時天眼通的指標(biāo)源碼:
{漲跌停標(biāo)識}
ZF1:=(C-REF(C,1))/REF(C,1)*100;
STICKLINE(ZF1>6,OPEN,CLOSE,2,0),COLORFF00FF;
漲跌:=REF(C,1);
{漲停:=IF((C-漲跌)*100/漲跌>=(10-0.01*100/漲跌),1,0);
STICKLINE(漲停,OPEN,CLOSE,2,0),COLORRED;}
跌停:=IF((漲跌-C)*100/漲跌>=(10-0.01*100/漲跌),1,0);
STICKLINE(跌停,OPEN,CLOSE,2,0),COLOR808000;
{21位畫線}
FLAG:=ABS(C-O)/IF((H-L) = 0,100,H-L);
ZHANGF:=ABS(C-O)/O;
WEI21:IF(CODELIKE('9999'),(H-L)*0.5+L,IF(C>O,(C-O)*0.5+O,(O-C)*0.5+C)),NODRAW;
STICKLINE(ZHANGF>=0.03 && FLAG >= 0.03,WEI21,WEI21,-1,0),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0,1,0,HYBLOCK),COLORFF0000;
DRAWTEXT_FIX(ISLASTBAR,0.05,1,0,DYBLOCK),COLORFF0000;
DRAWTEXT_FIX(ISLASTBAR,0.1,1,0,GNBLOCK),COLORFF0000;
明日漲停:ZTPRICE(C,0.1),NODRAW,COLORRED;
大家多多花時間學(xué)習(xí),反彈的時候才能做好準(zhǔn)備!入正文
標(biāo)簽: