4 COLORYELLOW;
跳空下:=O<REF(L,1) NODRAW;
跳空下C:=REF(C,BArslAST(跳空下)+1) NODRAW;
跳空下O:=REF(O,BARSLAST(跳空下)) NODRAW;
跳空下C1:=REF(C,BARSLAST(跳空下)) NODRAW;
空下均1:=(跳空下C+跳空下O)/2 NODRAW;
空下均:=IF(跳空下 AND 跳空下O<跳空下C1,AMOUNT/V*0.01,空下均1);
跳空上:=O>REF(C,1) STICK COLORYELLOW NODRAW;
跳空上C:=REF(C,BARSLAST(跳空上)+1) NODRAW;
跳空上O:=REF(O,BARSLAST(跳空上)) NODRAW;
水平C220:=COUNT(跳空上O>=空下均,220)>0 NODRAW;
均220:=REF(HHV(空下均,220),BARSLAST(水平C220)) NODRAW;
水平C180:=COUNT(跳空上O>=空下均,180)>0 NODRAW;
均180:=REF(HHV(空下均,180),BARSLAST(水平C180)) NODRAW;
水平C150:=COUNT(跳空上O>=空下均,150)>0 NODRAW;
均150:=REF(HHV(空下均,150),BARSLAST(水平C150)) NODRAW;
水平C120:=COUNT(跳空上O>=空下均,120)>0 NODRAW;
均120:=REF(HHV(空下均,120),BARSLAST(水平C120)) NODRAW;
水平C:=COUNT(跳空上O>=空下均,100)>0 NODRAW;
均100:=REF(HHV(空下均,100),BARSLAST(水平C)) NODRAW;
水平C60:=COUNT(跳空上O>=空下均,60)>0 NODRAW;
均60:=REF(HHV(空下均,60),BARSLAST(水平C60)) NODRAW;
水平C30:=COUNT(跳空上O>=空下均,30)>0 NODRAW;
均30:=REF(HHV(空下均,30),BARSLAST(水平C30)) NODRAW;
水平C20:=COUNT(跳空上O>=空下均,20)>0 NODRAW;
均20:=REF(HHV(空下均,20),BARSLAST(水平C20)) NODRAW;
水平C10:=COUNT(跳空上O>=空下均,10)>0 NODRAW;
均10:=REF(HHV(空下均,10),BARSLAST(水平C10)) NODRAW;
水平C5:=COUNT(跳空上O>=空下均,5)>0 NODRAW;
均5:=REF(HHV(空下均,5),BARSLAST(水平C5)) NODRAW COLORLICYAN;
A5:=跳空上 AND 跳空上O>=均5 AND O>=HHV(跳空上O,3)AND (REF(H,1)/REF(C,1)<=1.02 OR(REF(H,1)/REF(C,1)>1.02 AND O>REF(C,1))) AND O>=HHV(REF(C,1),5);
B5:=跳空上 AND 跳空上O>=均5 AND 跳空上O<=跳空下C*1.1 AND O>=HHV(跳空上O,5)AND REF(H,1)/REF(C,1)<=1.02 AND O>=HHV(REF(C,1),5);
岛形反转5:=A5 OR B5 OR (REF(A5 OR B5,1)AND 跳空上);
A10:=跳空上 AND 跳空上O>=均10 AND O>=HHV(跳空上O,5)AND (REF(H,1)/REF(C,1)<=1.02 OR(REF(H,1)/REF(C,1)>1.02 AND O>REF(C,1))) AND O>=HHV(REF(C,1),5);
B10:=跳空上 AND 跳空上O>=均10 AND 跳空上O<=跳空下C*1.1 AND O>=HHV(跳空上O,10)AND REF(H,1)/REF(C,1)<=1.02 AND O>=HHV(REF(C,1),5);
岛形反转10:=A10 OR B10 OR (REF(A10 OR B10,1)AND 跳空上);
A20:=跳空上 AND 跳空上O>=均20 AND O>=HHV(跳空上O,5)AND (REF(H,1)/REF(C,1)<=1.02 OR(REF(H,1)/REF(C,1)>1.02 AND O>REF(C,1))) AND O>=HHV(REF(C,1),5);
B20:=跳空上 AND 跳空上O>=均20 AND 跳空上O<=跳空下C*1.1 AND O>=HHV(跳空上O,10)AND REF(H,1)/REF(C,1)<=1.02 AND O>=HHV(REF(C,1),5);
岛形反转20:=A20 OR B20 OR (REF(A20 OR B20,1)AND 跳空上);
A30:=跳空上 AND 跳空上O>=均30 AND O>=HHV(跳空上O,5)AND (REF(H,1)/REF(C,1)<=1.02 OR(REF(H,1)/REF(C,1)>1.02 AND O>REF(C,1))) AND O>=HHV(REF(C,1),5);
B30:=跳空上 AND 跳空上O>=均30 AND 跳空上O<=跳空下C*1.1 AND O>=HHV(跳空上O,30)AND REF(H,1)/REF(C,1)<=1.02 AND O>=HHV(REF(C,1),5);
岛形反转30:=A30 OR B30 OR (REF(A30 OR B30,1)AND 跳空上);
A60:=跳空上 AND 跳空上O>=均60 AND O>=HHV(跳空上O,5)AND (REF(H,1)/REF(C,1)<=1.02 OR(REF(H,1)/REF(C,1)>1.02 AND O>REF(C,1))) AND O>=HHV(REF(C,1),5);
B60:=跳空上 AND 跳空上O>=均60 AND 跳空上O<=跳空下C*1.1 AND O>=HHV(跳空上O,10)AND REF(H,1)/REF(C,1)<=1.02 AND O>=HHV(REF(C,1),5);
岛形反转60:=A60 OR B60 OR (REF(A60 OR B60,1)AND 跳空上);
A100:=跳空上 AND 跳空上O>=均100 AND O>=HHV(跳空上O,5)AND (REF(H,1)/REF(C,1)<=1.02 OR(REF(H,1)/REF(C,1)>1.02 AND O>REF(C,1))) AND O>=HHV(REF(C,1),5);
B100:=跳空上 AND 跳空上O>=均100 AND 跳空上O<=跳空下C*1.1 AND O>=HHV(跳空上O,10)AND REF(H,1)/REF(C,1)<=1.02 AND O>=HHV(REF(C,1),5);
岛形反转100:=A100 OR B100 OR (REF(A100 OR B100,1)AND 跳空上);
A120:=跳空上 AND 跳空上O>=均120 AND O>=HHV(跳空上O,5)AND (REF(H,1)/REF(C,1)<=1.02 OR(REF(H,1)/REF(C,1)>1.02 AND O>REF(C,1))) AND O>=HHV(REF(C,1),5);
B120:=跳空上 AND 跳空上O>=均120 AND 跳空上O<=跳空下C*1.1 AND O>=HHV(跳空上O,10)AND REF(H,1)/REF(C,1)<=1.02 AND O>=HHV(REF(C,1),5);
岛形反转120:=A120 OR B120 OR (REF(A120 OR B120,1)AND 跳空上);
A150:=跳空上 AND 跳空上O>=均150 AND O>=HHV(跳空上O,5)AND (REF(H,1)/REF(C,1)<=1.02 OR(REF(H,1)/REF(C,1)>1.02 AND O>REF(C,1))) AND O>=HHV(REF(C,1),5);
B150:=跳空上 AND 跳空上O>=均150 AND 跳空上O<=跳空下C*1.1 AND O>=HHV(跳空上O,10)AND REF(H,1)/REF(C,1)<=1.02 AND O>=HHV(REF(C,1),5);
岛形反转150:=A150 OR B150 OR (REF(A150 OR B150,1)AND 跳空上);
A180:=跳空上 AND 跳空上O>=均180 AND O>=HHV(跳空上O,5)AND (REF(H,1)/REF(C,1)<=1.02 OR(REF(H,1)/REF(C,1)>1.02 AND O>REF(C,1))) AND O>=HHV(REF(C,1),5);
B180:=跳空上 AND 跳空上O>=均180 AND 跳空上O<=跳空下C*1.1 AND O>=HHV(跳空上O,10)AND REF(H,1)/REF(C,1)<=1.02 AND O>=HHV(REF(C,1),5);
岛形反转180:=A180 OR B180 OR (REF(A180 OR B180,1)AND 跳空上);
A220:=跳空上 AND 跳空上O>=均220 AND O>=HHV(跳空上O,5)AND (REF(H,1)/REF(C,1)<=1.02 OR(REF(H,1)/REF(C,1)>1.02 AND O>REF(C,1))) AND O>=HHV(REF(C,1),5);
B220:=跳空上 AND 跳空上O>=均220 AND 跳空上O<=跳空下C*1.1 AND O>=HHV(跳空上O,10)AND REF(H,1)/REF(C,1)<=1.02 AND O>=HHV(REF(C,1),5);
岛形反转220:=A220 OR B220 OR (REF(A220 OR B220,1)AND 跳空上);
STICKLINE(岛形反转5,0,0.5,1,0),COLORRED;{红色};
STICKLINE(岛形反转10,0.5,1,0.8,0),COLORCYAN;{青色};
STICKLINE(岛形反转20,1,1.5,0.6,0),COLORGRAY;{深灰色};
STICKLINE(岛形反转30,1.5,2,0.5,0),COLORBLUE;{蓝色};
STICKLINE(岛形反转60,2,3,0.2,0),COLORYELLOW;{黄色};
STICKLINE(岛形反转100,3,4,0.1,0),COLORRED;{红色};
STICKLINE(岛形反转120,4,4.5,2,0),COLORRED;{红色};
STICKLINE(岛形反转150,4.5,5,0.8,0),COLORCYAN;{青色};
STICKLINE(岛形反转180,5,5.5,0.6,0),COLORGRAY;{深灰色};
STICKLINE(岛形反转220,5.5,7,0.1,0),COLORBLUE;{蓝色};
总市值:(FINANCE(41)/100000000),NODRAW,COLORRED;
流通亿:FINANCE(40)/100000000 NODRAW COLORYELLOW;
实最高流值:(H*FINANCE(46)/100000000),NODRAW,COLORWHITE;
最高值:(H*FINANCE(1)/100000000),NODRAW,COLORWHITE;
最高流值:(H*FINANCE(7)/100000000),NODRAW,COLORWHITE;
天5:=IF(RANGE(跳空上O,均5,均10),5,DRAWNULL)COLORWHITE NODRAW;
天10:=IF(RANGE(跳空上O,均10,均20),10,DRAWNULL)COLORWHITE NODRAW;
天20:=IF(RANGE(跳空上O,均20,均30),20,DRAWNULL)COLORWHITE NODRAW;
天30:=IF(RANGE(跳空上O,均30,均60),30,DRAWNULL)COLORWHITE NODRAW;
天60:=IF(RANGE(跳空上O,均60,均100),60,DRAWNULL)COLORWHITE NODRAW;
天100:=IF(RANGE(跳空上O,均100,均120),100,DRAWNULL)COLORWHITE NODRAW;
天120:=IF(RANGE(跳空上O,均120,均150),120,DRAWNULL)COLORWHITE NODRAW;
天150:=IF(RANGE(跳空上O,均150,均180),150,DRAWNULL)COLORWHITE NODRAW;
天180:=IF(RANGE(跳空上O,均180,均220),180,DRAWNULL)COLORWHITE NODRAW;
天220:=IF(RANGE(跳空上O,均220,10000),220,DRAWNULL)COLORWHITE NODRAW;
平台天数:IF(天5=DRAWNULL,0,天5)+IF(天10=DRAWNULL,0,天10)+IF(天20=DRAWNULL,0,天20)+IF(天30=DRAWNULL,0,天30)+IF(天60=DRAWNULL,0,天60)+IF(天100=DRAWNULL,0,天100)+IF(天120=DRAWNULL,0,天120)+IF(天150=DRAWNULL,0,天150)+IF(天180=DRAWNULL,0,天180)+IF(天220=DRAWNULL,0,天220) COLORYELLOW NODRAW;
平台信号价:HHV(空下均,平台天数)COLORWHITE NODRAW;
距离天数:CURRBARSCOUNT NODRAW;
上升:=IF(平台信号价>REF(平台信号价,1),1,0)NODRAW;
上升1:=IF(平台天数>REF(平台天数,1),1,0)NODRAW;
上升2:=IF(IF(岛形反转5=1,平台天数,0)>REF(IF(岛形反转5=1,平台天数,0),1),1,0)NODRAW;
天数上升:上升+上升1+上升2 NODRAW;
均价:AMOUNT/V*0.01,NODRAW,COLORWHITE;
量:V>=(SUM(V,平台天数)/平台天数)*1.1 AND 岛形反转5 AND V>=MA(V,50) COLORYELLOW;
通达信岛形反转升级版本指标公式
本文来自网络,不代表公式指标立场,转载请注明出处:https://www.gszb.top/22278.html