慢牛主圖技術指標公式

{

ZTDT:=IF(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S'),0.05,0.1);

XLZ:=IF(CURRBARSCOUNT=1 AND C>=REF(C,1),ZTPRICE(REF(CLOSE,1),ZTDT),DRAWNULL);

XLD:=IF(CURRBARSCOUNT=1 AND C

STICKLINE(CURRBARSCOUNT=1 && (SETCODE=0 || SETCODE=1),XLZ,REF(C,1),-1,-1),COLORMAGENTA;

STICKLINE(CURRBARSCOUNT=1 && (SETCODE=0 || SETCODE=1),XLD,REF(C,1),-1,-1),COLORLIGRAY;

DRAWKLINE(HIGH,OPEN,LOW,CLOSE);

}

漲跌:=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;

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),COLORYELLOW;

DRAWTEXT_FIX(ISLASTBAR,0.05,1,0,DYBLOCK),COLORYELLOW;

DRAWTEXT_FIX(ISLASTBAR,0.1,1,0,GNBLOCK),COLORYELLOW;

明日漲停:ZTPRICE(C,0.1),NODRAW,COLORRED;

實三一:O+(C-O)*2/3,NODRAW,COLOR99CC32;

實三二:O+(C-O)/3,NODRAW;

虛三一:H-(H-L)/3,NODRAW;

虛二一:H-(H-L)*0.5,NODRAW,COLORMAGENTA;

虛三二:H-(H-L)*2/3,NODRAW;

TK:=C>O AND O>=REF(MAX(C,O),1)+0.01 OR O>=REF(C,1)+0.01 ;

STICKLINE(TK, O,(C-O)*0.01+O,3,0),COLORYELLOW;

ZF:=H>=INTPART(REF(C,1)*1.1*100+0.5)/100 AND H>C;

DT:=L

上影線幅度:=((H-REF(C,1))/REF(C,1)-(MAX(O,C)-REF(C,1))/REF(C,1))*100;

下影線幅度:=((REF(C,1)-L)/REF(C,1)-(REF(C,1)-MIN(O,C))/REF(C,1))*100;

上影線長:=H-MAX(O,C);

下影線長:=MIN(O,C)-L;

長度比較:=上影線長/下影線長;

STICKLINE((MIN(O,C)=L OR 長度比較>1) AND ZF,H-上影線長*1,H,0.01,0),COLORRED;

STICKLINE((MAX(O,C)=H OR 長度比較

慢牛主圖技術指標公式

版權聲明:本文源自 網絡, 於,由 楠木軒 整理發佈,共 1585 字。

轉載請註明: 慢牛主圖技術指標公式 - 楠木軒