通达信精品公式副图指标--底部进与加仓原码

[复制链接]
查看2223 | 回复0 | 2022-7-24 09:10:27 | 显示全部楼层 |阅读模式

通达信精品公式副图指标--底部进与加仓原码

“底部进与加仓”无未来及选股,造福股民!!

“底部进与加仓” 

 {牛牛指标网提供:www.tdx001.com}

C/C++ Code复制内容到剪贴板
  1. MA(C,9),LINETHICK2,COLORYELLOW;   
  2. MA(C,21),LINETHICK2,COLORRED;   
  3. IF(MA(C,9)<REF(MA(C,9),1),MA(C,9),DRAWNULL),LINETHICK2,COLORBLUE;   
  4. IF(MA(C,21)<REF(MA(C,21),1),MA(C,21),DRAWNULL),LINETHICK2,COLORGREEN;   
  5. VAR1:=((((HHV((((EMA(DCLOSE,12)-EMA(DCLOSE,26))-(EMA((EMA(DCLOSE,12)-EMA(DCLOSE,26)),9)))*2),4)<0) AND ((((EMA(DCLOSE,12)-EMA(DCLOSE,26))-(EMA((EMA(DCLOSE,12)-EMA(DCLOSE,26)),9)))*2)>REF((((EMA(DCLOSE,12)-EMA(DCLOSE,26))-(EMA((EMA(DCLOSE,12)-EMA(DCLOSE,26)),9)))*2),1))) AND (REF((((EMA(DCLOSE,12)-EMA(DCLOSE,26))-(EMA((EMA(DCLOSE,12)-EMA(DCLOSE,26)),9)))*2),1)<REF((((EMA(DCLOSE,12)-EMA(DCLOSE,26))-(EMA((EMA(DCLOSE,12)-EMA(DCLOSE,26)),9)))*2),2))) AND (REF((((EMA(DCLOSE,12)-EMA(DCLOSE,26))-(EMA((EMA(DCLOSE,12)-EMA(DCLOSE,26)),9)))*2),2)<REF((((EMA(DCLOSE,12)-EMA(DCLOSE,26))-(EMA((EMA(DCLOSE,12)-EMA(DCLOSE,26)),9)))*2),3)));   
  6. DRAWICON(VAR1,L*0.98,26);   
  7. DRAWTEXT(VAR1,L*0.97,'短买'),COLORYELLOW;   
  8. DRAWICON(CROSS(MA(C,3),MA(C,9)) AND C>=REF(C,1) AND C>O,L*0.98,26)   
  9. ;   
  10. DRAWTEXT(CROSS(MA(C,3),MA(C,9)) AND C>=REF(C,1) AND C>O,L*0.97,'加仓'),   
  11. COLORMAGENTA;   
C/C++ Code复制内容到剪贴板
  1. {加仓选股}
  2. 加仓:CROSS(MA(C,3),MA(C,9)) AND C>=REF(C,1) AND C>O;
  3. {短买选股}
  4. 短买:((((HHV((((EMA(DCLOSE,12)-EMA(DCLOSE,26))-(EMA((EMA(DCLOSE,12)-
  5. EMA(DCLOSE,26)),9)))*2),4)<0) AND ((((EMA(DCLOSE,12)-EMA(DCLOSE,26))-
  6. (EMA((EMA(DCLOSE,12)-EMA(DCLOSE,26)),9)))*2)>REF((((EMA(DCLOSE,12)-
  7. EMA(DCLOSE,26))-(EMA((EMA(DCLOSE,12)-EMA(DCLOSE,26)),9)))*2),1))) AND
  8. (REF((((EMA(DCLOSE,12)-EMA(DCLOSE,26))-(EMA((EMA(DCLOSE,12)-EMA(DCLOSE,26)),
  9. 9)))*2),1)<REF((((EMA(DCLOSE,12)-EMA(DCLOSE,26))-(EMA((EMA(DCLOSE,12)-
  10. EMA(DCLOSE,26)),9)))*2),2))) AND (REF((((EMA(DCLOSE,12)-EMA(DCLOSE,26))-
  11. (EMA((EMA(DCLOSE,12)-EMA(DCLOSE,26)),9)))*2),2)<REF((((EMA(DCLOSE,12)-
  12. EMA(DCLOSE,26))-(EMA((EMA(DCLOSE,12)-EMA(DCLOSE,26)),9)))*2),3)));

942299517.jpg

942299517.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则