- UID
- 2
- 积分
- 2874664
- 威望
- 1387361 布
- 龙e币
- 1487303 刀
- 在线时间
- 13156 小时
- 注册时间
- 2009-12-3
- 最后登录
- 2024-11-24
|
大智慧黑马黄牛指标公式源码[大智慧公式]
- {黑马黄牛-看看月线就知道很经典}
- MA1:=(C+O+H+L)/4;
- MA8:=MA(MA1,8);
- ZQSJ:=BARSLAST(CROSS(MA1,MA8))+1;
- ZRSJ:=BARSLAST(CROSS(MA8,MA1))+1;
- 短线:IF(ZQSJ<=ZRSJ,ref(ZRSJ,1),0),COLOR0000FF,LINETHICK2;
- 黑马:IF(ZQSJ<=ZRSJ,0-ref(ZRSJ,1),0),COLOR0000FF,LINETHICK2;
- XXSJ:=BARSLAST(CROSS(0.8,短线))+1;
- 休息:IF(短线=0,XXSJ,0),COLOR00FF00,POINTDOT,LINETHICK1;
- RSV:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
- K:=SMA(RSV,5,1);
- D:=SMA(K,5,1);
- J:=3*K-2*D;
- 中线:IF(J>K,J,0),COLOR00FFFF,LINETHICK2;
- 黄牛:IF(J>K,0-J,0),COLOR00FFFF,LINETHICK2;
- 强势:IF(J>K AND J>=50,50,IF(J>K,J,0)),COLORFF00FF,POINTDOT,LINETHICK0;
- DXDD:=L=LLV(L,3) OR C=LLV(C,3);
- 回头:IF(DXDD AND COUNT(短线>0 AND 中线>=30,3)>=1,-30,0),COLORFFFFFF,LINETHICK2;
- LC := ref(CLOSE,1);
- RSI:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*200-100;
- RSI6:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*200-100;
- MA2:=MA(RSI,2);
- 太阳:IF(MA2>90 AND RSI6>50,1,0),COLOR0000FF,POINTDOT,LINETHICK0;
复制代码 |
论坛官方微信、群(期货热点、量化探讨、开户与绑定实盘)
|