QW1:=(HIGH+LOW+CLOSE*2)/4;QW3:=EMA(QW1,10);QW4:=STD(QW1,10);QW5:=(QW1-QW3)*100/QW4;QW6:=EMA(QW5,5);RK7:=EMA(QW6,10);涨:EMA(QW6,10)+100/2-5,LINETHICK1,COLORRED;跌:EMA(涨,4),LINETHICK1,COLORFFFF34;多线:IF(CROSS(涨,跌)AND跌 -10,30,0),LINETHICK1,COLORFF00FF;空线:IF(CROSS(跌,80),70,100),COLORFF9900;买1:EMA(跌,4),COLORWHITE;买2:EMA(买1,4),COLORGREEN;买M3:=EMA(买2,4);买M4:=EMA(买M3,4);STICKLINE(涨 REF(涨,1),涨,MA(涨,3),2,0),COLOR00CC00;STICKLINE(涨 REF(涨,1),涨,EMA(涨,3),2,0),COLOR0088FF;DRAWICON(多线,30,1);DRAWICON(CROSS(跌,80),70,2);DRAWTEXT(CROSS(涨,跌)AND跌 20AND跌 -10,40,'买入'),COLORCCFF99;DRAWTEXT(多线 0,-20,'看涨'),COLOR0000FF;VAR811:=SUMBARS(VOL,FINANCE(7)*100);VAR822:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);VAR883:=(CLOSE-VAR822)/VAR822*100;VAR884:=HHV(VAR883,VAR811);VAR885:=LLV(VAR883,VAR811);VAR886:=(VAR883-VAR885)/(VAR884-VAR885)*100;K:=SMA(VAR886,3,1);D:=SMA(K,3,1);J:=3*K-2*D;MA1:=MA(J,3);STICKLINE(FILTER(J MA1ANDJ =3,5)=1AND跌 0,涨,涨+20,6,0),COLORYELLOW;DRAWTEXT(FILTER(J MA1ANDJ =3,5)=1AND跌 0,60,'考虑买进'),COLORFFFFFF;VAR1:=MA(CLOSE,152);VAR2:=MA(CLOSE,194);VAR3:=VAR2+2*STD(CLOSE,170);VAR4:=VAR1+2*STD(CLOSE,170);顶:CLOSE (VAR3)*13*10,COLORBLUE,LINETHICK2;VAR18:=HHV(HIGH,30);VAR19:=LLV(LOW,30);NL:=EMA((CLOSE-VAR19)/(VAR18-VAR19)*100,5)/8*10;VAR3B:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
VAR3C:=SMA(VAR3B,3,1);VAR3D:=SMA(VAR3C,3,1);VAR3E:=SMA(VAR3D,3,1);VAR3F:=CROSS(VAR3D,VAR3E)ANDVAR3D VAR40:=CROSS(VAR3E,VAR3D)ANDVAR3D VAR41:=5;DRAWTEXT(CROSS(VAR41,NL),30,'★做底'),COLORWHITE;
AMV:=SMA(VOL,10,1);
【最高】:=AMV*HIGH/10,LINETHICK0;
【最低】:=AMV*LOW/10,LINETHICK0;
【收盘】:=AMV*CLOSE/10,LINETHICK0;
【开盘】:=REF(【收盘】,1),LINETHICK0;
STICKLINE(【收盘】 【开盘】,【最高】,【最低】,0,0),COLOR0000FF;
STICKLINE(【收盘】 【开盘】,【收盘】,【开盘】,3,0),COLOR0000FF;
STICKLINE(【收盘】 【开盘】,【收盘】,【开盘】,3,0),COLOR00FF00;
STICKLINE(【收盘】 【开盘】,【最高】,【最低】,0,0),COLOR00FF00;
DRAWKLINE(【最高】,【开盘】,【最低】,【收盘】);
MID:=(3*【收盘】+【最低】+【开盘】+【最高】)/6;
多空:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+
16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+
13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+
10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+
7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+
4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,LINETHICK1,colorwhite;
多空10MA:EMA(多空,10),coloryellow,LINETHICK1;
高:=REF(HHV(【最高】,300),3);
低:=REF(LLV(【最低】,300),3);
F80:高-(高-低)*0.191,colormagenta;
F61:高-(高-低)*0.382,colorgreen;
F中50:=高-(高-低)*0.5,colorbrown;
F38:高-(高-低)*0.618,COLORLIBLUE;
F19:高-(高-低)*0.809,colorblue;
顶点:=REFDATE(高,DATE),colorwhite,DOTLINE;
低点:=REFDATE(低,DATE),colorwhite,DOTLINE;
DRAWTEXT(ISLASTBAR,顶点,'顶点'),colorwhite;
DRAWTEXT(ISLASTBAR,F19,'19.8%'),coloryellow;
DRAWTEXT(ISLASTBAR,F38,'38.2%'),colormagenta;
DRAWTEXT(ISLASTBAR,F中50,'中50%'),colorred;
DRAWTEXT(ISLASTBAR,F61,'61.8%'),colormagenta;
DRAWTEXT(ISLASTBAR,F80,'80.9%'),coloryellow;
DRAWTEXT(ISLASTBAR,低点,'低点'),colorwhite;
DRAWTEXT_FIX(C 0,0.85,0,0,'需300根K线');
公式解读:
今天的分享就到这里啦,大家感觉怎么样呢?有什么意见建议的朋友欢迎在下方评论区写下你的看法,我们共同学习进步,还请大家多多关注支持哦!!敬请期待明天的分享!