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

以下是HeiKin ashi平均K线(无源码的请下载附件导入)

 

C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
  1. Ac:=(H+L+C+O)/4;   
  2. ao:=c*0;   
  3. fo:=o;   
  4. ao[1]:=fo[1];   
  5. for i=2 to datacount do ao[i]:=(ao[i-1]+ac[i-1])/2;   
  6. AH:=max(H,Max(Ao,Ac));   
  7. AL:=min(L,min(Ao,Ac));   
  8.   
  9. dd:=(ma(ao,2)+ma(ao,4))/2,linethick2;   
  10. 2*dd-1*ao,colormagenta;   
  11. ma(ao,2),color00bb00;   
  12.   
  13. STICKLINE(AC>=AO,AH,AC,1,0),color225588;   
  14. STICKLINE(AC>=AO,AH,AC,0,0),color66ccff;   
  15. STICKLINE(AC>=AO,AO,AL,1,0),color225588;   
  16. STICKLINE(AC>=AO,AO,AL,0,0),color66ccff;   
  17.   
  18. STICKLINE(AC>AO,AC,AO,8,0),COLOR225588;   
  19. STICKLINE(AC>AO,AC,AO,7,0),COLOR226699;    
  20. STICKLINE(AC>AO,AC,AO,6,0),COLOR3377aa;   
  21. STICKLINE(AC>AO,AC,AO,5,0),COLOR3388bb;   
  22. STICKLINE(AC>AO,AC,AO,4,0),COLOR4499cc;   
  23. STICKLINE(AC>AO,AC,AO,3,0),COLOR44aadd;   
  24. STICKLINE(AC>AO,AC,AO,2,0),COLOR55bbee;   
  25. STICKLINE(AC>AO,AC,AO,1,0),COLOR66ccff;   
  26.   
  27. STICKLINE(AC<=AO,AH,AC,1,0),color888800;   
  28. STICKLINE(AC<=AO,AH,AC,0,0),colorffff00;   
  29. STICKLINE(AC<=AO,AO,AL,1,0),color888800;   
  30. STICKLINE(AC<=AO,AO,AL,0,0),colorffff00;   
  31.   
  32. STICKLINE(AC<=AO,AC,AO,8,0),COLOR888800;   
  33. STICKLINE(AC<=AO,AC,AO,7,0),COLOR999900;    
  34. STICKLINE(AC<=AO,AC,AO,6,0),COLORaaaa00;   
  35. STICKLINE(AC<=AO,AC,AO,5,0),COLORbbbb00;   
  36. STICKLINE(AC<=AO,AC,AO,4,0),COLORcccc00;   
  37. STICKLINE(AC<=AO,AC,AO,3,0),COLORdddd00;   
  38. STICKLINE(AC<=AO,AC,AO,2,0),COLOReeee00;   
  39. STICKLINE(AC<=AO,AC,AO,1,0),COLORffff00;   


上一篇:J线共振 (源码)    下一篇:飞狐 波段合成

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