公式网 股票指标公式源码分享 登录 注册
公式指标平网
未来函数检测
首页 金钻指标 通达信公式 大智慧公式 同花顺公式 文华财经公式 东财通公式 飞狐公式 操盘手公式 其他公式 公式解答 股票软件 股票池
当前位置:→ 公式网 > 大智慧公式 > 正文 → 正文

大智慧主力动向副图指标

发布时间:2016/2/26 6:17:42  浏览次数:

大智慧主力动向副图指标

源码

N1:=9;N2:=5;
var1:=((close-ma(close,6))/ma(close,6)*100+(close-ma(close,24))/ma(close,24)*100+(close-ma(close,32))/ma(close,32)*100)/3;
drawicon(var1<-9 and var1> ref(var1,1),3,7);
买入:var1<-9 and var1> ref(var1,1),colorred;
stickline(var1>20 and filter(var1< ref(var1,1),5),var1+5,0,7,1),color00ff00;
大顶:var1>20 and filter(var1< ref(var1,1),5),color00ff00;
stickline(var1>9 and filter(var1< ref(var1,1),5),var1+2,0,3,1),colorgreen;
短顶:var1>9 and filter(var1< ref(var1,1),5),colorgreen;
var2:=hhv(var1>20,10); 
stickline(var2 and cross((ref(high,1)+ref(low,1))/2,ma(close,20)+2*std(close,20)),var1,0,7,0),colorblue; 
危险:var2 and cross((ref(high,1)+ref(low,1))/2,ma(close,20)+2*std(close,20)),colorblue;
stickline(var2 and filter(var1< ref(var1,1),6) and cross(ma(close,5),ma(close,2)),var1,0,7,0);
注意止损:var2 and filter(var1< ref(var1,1),6) and cross(ma(close,5),ma(close,2));
stickline(var1<-20 and filter(var1> ref(var1,1),5),var1-5,0,7,1),coloryellow;
大底:var1<-20 and filter(var1> ref(var1,1),7),coloryellow;
stickline(var1<-9 and var1> ref(var1,1),var1-2,0,3,1),colorff00ff;
短底:var1<-9 and var1> ref(var1,1),colorff00ff;
持币区域:var1,colorfedcba;
持股区域:if(var1>0,var1,0),colorred;
mtm:=c-ref(c,1);
ZLGJ:100*ema(ema(mtm,n1),n1)/ema(ema(abs(mtm),n1),n1),colorwhite;
MAZL:MA(ZLGJ,N2),coloryellow ;
顶底背离:0,colorred;
A1:=BARSLAST(ref(cross("macd.diff"(12,26,9),"macd.dea"(12,26,9)),1)); 
B1:=ref(c,A1+1)>c and ref("macd.diff"(12,26,9),A1+1)<"macd.diff"(12,26,9) and cross("macd.diff"(12,26,9),"macd.dea"(12,26,9)); 
MACD底背离:STICKLINE(FILTER(B1>0,5),0,0.75,3,0),COLOR00FF00;{5天内B1>0的条件不被记录在内,在当前周期内出现B1>0画绿色柱线} 
DRAWTEXT(FILTER(B1>0,5),0.57,'MACD底背离'),COLOR00FF00;
A2:=BARSLAST(ref(cross("kdj.k"(9,3,3),"kdj.d"(9,3,3)),1)); 
B2:=ref(c,A2+1)>c and ref("kdj.k"(9,3,3),A2+1)<"kdj.k"(9,3,3) and cross("kdj.k"(9,3,3),"kdj.d"(9,3,3)); 
KDJ底背离:STICKLINE(FILTER(B2>0,5),0,1,3,0),COLORYELLOW;{5天内B2>0的条件不被记录在内,在当前周期内出现B>0画黄色柱线} 
DRAWTEXT(FILTER(B2>0,5),0.80,'KDJ底背离'),COLORYELLOW;
A3:=BARSLAST(ref(cross("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1)); 
B3:=ref(c,A3+1)>c and ref("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) and cross("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)); 
RSI底背离:STICKLINE(FILTER(B3>0,5),0,0.5,3,0),COLORFFCC66;{5天内B3>0的条件不被记录在内,在当前周期内出现B3>0画青色柱线} 
DRAWTEXT(FILTER(B3>0,5),0.25,'RSI底背离'),COLORFFCC66;
2,COLORRED; 
C1:=BARSLAST(ref(cross("macd.dea"(12,26,9),"macd.diff"(12,26,9)),1)); 
D1:=ref(c,C1+1)"macd.diff"(12,26,9) and cross("macd.dea"(12,26,9),"macd.diff"(12,26,9)); 
MACD顶背离:STICKLINE(FILTER(D1>0,5),2,1.25,3,0),COLOR0066FF;{5天内D1>0的条件不被记录在内,在当前周期内出现D1>0画橘黄色柱线} 
DRAWTEXT(FILTER(D1>0,5),1.47,'MACD顶背离'),COLOR0066FF;
C2:=BARSLAST(ref(cross("kdj.d"(9,3,3),"kdj.k"(9,3,3)),1)); 
D2:=ref(c,C2+1)"kdj.k"(9,3,3) and cross("kdj.d"(9,3,3),"kdj.k"(9,3,3)); 
KDJ顶背离:STICKLINE(FILTER(D2>0,5),2,1,3,0),COLORRED;{5天内D2>0的条件不被记录在内,在当前周期内出现D2>0画红色柱线} 
DRAWTEXT(FILTER(D2>0,5),1.2,'KDJ顶背离'),COLORRED;
C3:=BARSLAST(ref(cross("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24)),1)); 
D3:=ref(c,C3+1)"RSI.RSI1"(6,12,24) and cross("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24)); 
RSI顶背离:STICKLINE(FILTER(D3>0,5),2,1.5,3,0),COLORFF00FF;{5天内D3>0的条件不被记录在内,在当前周期内出现D3>0画粉色柱线} 
DRAWTEXT(FILTER(D3>0,5),1.75,'RSI顶背离'),COLORFF00FF;
Var21:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04;
Var22:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;
准备买入:Var21 AND Var22,stick,linethick2,colorred;
Var23:=REF(CLOSE,1);
Var24:=SMA(MAX(CLOSE-Var23,0),6,1)/SMA(ABS(CLOSE-Var23),6,1)*100;
准备卖出:CROSS(80,Var24),stick,linethick2,colorgreen;
drawicon(准备卖出,1.1,2);
drawicon(准备买入,1.1,1);

大智慧主力动向副图指标

资源下载链接   资源大小:unknow

手机移动版 - 关于我们 - 联系我们 - 广告合作 - 下载声明 - 网站帮助 - 友情链接 - 网站地图 - TOP
湘ICP备09016573号-3 增值电信业务经营ICP许可证:湘B2-20210269 湘公网安备43108102000039号
Copyright © GSZX.COM.CN ,All Rights Reserved.
股票公式,股票指标,股票软件,股票知识