当前位置:→ 股海网通达信公式 → 正文
  • 通达信开盘三线公式分时公式源码 K线图

  • 相关简介:开盘三线(源码、分时主图、通达信、贴图) STICKLINE(TIME2=94000 AND REF(C,BARSLAST(TIME2=94000))=REF(C,BARSLAST(TIME2=93000)),DYNAINFO(3)*1.1,DYNAINFO(3)*0.9,0.5,-1),COLORRED; STICKLINE(TIME2=94000 AND REF(C,BARSLAST(TIME2=94000))REF(C,BARSLAST(TIME2=93000)),DYNAINFO(3)*

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

开盘三线(源码、分时主图、通达信、贴图)

STICKLINE(TIME2=94000 AND REF(C,BARSLAST(TIME2=94000))>=REF(C,BARSLAST(TIME2=93000)),DYNAINFO(3)*1.1,DYNAINFO(3)*0.9,0.5,-1),COLORRED;
STICKLINE(TIME2=94000 AND REF(C,BARSLAST(TIME2=94000))<REF(C,BARSLAST(TIME2=93000)),DYNAINFO(3)*1.1,DYNAINFO(3)*0.9,0.5,-1),COLORGREEN;
STICKLINE(TIME2=95000 AND REF(C,BARSLAST(TIME2=95000))>=REF(C,BARSLAST(TIME2=94000)),DYNAINFO(3)*1.1,DYNAINFO(3)*0.9,0.5,-1),COLORRED;
STICKLINE(TIME2=95000 AND REF(C,BARSLAST(TIME2=95000))<REF(C,BARSLAST(TIME2=94000)),DYNAINFO(3)*1.1,DYNAINFO(3)*0.9,0.5,-1),COLORGREEN;
STICKLINE(TIME2=100000 AND REF(C,BARSLAST(TIME2=100000))>=REF(C,BARSLAST(TIME2=95000)),DYNAINFO(3)*1.1,DYNAINFO(3)*0.9,0.5,-1),COLORRED;
STICKLINE(TIME2=100000 AND REF(C,BARSLAST(TIME2=100000))<REF(C,BARSLAST(TIME2=95000)),DYNAINFO(3)*1.1,DYNAINFO(3)*0.9,0.5,-1),COLORGREEN;
SJ1:=TIME2=93000;T1:=BARSLAST(SJ1);SJ2:=TIME2=94000;
SJ4:=TIME2=95000;T2:=BARSLAST(SJ2);T4:=BARSLAST(SJ4);
H1:=IF(TIME2=94000,REF(C,T2),DRAWNULL)=C;
H2:=IF(TIME2=95000,REF(C,T4),DRAWNULL)=C;
CS2:=CONST(REF(C,T2));{理想论坛ID鹏腾2009版本}
CS4:=CONST(REF(C,T4));
GL2:=FILTERX(H1,T2);
GL4:=FILTERX(H2,T4);
L1:=IF(TIME2=93000,REF(C,T1),DRAWNULL)=C;
CS1:=CONST(REF(C,T1));
GL1:=FILTERX(L1,T1);
DA:=CONST(IF(REF(GL2,BARSLAST(GL2)),REF(BARSLAST(GL1),BARSLAST(GL2)),DRAWNULL));
DA1:=CONST(IF(REF(GL4,BARSLAST(GL4)),REF(BARSLAST(GL2),BARSLAST(GL4)),DRAWNULL));
A:=IF(BARSLAST(GL1)>=0 AND BARSLAST(GL1)<=DA,((CS2-CS1)/DA)*BARSLAST(GL1)+CS1,DRAWNULL);
B:=IF(BARSLAST(GL2)>=0 AND BARSLAST(GL2)<=DA1,((CS4-CS2)/DA1)*BARSLAST(GL2)+CS2,DRAWNULL);
IF(A>=REF(A,1),A,DRAWNULL)COLORRED,LINETHICK3;
IF(A<REF(A,1),A,DRAWNULL)COLORGREEN,LINETHICK3;
IF(B>=REF(B,1),B,DRAWNULL)COLORRED,LINETHICK3;
IF(B<REF(B,1),B,DRAWNULL)COLORGREEN,LINETHICK3;
XSJ1:=TIME2=95000;
XT1:=BARSLAST(XSJ1);
XSJ2:=TIME2=100000;
XT2:=BARSLAST(XSJ2);
XCS2:=CONST(REF(C,XT2));
XL1:=IF(TIME2=95000,REF(C,XT1),DRAWNULL)=C;
XH1:=IF(TIME2=100000,REF(C,XT2),DRAWNULL)=C;
XCS1:=CONST(REF(C,XT1));
XGL1:=FILTERX(XL1,XT1);
XGL2:=FILTERX(XH1,XT2);
XDA:=CONST(IF(REF(XGL2,BARSLAST(XGL2)),REF(BARSLAST(XGL1),BARSLAST(XGL2)),DRAWNULL));
XA:=IF(BARSLAST(XGL1)>=0 AND BARSLAST(XGL1)<=XDA,((XCS2-XCS1)/XDA)*BARSLAST(XGL1)+XCS1,DRAWNULL);
IF(XA>=REF(XA,1),XA,DRAWNULL)COLORRED,LINETHICK3;
IF(XA<REF(XA,1),XA,DRAWNULL)COLORGREEN,LINETHICK3;
时间:=TIME2=100000;
N:=BARSLAST(时间);
C1:CONST(IF(N,MAX(REF(HHV(H,0),N+1),DYNAINFO(4)),HHV(H,0))),DOTLINE,COLORRED;
C2:CONST(IF(N,MIN(REF(LLV(L,0),N+1),DYNAINFO(4)),LLV(L,0))),DOTLINE,COLORGREEN;
C3:(C1+C2)/2,DOTLINE,COLORYELLOW;
VV:=HHV(V,0);
Z,:=(C1/C2-1)*100;
DRAWTEXT(CURRBARSCOUNT=30,C1*1.005,VARCAT(VARCAT(VARCAT(VARCAT('上限:',VAR2STR(C1,2)),'元,'),VARCAT('振幅:',VAR2STR(Z,,2))),'%')),COLORRED;
DRAWTEXT(CURRBARSCOUNT=30,C3*1.005,VARCAT(VARCAT('中限:',VAR2STR(C3,2)),'元')),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=30,C2*1.005,VARCAT(VARCAT('下限:',VAR2STR(C2,2)),'元')),COLORGREEN;
DRAWTEXT(C1/C2<=1.03 AND CROSS(C,C1) AND V>=VV,C1*1.005,'★买入')COLORRED;
DRAWTEXT(C1/C2<=1.03 AND CROSS(C2,C) AND V>=VV,C2*0.998,'★卖出')COLORGREEN;
STICKLINE(C1/C2<1.03 AND CROSS(C,C1) AND V>=VV,C1,C2,1,0),COLORRED;


通达信开盘三线公式分时公式源码 K线图

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

通达信开盘三线公式分时公式源码 K线图

  • 下载资源所需积分

    0

  • 当前拥有积分

    0

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

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