当前位置:→ 股海网通达信公式 → 正文
  • 通达信龙凤梯区主图公式源码贴图

  • 相关简介:A:=EMA(C,2); B:=EMA(SLOPE(C,21)*20+C,42); STICKLINE(A=B,REFDATE(HHV(H,100),DATE),H*1.01,5,0),COLOR000055; STICKLINE(AB,REFDATE(HHV(H,100),DATE),H*1.01,5,0),COLOR663300; 高1:=REF(HHV(H,120),3); 低1:=REF(LLV(L,120),3); H1:=高1-(高1-低1)*0.191; H2:=高1-(高1-低1

  • 文章来源:股海网作者:股海网发布时间:2019-01-25浏览次数:下载次数:0

A:=EMA(C,2);
 B:=EMA(SLOPE(C,21)*20+C,42);
 STICKLINE(A>=B,REFDATE(HHV(H,100),DATE),H*1.01,5,0),COLOR000055;
 STICKLINE(A<B,REFDATE(HHV(H,100),DATE),H*1.01,5,0),COLOR663300;
高1:=REF(HHV(H,120),3);
低1:=REF(LLV(L,120),3);
 H1:=高1-(高1-低1)*0.191;
 H2:=高1-(高1-低1)*0.382;
 H3:=高1-(高1-低1)*0.5;
 H4:=高1-(高1-低1)*0.618;
 H5:=高1-(高1-低1)*0.809;
突破:=REF(EMA(C,14),1);
 A1X:=(EMA(C,10)-突破)/突破*100;
基准:=IF(A1X>=0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1));
 STICKLINE(A1X>=0,基准,突破,5,0),COLOR000099;
 STICKLINE(A1X<0,基准,突破,5,0),COLOR00CC66;
 AA:=CROSS(A1X,0),LINETHICK0;
 BB:=CROSS(0,A1X),LINETHICK0;
 DRAWICON(AA,基准*0.98,34);
 DRAWICON(BB,基准*1.015,35);
 N1:=60;
 K:=BARSLAST(CURRBARSCOUNT=N1);
 GD:=CONST(IF(ISLASTBAR=1,HHV(H,K),0));
 DD:=CONST(IF(ISLASTBAR=1,LLV(L,K),0));
 KJ:=GD-DD;
平衡:=IF(CURRBARSCOUNT<=N1,DD+KJ/2,DRAWNULL),COLOR00FFFF,NODRAW;
压力:=IF(CURRBARSCOUNT<=N1,GD-KJ*0.191,DRAWNULL),COLORFF00FF,NODRAW;
支撑:=IF(CURRBARSCOUNT<=N1,DD+KJ*0.191,DRAWNULL),COLOR00FF00,NODRAW;
高区:IF(CURRBARSCOUNT<=N1,GD,DRAWNULL),COLORRED,DOTLINE;
低区:IF(CURRBARSCOUNT<=N1,DD,DRAWNULL),COLOR00FF00,DOTLINE;
 STICKLINE(CURRBARSCOUNT=N1,GD,DD,0,-1),COLORWHITE;
 STICKLINE(CURRBARSCOUNT=N1/2,GD,DD,0,-1),COLORWHITE;
 STICKLINE(CURRBARSCOUNT=1,GD,DD,0,-1),COLORWHITE;
 STICKLINE(CURRBARSCOUNT<=N1,平衡,平衡,3,-1),COLORWHITE;
 STICKLINE(CURRBARSCOUNT<=N1/2,压力,压力,3,-1),COLORRED;
 STICKLINE(CURRBARSCOUNT<=N1/2,支撑,支撑,3,-1),COLORGREEN;
 DRAWKLINE(H,O,L,C);
 N:=1;
 XOPEN:=(REF(O,N)+REF(C,N))/2;
 XCLOSE:=CLOSE;
 XHIGH:=MAX(HIGH,XOPEN);
 JJ:=DATE;
 TJJ:=JJ<=20121024;
 XLOW:=MIN(LOW,XOPEN);
VOLALITY:=MA(XHIGH-XLOW,8);
龙线:MA(XCLOSE,5)+VOLALITY/2,COLOR0000FF;
凤线:MA(XCLOSE,5)-VOLALITY/2,COLORFF0000;
 T1:=CONST(LLVBARS(LOW,10));
 T1HIGH:=CONST(REF(HIGH,T1));
 CC:=CONST(CURRBARSCOUNT);
 T2:=CONST(BARSLAST(CURRBARSCOUNT>CC+T1 AND H>T1HIGH));
 T2HIGH:=CONST(REF(HIGH,T2));
 T3:=CONST(BARSLAST(CURRBARSCOUNT>CC+T2 AND HIGH>T2HIGH));
 T3HIGH:=CONST(REF(HIGH,T3));
 
猎击线:DRAWLINE(CURRBARSCOUNT=T3+5, T3HIGH, ISLASTBAR, T3HIGH, 1),DOTLINE,COLORYELLOW;
 DRAWTEXT(ISLASTBAR, T3HIGH, ' 猎'),COLORYELLOW;
 M:=10;
 T4:=CONST(HHVBARS(V,10)),COLORBLUE,LINETHICK1;
量能平台:IF(CURRBARSCOUNT<=M+15,CONST(IF(T4=0,C,REF(C,T4))),DRAWNULL)COLORWHITE,LINETHICK2;
 BU:=CROSS(XCLOSE,龙线);
SEL:=CROSS(凤线,XCLOSE);
 VAR1:=BARSLAST(BU);
 VAR2:=BARSLAST(SEL);
 STICKLINE(XCLOSE>XOPEN AND VAR1<VAR2,O,C,3,0 ),COLORBB00CC;
 STICKLINE(XCLOSE>XOPEN AND VAR1<VAR2,O,C,2,0 ),COLORCC00CC;
 STICKLINE(XCLOSE>XOPEN AND VAR1<VAR2,O,C,1,0 ),COLORDD00CC;
 STICKLINE(XCLOSE>XOPEN AND VAR1<VAR2,O,C,0,0 ),COLORFF00CC;
 STICKLINE(XCLOSE<=XOPEN AND VAR1<VAR2,O,C,3,0 ),COLOR00AAFF;
 STICKLINE(XCLOSE<=XOPEN AND VAR1<VAR2,O,C,2,0 ),COLOR00BBFF;
 STICKLINE(XCLOSE<=XOPEN AND VAR1<VAR2,O,C,1,0 ),COLOR00CCFF;
 STICKLINE(XCLOSE<=XOPEN AND VAR1<VAR2,O,C,0,0 ),COLOR00DDFF;
 STICKLINE(XCLOSE<=XOPEN AND VAR1>VAR2,O,C,3,0 ),COLORFFBB00;
 STICKLINE(XCLOSE<=XOPEN AND VAR1>VAR2,O,C,2,0 ),COLORFFCC00;
 STICKLINE(XCLOSE<=XOPEN AND VAR1>VAR2,O,C,1,0 ),COLORFFDD00;
 STICKLINE(XCLOSE<=XOPEN AND VAR1>VAR2,O,C,0,0 ),COLORFFFF00;
 STICKLINE(XCLOSE>XOPEN AND VAR1>VAR2,O,C,3,0 ),COLORBB0000;
 STICKLINE(XCLOSE>XOPEN AND VAR1>VAR2,O,C,2,0 ),COLORCC0000;
 STICKLINE(XCLOSE>XOPEN AND VAR1>VAR2,O,C,1,0 ),COLORDD0000;
 STICKLINE(XCLOSE>XOPEN AND VAR1>VAR2,O,C,0,0 ),COLORFF0000;
 DRAWICON(REF(VAR1,1)>VAR2 AND VAR1=0,XLOW*0.98,7);
 DRAWICON(REF(VAR2,1)>VAR1 AND VAR2=0,XHIGH*1.01,8);
所属地域:DRAWTEXT_FIX(ISLASTBAR ,0.05,0.01,1,DYBLOCK),COLORYELLOW;
所属行业:DRAWTEXT_FIX(ISLASTBAR ,0.06,0.01,0,HYBLOCK),COLORYELLOW;
 DRAWTEXT_FIX(1,0.11,0.01,0,EXTERNSTR(0,6)),COLORYELLOW;
 DRAWTEXT_FIX(1,0.12,0.01,0,EXTERNSTR(0,1))COLORYELLOW;
 IF(CURRBARSCOUNT=T4+1,量能平台,DRAWNULL),CIRCLEDOT,COLORWHITE,LINETHICK2;
 A1:=BARSLAST(MONTH!=REF(MONTH,1))+1;
月±%:(CLOSE/REF(CLOSE,A1)-1)*100,COLORWHITE,NODRAW;
通达信龙凤梯区主图公式源码贴图

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

通达信龙凤梯区主图公式源码贴图

  • 下载资源所需积分

    0

  • 当前拥有积分

    0

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

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