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

以下是兔子寻宝-(主图源码)(无源码的请下载附件导入)

 

C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
  1. {通达信主图公式:(兔子寻宝)}   
  2. 兔子:(46.18*EMA(CLOSE,10)-31.82*EMA(CLOSE,4))/14.36,COLORGREEN,LINETHICK1;   
  3. K1:=BACKSET(兔子>REF(兔子,1),2);   
  4. IF(K1,兔子,DRAWNULL),COLORLIMAGENTA,LINETHICK1;   
  5. J:=SUM(VOL*CLOSE,5)/SUM(VOL,5);   
  6. 寻宝:EMA(J,2),COLORCYAN,LINETHICK1;   
  7. K2:=BACKSET(寻宝>REF(寻宝,1),2);   
  8. IF(K2,寻宝,DRAWNULL),COLORRED,LINETHICK1;   
  9. DRAWICON((CROSS(寻宝,兔子)),兔子,10);   
  10. DRAWTEXT((CROSS(寻宝,兔子)),兔子,' ←兔兔介入,'),COLOR00FF00;   
  11. 买线:=EMA(CLOSE,2);    
  12. 卖线:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);      
  13. BU:=CROSS(买线,卖线);    
  14. SEL:=CROSS(卖线,买线);    
  15. STICKLINE(CROSS(买线,卖线) OR CROSS(卖线,买线),OPEN,CLOSE,3,0),COLOR00FFFF;   
  16.   
  17. 平衡:=SMA(EMA(SMA((CLOSE+LOW)/2,3,1),3),5,1);   
  18. 限制:=EMA((((HIGH+CLOSE)/2+LOW+(CLOSE+LOW)/2)/3-EMA(LLV(((HIGH+CLOSE)/2+LOW+(CLOSE+LOW)/2)/3,89),2))/(EMA(HHV (((HIGH+CLOSE)/2+LOW+(CLOSE+LOW)/2)/3,21),2)-EMA(LLV(((HIGH+CLOSE)/2+LOW+(CLOSE+LOW)/2)/3,89),2)),8)*100;    
  19. DRAWICON(FILTER(平衡>REF(平衡,1)AND HHV(MA((HIGH+CLOSE)/2,13),10)<REF(HHV(MA((HIGH+CLOSE)/2,13),10),1)AND((CLOSE+LOW)/2)>REF((CLOSE+LOW)/2,1),5)AND 限制<88,LOW*0.98,5);   
  20. DRAWTEXT(FILTER(平衡>REF(平衡,1)AND HHV(MA((HIGH+CLOSE)/2,13),10)<REF(HHV(MA((HIGH+CLOSE)/2,13),10),1)AND((CLOSE+LOW)/2)>REF((CLOSE+LOW)/2,1),5)AND 限制<88,LOW*0.95,'←兔子追涨'),,COLORFFFF33;   
  21. 一剑封喉:=((CROSS(CLOSE,MA(CLOSE,13)) AND CROSS(CLOSE,MA(CLOSE,34))) AND CROSS(CLOSE,MA(CLOSE,55)));   
  22. A1:=(((CLOSE - LLV(LOW,22)) / (HHV(HIGH,22) - LLV(LOW,22))) * 100);   
  23. A2:=(((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100);   
  24. A:=((3 * SMA(A1,5,1)) - (2 * SMA(SMA(A2,5,1),3,1)));   
  25. YNGS:=(一剑封喉 AND (A < 30)),LINETHICK0;   
  26. DRAWICON((一剑封喉 AND (A < 30)),(LOW * 0.99),1);   
  27. DRAWTEXT((一剑封喉 AND (A < 30)),(LOW * 0.99),' ←兔子封喉'),COLORYELLOW;   
  28. LC:=REF(CLOSE,1);   
  29. RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;   
  30. DRAWTEXT(EMA(EMA(CLOSE,13),50)>EMA(EMA(CLOSE,13),50*3) AND CROSS(84,RSI), HIGH*1.02,'←风险'),COLOR00FF33;   
  31. DRAWTEXT(EMA(EMA(CLOSE,13),50)<EMA(EMA(CLOSE,13),50*3) AND CROSS(80,RSI), HIGH*1.02,'←风险'),COLOR00FF33;   
  32. AAA:=(MA(CLOSE,13)+MA(CLOSE,17))/2;   
  33. CCC:=(STD(CLOSE,13)+STD(CLOSE,17))/2;   
  34. BBB:=AAA+2.1*CCC;   
  35. DDD:=AAA+0.72*CCC;   
  36. ZZZ:=IF(CCC>1.88,MA(DDD,3),DDD);   
  37. DRAWTEXT(CLOSE>=1.09*REF(CLOSE,1),CLOSE,'涨停啦,'),COLORYELLOW;   
  38. SFF:=HIGH/REF(HIGH,1)<1 AND REF(HIGH,1)/REF(HIGH,2)<1  AND LOW/REF(LOW,1)>1 AND REF(LOW,1)/REF(LOW,2)>1 ;   
  39. DRAWTEXT(SFF,LOW*0.90,'金兔子:提醒你关注')COLORRED;   



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