当前位置:→ 公式网 > 通达信公式 > 正文  公式解密、改选股等业务 联系点击查看详情...

以下是通达信版延伸均线源码主图(无源码的请下载附件导入)

 通达信版延伸均线源码主图

{公式在线提供:www.gszx.com.cn}

C/C++ Code复制内容到剪贴板
  1. STICKLINE(8=8,H,L,4,1),COLOR000000;{隐藏K线[设置与背景色一样]}   
  2.  CURR:=CURRBARSCOUNT;   
  3.  DRAWKLINE(IF(CURR>3,REFX(H,3),DRAWNULL),IF(CURR>3,REFX(O,3),DRAWNULL),   
  4.  IF(CURR>3,REFX(L,3),DRAWNULL),IF(CURR>3,REFX(C,3),DRAWNULL));   
  5.  RM5:IF(CURR>3,REFX(MA(C,5),3),DRAWNULL),COLOR0000FF;   
  6.  RM10:IF(CURR>3,REFX(MA(C,10),3),DRAWNULL),COLOR00FFFF;   
  7.  RM20:IF(CURR>3,REFX(MA(C,20),3),DRAWNULL),COLORFF0000;   
  8.  ABSM5:=CONST(IF(MA(C,5)-REF(MA(C,5),1)>0,ABS(MA(C,5)-REF(MA(C,5),1)),0-ABS(MA(C,5)-REF(MA(C,5),1))));   
  9.  ABSM10:=CONST(IF(MA(C,10)-REF(MA(C,10),1)>0,ABS(MA(C,10)-REF(MA(C,10),1)),0-ABS(MA(C,10)-REF(MA(C,10),1))));   
  10.  ABSM20:=CONST(IF(MA(C,20)-REF(MA(C,20),1)>0,ABS(MA(C,20)-REF(MA(C,20),1)),0-ABS(MA(C,20)-REF(MA(C,20),1))));   
  11.  R2M5:=IF(CURR=3,CONST(MA(C,5))+ABSM5,DRAWNULL);   
  12.  R2M10:=IF(CURR=3,CONST(MA(C,10))+ABSM10,DRAWNULL);   
  13.  R2M20:=IF(CURR=3,CONST(MA(C,20))+ABSM20,DRAWNULL);   
  14.  R1M5:=IF(CURR=2,CONST(MA(C,5))+2*ABSM5,DRAWNULL);   
  15.  R1M10:=IF(CURR=2,CONST(MA(C,10))+2*ABSM10,DRAWNULL);   
  16.  R1M20:=IF(CURR=2,CONST(MA(C,20))+2*ABSM20,DRAWNULL);   
  17.  R0M10:=IF(ISLASTBAR,CONST(MA(C,10))+3*ABSM10,DRAWNULL);   
  18.  R0M20:=IF(ISLASTBAR,CONST(MA(C,20))+3*ABSM20,DRAWNULL);   
  19.  DRAWLINE(CURR=4,RM5,CURR=3,R2M5,0),COLOR0000FF,DOTLINE;   
  20.  DRAWLINE(CURR=3,R2M5,CURR=2,R1M5,0),COLOR0000FF,DOTLINE;   
  21.  DRAWLINE(CURR=4,RM10,CURR=3,R2M10,0),COLOR00FFFF,DOTLINE;   
  22.  DRAWLINE(CURR=3,R2M10,CURR=2,R1M10,0),COLOR00FFFF,DOTLINE;   
  23.  DRAWLINE(CURR=2,R1M10,ISLASTBAR,R0M10,0),COLOR00FFFF,DOTLINE;   
  24.  DRAWLINE(CURR=4,RM20,CURR=3,R2M20,0),COLORFF0000,DOTLINE;   
  25.  DRAWLINE(CURR=3,R2M20,CURR=2,R1M20,0),COLORFF0000,DOTLINE;   
  26.  DRAWLINE(CURR=2,R1M20,ISLASTBAR,R0M20,0),COLORFF0000,DOTLINE;  



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