大智慧浮云趋势指标公式
DRAWGBKLAST(c>0,STRIP(RGB(0,4,10),RGB(0,60,100),0));
r1:="rsi.rsi1";
r2:="rsi.rsi3";
J1:="macd.diff";
J2:="macd.dea";
J3:="kdj.k";
J4:="kdj.d";
LC:=REF(CLOSE,1);
RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
YX:=((CLOSE > LC) AND ISUP);
D1:=REF(D,1);
w1:=(D1 < 30) AND CROSS(K,D) AND YX;
VL:=REF(LOW,1); VH:=REF(H,1);
Var1:=SMA(ABS(H-Vh),13,1)/SMA(MAX(H-Vh,0),13,1)*100;
Var2:=SMA(ABS(L-VL),13,1)/SMA(MAX(L-VL,0),13,1)*100;
Var3:=REF(CLOSE,1);
Var4:=MA(Var2,13);
Var5:=LLV(L,34);
Var6:=SMA(MAX(CLOSE-Var3,0),6,1)/SMA(ABS(CLOSE-Var3),6,1)*100;
var7:=CROSS(93,Var6);
Var8:=EMA(IF(L<=Var5,Var4,0),3);
var9:=H>LLV(l,0)*4;
var10:=(SMA(SMA((((CLOSE - LLV(LOW,54)) / (HHV(HIGH,54) - LLV(LOW,54))) * 100),7,1),5,1));
var11:=((SMA(((CLOSE - LLV(LOW,54)) / (HHV(HIGH,54) - LLV(LOW,54)) * 100),7,1)) * 16.18) - (var10 * 10.9);
varl14:=STKINDI('','macd.dea',0,7);
var12:=SUM(WINNER(CLOSE)*100,10)/10-(SUM(WINNER(CLOSE)*100,10)/20+10);
var22:=Dma(var12,vol/SUM(vol,66));
var23:=Dma(var12,vol/CAPITAL);
var24:=IF(C>1000,var22,var23);
Var21:=LLV(LOW,60);
Var31:=HHV(HIGH,60);
Var41:=EMA((CLOSE-Var21)/(Var31-Var21)*100,13);
Var51:=EMA(0.667*REF(Var41,1)+0.333*Var41,21);
结束:FILTER(IF(var11<=var10 AND Var8>REF(Var8,1),Var8*8,0),20),LINETHICK0;
VERTLINE(结束,0),LINETHICK2,ColorFF00FF;
牛股:filter(CROSS(var12,var24) and var24>-5 and var24<15 and var12<20 and varl14<0,34),LINETHICK0;
VERTLINE(牛股,0),LINETHICK2,Color0000FF;
T1:FILTER(IF(CROSS(j4,j3) and SUM(j1<REF(j1,1),3)>3,CROSS(j2,j1),0),13),LINETHICK0;
VERTLINE(T1,0),LINETHICK2,ColorFFFFFF;
T2:FILTER(CROSS(j4,j3) and C/(REF(C,1)-1)*100<>5 and var9 and CROSS(r2,r1) and r2>50,90),LINETHICK0;
VERTLINE(T2,0),LINETHICK2,ColorFFFF00;
T3:FILTER(CROSS(Var51,Var41) AND Var41>84,22),LINETHICK0;
VERTLINE(T3,0),LINETHICK2,Color00FF00;
DRAWTEXT(T1,50,'注意洗盘'),Color5E8262;
DRAWTEXT(结束,50,'洗盘结束'),ColorFFFFFF,align1,valign0;
DRAWTEXT(T2,50,'出局'),ColorFFFF00,align1,valign0;
DRAWTEXT(T3,50,'风险'),Color00FF00,align1,valign0;
DRAWTEXT(牛股,50,'抓牛股'),Color00BFFF,align1,valign0;
80,coloryellow,pointdot;;
短快:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),7) ,coloryellow;
短慢:EMA(短快,3),colorcyan;
长快:EMA(短快,14),colormagenta;
长慢:EMA(长快,3),colorgreen;
20,coloryellow,pointdot;
60,coloryellow,pointdot;
强弱:短快-长快,LINETHICK0;
STICKLINE(强弱>0 ,50,50+强弱,2,0),COLOR5050ff;
STICKLINE(强弱<0 ,50,50+强弱,2,0),colorffdd00;
代理编写(对转)通达信 飞狐 同花顺 大智慧 文华财经 博易大师 依天财经等软件指标!
- 上一篇:大智慧一直用的辅助指标 2014/11/5
- 下一篇:日线波段抄底用的指标-源码 2014/11/5