紅寶石改良指標(biāo):
{漲跌停標(biāo)識}
漲跌:=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),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;
實(shí)三一:O+(C-O)*2/3,NODRAW,COLOR99CC32;
實(shí)三二:O+(C-O)/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<=INTPART(REF(C,1)*0.9*100+0.5)/100 AND L<C;
上影線幅度:=((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),COLOR00FFFF;?
STICKLINE((MAX(O,C)=H OR 長度比較<1) AND DT,L+下影線長*1,L,0.01,0),COLORBLUE;
紅寶石指標(biāo)復(fù)制粘貼替換原來分享的紅寶石指標(biāo)即可
2. ?三元聯(lián)動選股選出來的都是漲停板,改成了選出來是小陽小陰,符合周五頂格戰(zhàn)法新課。
三元聯(lián)動選股指標(biāo)優(yōu)化:
A1:=(C-REF(C,1))/REF(C,1)*100;
XG:EVERY(O>REF(C,1) AND C>REF(C,1) AND A1<5,3) AND V>0;