当前位置:→ 股海网同花顺公式 → 正文
  • 同花顺做波段主图指标

  • 相关简介:同花顺做波段主图指标 源码 fl:MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1)),colorf4e202; fs:MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1),colorf4e202,linethick2; cg:=IF(MA(CLOSE,17)fs,fs,MA(CLOSE,17)),colorf4e202,linethick2; 年线:=EMA(C,250); a:cg-(EMA(C,3)-cg

  • 文章来源:股海网作者:股海网发布时间:2016-05-31浏览次数:下载次数:0

同花顺做波段主图指标

源码

fl:MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1)),colorf4e202;
fs:MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1),colorf4e202,linethick2;
cg:=IF(MA(CLOSE,17)<fs,fs,MA(CLOSE,17)),colorf4e202,linethick2;
年线:=EMA(C,250);
a:cg-(EMA(C,3)-cg),Color1EFFFF,linethick2;
qq:年线-(EMA(C,3)-年线),colorff80ff,linethick2;
PARTLINE(cg,cg>REF(cg,1),RGB(250,30,250),cg<=REF(cg,1),RGB(40,250,40)),LINETHICK3;

var9Q:=C= HHV(C,4)AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF(C,3)) OR REF(C,1)=HHV(C,4) AND CLOSE>=REF(C,2) OR REF(C,2)=HHV(C,4) AND REF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3)=HHV(C,4) AND C>=REF(C,1) AND C>=REF(C,2);
varaQ:=C=HHV(C,4) AND REF(C,1)=LLV(C,4);
varbQ:=C=LLV(C,4) AND (REF(C,1)<REF(C,2) OR REF(C,1)<REF(C,3)) OR REF(C,1)=LLV(C,4) AND C<REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)<>HHV(C,4) AND C<REF(C,1) OR REF(C,3)=LLV(C,4) AND C<REF(C,1) AND C<REF(C,2);
varcQ:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);
vardQ:=REF(C,1)=HHV(C,4) AND C<REF(C,2) OR (REF(C,2)=HHV(C,4) AND REF(C,1)>REF(C,3) OR REF(C,3)=HHV(C,4) AND REF(C,1)>REF(C,2)) AND REF(C,2)>=REF(C,4) AND C<REF(C,1);
A:=(3*C+L+O+H)/6;
VAR4:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+
14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+REF(A,20))/210;
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,12),12)/EMA(EMA(ABS(MTM),12),12);
STICKLINE(CLOSE>OPEN,OPEN,LOW,0.5,0 ),ColorFF2894;
STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0.5 ,0 ),Color2828FF;
STICKLINE(OPEN>=CLOSE,CLOSE,LOW,0.5 ,0 ),Color2DFF2D;
STICKLINE(OPEN>=CLOSE,OPEN,HIGH,0.5 ,0 ),COLORFF4D4D;

STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,10,0 ),COLORD50000;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,8,0 ),COLORF20000;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,6,0 ),COLORFF2626;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),COLORFF4D4D;//绿蓝空

STICKLINE(CLOSE>OPEN,CLOSE,OPEN,10,0) ,ColorB7005B;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8,0) ,ColorD5006A;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,ColorF9007C;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,ColorFF2894;//紫红跟
红持:var9Q,Color2D2DFF;
STICKLINE(var9Q,C,(O+C)/2,10,0),Color0000B7;
STICKLINE(var9Q,C,(O+C)/2,8,0),Color0000D5;
STICKLINE(var9Q,C,(O+C)/2,6,0),Color0000FF;
STICKLINE(var9Q,C,(O+C)/2,4,0),Color2D2DFF;
粉加:varaQ,ColorFF2DFF;
STICKLINE(varaQ,C,(O+C)/2,10,0),ColorB700B7;   
STICKLINE(varaQ,C,(O+C)/2,8,0),ColorD500D5;   
STICKLINE(varaQ,C,(O+C)/2,6,0),ColorF900F9;   
STICKLINE(varaQ,C,(O+C)/2,4,0),ColorFF2DFF;   

白减:varbQ,ColorFFFFFF;   
STICKLINE(varbQ,C,(O+C)/2,10,0),ColorAAAAAA;   
STICKLINE(varbQ,C,(O+C)/2,8,0),ColorCECECE;   
STICKLINE(varbQ,C,(O+C)/2,6,0),ColorF2F2F2;   
STICKLINE(varbQ,C,(O+C)/2,4,0),ColorFFFFFF;
绿抛:vardQ,Color2DFF2D;
STICKLINE(vardQ,O,(O+C)/2,10,0),Color00B700;
STICKLINE(vardQ,O,(O+C)/2,8,0),Color00D500;
STICKLINE(vardQ,O,(O+C)/2,6,0),Color00F900;
STICKLINE(vardQ,O,(O+C)/2,4,0),Color2DFF2D;
黄进:varcQ,Color33FFFF;   
STICKLINE(varcQ,O,(O+C)/2,10,0),Color00B7B7;   
STICKLINE(varcQ,O,(O+C)/2,8,0),Color00D5D5;   
STICKLINE(varcQ,O,(O+C)/2,6,0),Color00FBFB;   
STICKLINE(varcQ,O,(O+C)/2,4,0),Color33FFFF;
RSV:=(C-LLV(L,19))/(HHV(H,19)-LLV(L,19))*100;
K:=SMA(RSV,5,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
BDGD:=HHV(J,2)=HHV(J,8) AND J>80;
B:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
DRAWTEXT(FILTER(B=1,5),LOW-0.10,'★ '),Color2D2DFF;
RSV:=(C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100;
K:=SMA(RSV,5,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
BDGD:=HHV(J,2)=HHV(J,8) AND J>80;
注意:=IF(CROSS(REF(J-0.01,1),J) AND REF(BDGD,1),1,0);
DRAWTEXT(注意 AND A<>1,HIGH*1.05,'◆'),Color00D200;
C3:=REF(C,1);
涨停:IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0),Color0080FF;
STICKLINE(涨停,OPEN,CLOSE,10,0),Color004891;
STICKLINE(涨停,OPEN,CLOSE,8,0),Color0055AA;
STICKLINE(涨停,OPEN,CLOSE,6,0),Color006AD5;
STICKLINE(涨停,OPEN,CLOSE,4,0),Color0080FF;

跌停:IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0),COLORffee00;
STICKLINE(跌停,OPEN,CLOSE,10,0),COLORff6600;
STICKLINE(跌停,OPEN,CLOSE,8,0),COLORff8800;
STICKLINE(跌停,OPEN,CLOSE,6,0),COLORffcc00;
STICKLINE(跌停,OPEN,CLOSE,4,0),COLORffee00;
MA3:=EMA(C,3);
X1:=REF(EMA(C,3),1);
X2:=(EMA(C,3)-X1)/X1*100;
N1:=BARSLAST(CROSS(X2,0.3));
N2:=BARSLAST(CROSS(0.3,X2));
X3:=CROSS(X2,0.3) OR CROSS(0.3,X2);
STICKLINE(N1<N2,REF(MA3,N1),REF(MA3,N1),5,0), POINTDOT,Color37FFFF,LINETHICK2;
STICKLINE(N2<N1,REF(MA3,N2),REF(MA3,N2),5,0), POINTDOT,ColorFFFF2D,LINETHICK2;
 

同花顺做波段主图指标

 ☟问题反馈 ☞┄┄┄┄┄┄┄┄┄┄→收藏资源:

同花顺做波段主图指标

  • 下载资源所需积分

    0

  • 当前拥有积分

    0

上传会员: 
股海网
文件大小: 
Bytes
上传时间: 
2016-05-31
下载积分: 
-
免责声明: 
请仔细阅读并同意后才能下载
本附件为用户分享上传,股海网没有对文件进行验证,不能保证下载资源的准确性、安全性和完整性,也不保证下载资源能正常安装和使用,且下载后扣除的积分无法退还,除非您充分理解并完全接受本声明,否则您无权下载。
本站对提供下载的软件、指标、资料等不拥有任何权利,其版权归该下载资源的合法拥有者所有。本附件仅供学习和研究使用,不得用于商业或者非法用途,如有侵犯您的版权, 请参看 《股海网侵权处理流程》《股海网免责声明条款》
点击下载无反应时,更换主流浏览器重新登录操作,如360浏览器、Edge浏览器、谷歌浏览器,个别浏览器有不兼容现象。
勾选以下表示您已经阅读并同意以上声明才能下载本文件,扣除积分无法退还!
我已阅读所有条款规定, 请点我同意 所有条款内容!我自愿下载!
提示:如下载失败,请点关闭刷新此页面或提交问题反馈给管理员→
关闭

关于我们 - 联系我们 - 隐私政策 - 免责声明 - 下载帮助 - 广告合作 - SiteMap - TOP
增值电信业务经营ICP许可证:湘B2-20210269 湘ICP备09016573号-10 湘公网安备43108102000040号
Copyright © 2021 铭网科技,All Rights Reserved.