2024-12-14 13:56 点击次数:146
谨防:本见识源码用于邃晓信。
图片
图片
见识源码
图片
图片
01
N:=120;
K:=BARSLAST(CURRBARSCOUNT=N);
GD:=CONST(IF(ISLASTBAR=1,HHV(H,K),0));
DD:=CONST(IF(ISLASTBAR=1,LLV(L,K),0));
KJ:=GD-DD;
GD4:=IF(CURRBARSCOUNT<=N/2,GD,DRAWNULL);
SWZB1:IF(CURRBARSCOUNT<=N,GD,DRAWNULL),COLORRED,LINETHICK2;
SWZB2:IF(CURRBARSCOUNT<=N,DD,DRAWNULL),COLOR00FF00,LINETHICK2;
SWZB3:=IF(CURRBARSCOUNT<=N,DD+KJ/2,DRAWNULL),COLOR00FFFF,NODRAW;
SWZB4:IF(CURRBARSCOUNT<=N/2,DD,DRAWNULL),COLORFFFF00;
SWZB5:IF(CURRBARSCOUNT<=N/2,GD,DRAWNULL),COLOR00FFFF;
SWZB6:IF(CURRBARSCOUNT<=N/2,DD+KJ*0.191,DRAWNULL),COLOR00FFFF;
SWZB7: IF(CURRBARSCOUNT<=N/2,DD+KJ*0.382,DRAWNULL),COLORFF00FF;
人妖tsSWZB8:IF(CURRBARSCOUNT<=N/2,DD+KJ/2,DRAWNULL),COLOR0000FF;
SWZB9:IF(CURRBARSCOUNT<=N/2,DD+KJ*0.618,DRAWNULL),COLOR00FFFF;
SWZB10:IF(CURRBARSCOUNT<=N/2,DD+KJ*0.809,DRAWNULL),COLOR00FF00;
SWZB11:IF(CURRBARSCOUNT<=N/2,(C/LLV(LOW,K)-1)*100,DRAWNULL),COLOR0000FF,NODRAW;
SWZB12:BARSLAST(L=DD),COLORCYAN,NODRAW;
SWZB13:IF(CURRBARSCOUNT<=N/2, CONST(IF(ISLASTBAR=1,HHV(H, BARSLAST
(CURRBARSCOUNT=60)),1)),DRAWNULL),COLORRED,CROSSDOT;
SWZB14:IF(CURRBARSCOUNT<=N/2, CONST(IF(ISLASTBAR=1,LLV(L, BARSLAST
(CURRBARSCOUNT=60)),1)),DRAWNULL),COLORMAGENTA,CROSSDOT;
STICKLINE(CCI>=200 AND H>=SWZB13,O,C,2,0),COLORBLUE;
STICKLINE(CCI<=100 AND L<=SWZB14,O,C,2,0),COLORYELLOW;
STICKLINE(CURRBARSCOUNT=N,GD,DD,0,0),COLORGREEN;
STICKLINE(CURRBARSCOUNT=N/2,GD,DD,0,0),COLOR408080;
STICKLINE(CURRBARSCOUNT=1,GD,DD,0,0),COLORGREEN;
STICKLINE(CURRBARSCOUNT<=N/2,SWZB6,SWZB6,2,0),COLORFF00FF;
STICKLINE(CURRBARSCOUNT<=N/2,SWZB7,SWZB7,2,0),COLORFF00FF;
STICKLINE(CURRBARSCOUNT<=N/2,SWZB8,SWZB8,2,0),COLORABABAB;
STICKLINE(CURRBARSCOUNT<=N/2,SWZB9,SWZB9,2,0),COLOR00FFFF;
STICKLINE(CURRBARSCOUNT<=N/2,SWZB10,SWZB10,2,0),COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=10,SWZB10,'-0.809'),COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=10,SWZB9,'-0.618'),COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=10,SWZB8,'-0.500'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=10,SWZB7,'-0.382'),COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=10,SWZB6,'-0.191'),COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=N/4+5,GD-KJ*0.09,'【风险区】'),COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=N/4+5,GD-KJ*0.3,'【警示区】'),COLOR0000FF;
DRAWTEXT(CURRBARSCOUNT=N/4+5,GD-KJ*0.45,'【打破区】'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=N/4+5,GD-KJ*0.55,'【拉升区】'),COLORFFFF80;
DRAWTEXT(CURRBARSCOUNT=N/4+5,DD+KJ/3,'【体恤区】'),COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=N/4+5,DD+KJ/10,'【低吸区】'),COLOR00FF00;
DRAWTEXT(CURRBARSCOUNT=N/2+40,GD-KJ*0.25,'【拉升区】'),COLORRED;
DRAWTEXT(CURRBARSCOUNT=N/2+40,DD+KJ*0.25,'【捏股区】'),COLORYELLOW;
SWZB15:REFDATE(SWZB4,DATE),POINTDOT,COLORYELLOW,LINETHICK4;
SWZB16:REFDATE(SWZB6,DATE),POINTDOT,COLORWHITE,LINETHICK4;
AHC1:=CLOSE*VOL;
AHC22:=EMA((EXPMA(AHC1,27)/EXPMA(VOL,27)+EXPMA(AHC1,54)/EXPMA(VOL,54)+EXPMA
(AHC1,108)/EXPMA(VOL,108)+EXPMA(AHC1,316)/EXPMA(VOL,316))/4,34);
SWZB17:=1.06*AHC22,COLOR40FF00,LINETHICK1;
SWZB18:=AHC22*0.94;
ZT:=REF(C,1)*1.1-C<0.01 AND H=C;
SWZB19:=CROSS(C,SWZB17) OR CROSS(C,SWZB18) AND ZT;
DRAWTEXT(SWZB19,L,'SWZB19'),COLORCYAN;
STICKLINE(SWZB19,C,O,3,1),COLORWHITE;
STICKLINE(SWZB19,C,O,1,0),COLORRED;
MA1:MA(CLOSE,12)LINETHICK2;
MA2:MA(CLOSE,50)LINETHICK2;
图片
图片
图片
图片示例
图片
图片
图片
风险提醒:本见识公式仅算作常识共享,供通常学习使用,不组成任何投资提出,不算作投资依据。
图片
本站仅提供存储劳动,悉数实践均由用户发布,如发现存害或侵权实践,请点击举报。