黄买蓝出(实战指标三)含大智慧和飞狐【祥云解答】通达信【t001szlm解答】及选股公式
分析家
JJ :=(C*2+H+L)/4;
SKK EMA(JJ,13) - EMA(JJ,21))*180,colorgray;
SDD : EMA(SKk,2),colorgray;
多方: (SKK-SDD)*0.000000001,colorRED,linethick0;
空方: -1*(SKK-SDD)*0.000000001,colorGREEN,linethick0;
rc:=DYNAINFO(3);
rc,COLORWHITE;
MAV:=(2*C+H+L)/4;
SK:=(SLOPE(EMA(MAV,2),7)*15+MAV)*0.8*0.0001;
SD:=EMA(SK,2);
SJ:=2.8*SK-1.8*SD;
s2:=sma(c,3,1);
s6:=sma(c,5,1);
dk:=2*(s2-s6)*15*4*1.5;
STICKLINE(sk>sd and dk<rc or dk=rc,rc,rc+dk,3,0),COLORred;
STICKLINE(dk>0 and sk>sd ,rc,rc+dk,4,0),COLOR6633CC;
STICKLINE(dk>0 and sk<sd ,rc,rc+dk,4,0),COLORFFAA66;
STICKLINE(dk>0 and 多方<空方,rc,rc+dk,4,0),COLORgreen;
STICKLINE(cross(多方,空方),rc,rc+dk,4,0),COLORyellow;
STICKLINE(cross(空方,多方),rc,rc+dk,4,0),COLORgreen;
STICKLINE(dk<0 and 多方<空方 and sk<sd,rc,rc+dk,2,0),COLORGREEN;
大智慧
Var1D:=EMA(CLOSE,2)-EMA(CLOSE,89);
Var1E:=EMA(Var1D,30);
Var1F:=2*(Var1D-Var1E)*10;
Var20:=POW(Var1F,3)*0.1+POW(Var1F,2);
Var25:=IF(Var1F>0.015,Var20,0)/45/4;
JJ:=(C*2+H+L)/4;
SKKEMA(JJ,13)-EMA(JJ,21))*180,COLORWHITE;
SDD:EMA(SKk,2),COLORYELLOW;
多方:=(SKK-SDD)*0.001,colorRED,linethick0;
空方:=-1*(SKK-SDD)*0.001,color33FF33,linethick0;
rc:ref(C,1),COLORWHITE;
MAV:=(2*C+H+L)/4;
SK:=(SLOPE(EMA(MAV,2),7)*15+MAV)*0.8,colorRED;
SD:=EMA(SK,2),colorGREEN;
SJ:=2.8*SK-1.8*SD,colorYELLOW;
s2:=sma(c,3,1);
s6:=sma(c,5,1);
dk:=2*(s2-s6)*15*4*1.5;
STICKLINE(sk>sd and dk<rc or dk=rc,rc,rc+dk,3,0),COLORred;
STICKLINE(dk>0 and sk>sd ,rc,rc+dk,4,0),COLOR6633CC;
STICKLINE(dk>0 and sk<sd ,rc,rc+dk,4,0),COLORFFAA66;
STICKLINE(dk>0 and 多方<空方,rc,rc+dk,4,0),COLOR33FF33;
STICKLINE(cross(多方,空方),rc,rc+dk,4,0),COLORyellow;
STICKLINE(cross(空方,多方),rc,rc+dk,4,0),COLOR33FF33;
STICKLINE(dk<0 and 多方<空方 and sk<sd,rc,rc+dk,2,0),COLOR33FF33;
飞狐
JJ:=(C*2+H+L)/4;
SKKEMA(JJ,13)-EMA(JJ,21))*180,COLORWHITE;
SDD:EMA(SKk,2),COLORYELLOW;
多方SKK-SDD)*0.001,colorRED,linethick0;
空方:-1*(SKK-SDD)*0.001,colorGREEN,linethick0;
rc:ref(C,1),COLORWHITE;
MAV:=(2*C+H+L)/4;
SKSLOPE(EMA(MAV,2),7)*15+MAV)*0.8,colorRED,linethick0;
SD:EMA(SK,2),colorGREEN,linethick0;
SJ:2.8*SK-1.8*SD,colorYELLOW,linethick0;
s2:=sma(c,3,1);
s6:=sma(c,5,1);
dk:=2*(s2-s6)*15*4*1.5;
STICKLINE(sk>sd and dk<rc or dk=rc,rc,rc+dk,3,0),COLORred;
STICKLINE(dk>0 and sk>sd ,rc,rc+dk,4,0),COLOR6633CC;
STICKLINE(dk>0 and sk<sd ,rc,rc+dk,4,0),COLORFFAA66;
STICKLINE(dk>0 and 多方<空方,rc,rc+dk,4,0),COLORgreen;
STICKLINE(cross(多方,空方),rc,rc+dk,4,0),COLORyellow;
STICKLINE(cross(空方,多方),rc,rc+dk,4,0),COLORgreen;
STICKLINE(dk<0 and 多方<空方 and sk<sd,rc,rc+dk,2,0),COLORGREEN;
通达信
JJ :=(C*2+H+L)/4;
SKK EMA(JJ,13) - EMA(JJ,21))*180,COLORGRAY;
SDD : EMA(SKK,2),COLORGRAY;
多方: (SKK-SDD)*0.000000001,COLORRED,LINETHICK0;
空方: -1*(SKK-SDD)*0.000000001,COLORGREEN,LINETHICK0;
RC:=DYNAINFO(3);
RC,COLORWHITE;
SK:=(SLOPE(EMA(JJ,2),7)*15+JJ)*0.8*0.0001,COLORRED;
SD:=EMA(SK,2),COLORGREEN;
SJ:=2.8*SK-1.8*SD,COLORYELLOW;
S2:=SMA(C,3,1);
S6:=SMA(C,5,1);
DK:=2*(S2-S6)*15*4*1.5;
STICKLINE(SK>SD AND DK<RC OR DK=RC,RC,RC+DK,2,1),COLORRED;
STICKLINE(DK>0 AND SK>SD ,RC,RC+DK,2,0),COLOR6633CC;
STICKLINE(DK>0 AND SK<SD ,RC,RC+DK,2,0),COLORFFAA66;
STICKLINE(DK>0 AND 多方<空方,RC,RC+DK,2,0),COLORGREEN;
STICKLINE(CROSS(多方,空方),RC,RC+DK,2,0),COLORYELLOW;
STICKLINE(CROSS(空方,多方),RC,RC+DK,2,0),COLORGREEN;
STICKLINE(DK<0 AND 多方<空方 AND SK<SD,RC,RC+DK,2,1),COLORGREEN;
选股公式
J:=(C*2+H+L)/4;
K:=(EMA(J,13) - EMA(J,21))*180;
D:=EMA(K,2);
kk:=(K-D);
dd:=-1*(K-D);
ss:=CROSS(kk,dd);
ss; |