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

大智慧生命线主图指标

发布时间:2016/3/11 6:39:42  浏览次数:

大智慧生命线主图指标

源码

{决胜王生命线--主图}
生命线:ema(c,24),colorwhite,linethick2;
A:=ref(生命线,24);
mtm:=close-ref(close,1);
dx:=100*ema(ema(mtm,6),6)/ema(ema(abs(mtm),6),6);
dy:=hhv(dx,2)=hhv(dx,7) and count(dx>50,2) and cross(ma(dx,2),dx);
lc:=ref(close,1);
rsi:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100;
多头线:EMA(C,1),COLORYELLOW;
空头线:EMA(C,5),COLOR00FF00;
均衡线:EMA(空头线,5),COLORWHITE;
varF1:=COUNT(CROSS(多头线,均衡线),2)=1;
varF2:=COUNT(CROSS(空头线,均衡线),2)=1;
ZAI:=FILTER(varF1 AND varF2,2);
DRAWTEXT(ZAI,均衡线*0.98,' 主升行情'),color00ff00;
stickline(生命线>=A,high,low,0,0),colorff00ff;
stickline(生命线>=A,open,close,4,0),colorff00ff;
stickline(cross(生命线,A),high,low,0,0),colorred;
stickline(cross(生命线,A),open,close,4,0),colorred;
drawtext(cross(生命线,A),low*0.98,'▲'),colorred;
drawtext(cross(生命线,A),low*0.975,'∣'),colorred;
drawtext(cross(生命线,A),low*0.975,'‖'),colorred;
drawtext(cross(生命线,A),low*0.97,'∣'),colorred;
drawtext(cross(生命线,A),low*0.97,'‖'),colorred;
drawtext(cross(生命线,A),low*0.965,'∣'),colorred;
drawtext(cross(生命线,A),low*0.965,'‖'),colorred;
stickline(生命线
stickline(生命线
stickline(cross(A,生命线),high,low,0,0),color00ff00;
stickline(cross(A,生命线),open,close,4,0),color00ff00;
drawtext(cross(A,生命线),high*1.02,'▼'),color00ff00;
drawtext(cross(A,生命线),high*1.025,'∣'),color00ff00;
drawtext(cross(A,生命线),high*1.025,'‖'),color00ff00;
drawtext(cross(A,生命线),high*1.03,'∣'),color00ff00;
drawtext(cross(A,生命线),high*1.03,'‖'),color00ff00;
drawtext(cross(A,生命线),high*1.035,'∣'),color00ff00;
drawtext(cross(A,生命线),high*1.035,'‖'),color00ff00;
VAR1:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.998),7);
DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.013),8);
DRAWTEXTREL(2,5,'【决胜王生命线】'),linethick3,colorwhite;
{DRAWTEXT(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.984),'B '),color4440FF;
DRAWTEXT(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.035),'S '),colorFFFF34;}
dp:=if(c=INDEXC,0,1);gj:=AMOUNT/v/100;
上线:=sma(c,6.5,1);
下线:=sma(c,13.5,1);
上线1:=sma(c,3,1);
下线1:=sma(c,8,1);
STICKLINE(上线>下线,上线,下线,2.5,0),colorred,linethick2;
stickline(下线>上线,上线,下线,2.5,0),coloryellow,linethick2;
DRAWTEXT( cross(上线,下线),low*0.98,'▲全仓买' ),color00ff00;
drawtext(cross(下线1,上线1),h*1.02,'▼清仓'),coloryellow;
减仓:=filter(cross(80,rsi) or dy,5);
drawtext(减仓 and 生命线>A,high*1.03,'○'),colorblue;
D:=MA(CLOSE,80)-MA(CLOSE,10)/3; 
DRAWTEXT(if(CLOSEMA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08 AND CLOSE
VA1:=EMA(c,8);
VA2:=EMA(c,28);
DRAWTEXT(CROSS(VA2,VA1),VA1*1.10,'●全仓卖'),COLORYELLOW;
x1:=(3*C+H+L+O)/6;
x2:=EMA(x1,10);
x3:=REF(x2,1);
XL4:=SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1);
DRAWTEXT(IF(CROSS(3*XL4-2*SMA(XL4,3,1),8),87,0) and x2>x3,l-0.1,'●反弹'),COLORGREEN;
DRAWTEXT(IF(CROSS(2*(EMA((CLOSE*2+HIGH+LOW)/4,12)-EMA((CLOSE*2+HIGH+LOW)/4,26)-EMA(EMA((CLOSE*2+HIGH+LOW)/
4,12)-EMA((CLOSE*2+HIGH+LOW)/4,26),2))*5.8,0.47),LOW,0) and x2>x3,l-0.4,'●加仓'),ColorFF5ED8;
DRAWTEXT(IF(CROSS(2*(EMA((CLOSE*2+HIGH+LOW)/4,12)-EMA((CLOSE*2+HIGH+LOW)/4,26)-EMA(EMA((CLOSE*2+HIGH+LOW)/
4,12)-EMA((CLOSE*2+HIGH+LOW)/4,26),2))*5.8,0.47),LOW,0) and x2>x3,l-0.4,'●加仓'),ColorFF5ED8;
V1:=EMA(CLOSE,5);
V2:=EMA(EMA(CLOSE,29)*1.01,10);
DRAWICON(CROSS(V1,V2),V2,1);
V3:=EMA(CLOSE,10);
V4:=EMA(EMA(CLOSE,60)*0.99,10);
DRAWICON(CROSS(V3,V4),V4,1);
Var34:=(INDEXC-REF(INDEXC,1))/REF(INDEXC,1);
Var35:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1);
Var36:=IF(Var34>0.010,0.900,1) AND IF(Var34>(-0.025),1,1.200);
Var37:=Var36*(Var35-Var34)*100;
Var38:=SUM(Var37,10);
Var310:=Var38>20;
Var326:=IF(CLOSE and MA(VOL, 5)/240 AND CLOSE>REF(CLOSE,1)*1.0 AND CLOSE,88,0);
Var327:=IF(CLOSE/REF(CLOSE, 1)>1.050 AND VOL/CAPITAL*100<10 AND CLOSE<17 AND HIGH/CLOSE<1.010 AND Var326>0,91,0);
DRAWICON(Var310>0 AND Var327=0,HIGH*1.01,5);
STICKLINE(Var327>90,LOW*0.99,LOW*0.95,2,0),COLORYELLOW;
STICKLINE(C<=O,C,O,3,0),COLORFF2020;
DRAWTEXT(VAR327>90,LOW*0.95,'出击'),COLORYELLOW;

大智慧生命线主图指标

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

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