0,POINTDOT,COLORBLUE,LINETHICK3;
{}
买:=IF("KDJ.J" 0,10,0);
条件:=CROSS(9.9,买);
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=LLV(LOW,5);
VAR3:=HHV(HIGH,5);
VAR4:=EMA((VAR1-VAR2)/(VAR3-VAR2)*100,5);
MA1:=MA(VAR4,2);
AA:STICKLINE(VAR4 MA1,VAR4,MA1,3,1),COLORRED;
BBB:STICKLINE(VAR4 MA1ANDREF(VAR4,1) 30,VAR4,MA1,3,1),COLORRED;
STICKLINE(VAR4 =MA1,VAR4,MA1,3,1),COLORFFCC66;
STICKLINE(CROSS(9.9,买),VAR4+5,MA1-4,3,1),COLORYELLOW;
XXX:=STICKLINE(BBB,VAR4+5,MA1-4,3,1),COLORYELLOW;
STICKLINE(FILTER(XXX,5),VAR4+5,MA1-4,3,1),COLORYELLOW;
DRAWICON(CROSS(9.9,买),VAR4-12,5);
{}
BIAS1:=(C-MA(C,6))/MA(C,6)*100;
BIAS2:=(C-MA(C,12))/MA(C,12)*100;
BIAS3:=(C-MA(C,24))/MA(C,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖离:=MA(BIAS,3);
STICKLINE(CROSS(BIAS,乖离)AND乖离 -9,10,0,5,0),COLOR009999;
STICKLINE(CROSS(BIAS,乖离)AND乖离 -9,10,0,4,0),COLOR00BBBB;
STICKLINE(CROSS(BIAS,乖离)AND乖离 -9,10,0,3,0),COLOR00DDDD;
DRAWTEXT(CROSS(BIAS,乖离)AND乖离 -9,4,'底'),COLOR006600;
多头:(EMA(CLOSE,5)-EMA(CLOSE,20))/EMA(CLOSE,20)*400,COLORRED,LINETHICK2;
IF(多头 REF(多头,1),多头,DRAWNULL),COLORYELLOW,LINETHICK2;
空头:(EMA(C,20)-EMA(C,5))/EMA(C,5)*400,COLORGREEN,LINETHICK2;
IF(空头 REF(空头,1),空头,DRAWNULL),COLORBLUE,LINETHICK2;
STICKLINE(多头 REF(多头,1),多头,0,2,0),COLORFF00FF,LINETHICK2;
今日保护价:(REF(C,1)+REF(C,2)+O)/3,NODRAW;
多:(SUM(((2*CLOSE+OPEN+HIGH+LOW)/5)*(),8))/(SUM(VOL,8)),COLOR00FFFF,LINETHICK0;
空:LLV(多,8),LINETHICK0,COLORFFFF00;
DRAWBAND(多,RGB(140,0,140),空,RGB(0,0,0));
DRAWKLINE(H,O,L,C);
DRAWICON(REF(多,1)=REF(空,1)AND多 空,LOW*0.98,13);
DRAWTEXT(REF(多,1)=REF(空,1)AND多 空,LOW*0.97,'*关注'),COLOR00FFFF;
C1:=C
C2:=C
AA:=C1
BB:=C2
stICKLINE(AA,C,O,3.2,0),COLORRED;
STICKLINE(AA,H,L,0,0),COLORRED;
STICKLINE(BB,C,O,3.2,0),COLORFFFF00;
STICKLINE(BB,H,L,0,0),COLORFFFF00;
STICKLINE(AA,CLOSE,OPEN,3.2,0),COLOR000099;
STICKLINE(AA,CLOSE,OPEN,2.6,0),COLOR0000AA;
STICKLINE(AA,CLOSE,OPEN,2.2,0),COLOR0000CC;
STICKLINE(AA,CLOSE,OPEN,1.8,0),COLOR0000DD;
STICKLINE(AA,CLOSE,OPEN,1.3,0),COLOR0000FF;
STICKLINE(AA,CLOSE,OPEN,0.5,0),COLORCC66FF;
STICKLINE(BB,CLOSE,OPEN,3.2,0),COLOR777700;
STICKLINE(BB,CLOSE,OPEN,2.6,0),COLORAAAA00;
STICKLINE(BB,CLOSE,OPEN,2.2,0),COLORBBBB00;
STICKLINE(BB,CLOSE,OPEN,1.8,0),COLORDDDD00;
STICKLINE(BB,CLOSE,OPEN,1.3,0),COLOREEFF00;
STICKLINE(BB,CLOSE,OPEN,0.5,0),COLORCYAN;
SJ:=Wma((C-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,2);
ZJ:=WMA(0.667*REF(SJ,1)+0.333*SJ,2);
DRAWTEXT(crOSS(SJ,ZJ)ANDSJ 30,L-0.05,'←买入'),COLOR00FF00;
DRAWTEXT(CROSS(ZJ,SJ)ANDSJ 70,H+0.05,'←卖出'),COLORFFFF00;
RC:=DYNAINFO(3);
SA:=SMA(C,3,1);
SB:=SMA(C,5,1);
DK:=2*(SA-SB);
STICKLINE(DK 0ANDDK =REF(DK,1),RC,RC+DK,0.1,0),COLOR0000BB;
STICKLINE(DK 0ANDDK REF(DK,1),RC,RC+DK,0.1,0),COLOR00BBBB;
STICKLINE(DK 0ANDDK =REF(DK,1),RC,RC+DK,0.1,0),COLORBB00BB;
STICKLINE(DK 0ANDDK REF(DK,1),RC,RC+DK,0.1,0),COLORBBBB00;
公式解读:
今天的分享就到这里啦,大家感觉怎么样呢?有什么意见建议的朋友欢迎在下方评论区写下你的看法,我们共同学习进步,还请大家多多关注支持哦!!敬请期待明天的分享!