当前位置:→ 公式网 > 大智慧公式 > 正文 ℃ 公式解密、改选股等业务 联系点击查看详情...
以下是八仙过海 同显神威(无源码的请下载附件导入)
根据六指金叉原理和理想网友的求助帖,猎狼老头我深度开发出《八仙过海》又名八指金叉。
新增了高贵的DDX的动力线金叉,
大智慧传统行情可用。
第66行只包含 流通盘函数:capital(99%的人认为不是未来函数)
可以说是无未来函数
原理:
1.当某指标出现金叉、拐点画买入红箭头,当某指标出现死叉、拐点画一绿箭头;
2.一排为一个指标公式,共八个买卖指标;
3.少数服从多数原理,当个八指标都提示买,还能错么?还不守仓么?
4.全绿箭头,空仓,出现四红箭头积极买入,全红箭头守仓,出现四个绿箭头时间,逢高卖出;
5.用日K线看长线,用十五分钟线做短线;
如果认为某一指标对应你的股票较准确提前,单独关注这指标也佳。
大智慧新一代:
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- N1:=3;N2:=5;N3:=8;N4:=13;
- DIFF:=EMA(CLOSE,N3)-EMA(CLOSE,N4);
- DEA:=EMA(DIFF,N2);
- DRAWICON(DIFF>DEA,1,7);
- DRAWICON(DIFF<DEA,1,8);
- DRAWTEXTREL(950,890,'.MACD'),COLORFFFFFF;
- A1:=DIFF>DEA;
- RSV1:=(CLOSE-LLV(LOW,N3))/(HHV(HIGH,N3)-LLV(LOW,N3))*100;
- K:=SMA(RSV1,N1,1);
- D:=SMA(K,N1,1);
- DRAWICON(K>D,2,7);
- DRAWICON(K<D,2,8);
- DRAWTEXTREL(950,750,'.KDJ'),COLORFFFFFF;
- A2:=K>D;
- LC:=REF(CLOSE,1);
- RSI1:=(SMA(MAX(CLOSE-LC,0),N2,1))/(SMA(ABS(CLOSE-LC),N2,1))*100;
- RSI2:=(SMA(MAX(CLOSE-LC,0),N4,1))/(SMA(ABS(CLOSE-LC),N4,1))*100;
- DRAWICON(RSI1>RSI2,3,7);
- DRAWICON(RSI1<RSI2,3,8);
- DRAWTEXTREL(950,625,'.RSI'),COLORFFFFFF;
- A3:=RSI1>RSI2;
- RSV:=-(HHV(HIGH,N4)-CLOSE)/(HHV(HIGH,N4)-LLV(LOW,N4))*100;
- LWR1:=SMA(RSV,N1,1);
- LWR2:=SMA(LWR1,N1,1);
- DRAWICON(LWR1>LWR2,4,7);
- DRAWICON(LWR1<LWR2,4,8);
- DRAWTEXTREL(950,500,'.LW&R'),COLORFFFFFF;
- A4:=LWR1>LWR2;
- BBI:=(MA(CLOSE,3{N1})+MA(CLOSE,6{N2})+MA(CLOSE,12{N3})+MA(CLOSE,24{N4}))/4;
- DRAWICON(CLOSE>BBI,5,7);
- DRAWICON(CLOSE<BBI,5,8);
- DRAWTEXTREL(950,375,'.BBI'),COLORFFFFFF;
- A5:=CLOSE>BBI;
- MTM:=CLOSE-REF(CLOSE,1);
- MMS:=100*EMA(EMA(MTM,N2),N1)/EMA(EMA(ABS(MTM),N2),N1);
- MMM:=100*EMA(EMA(MTM,N4),N3)/EMA(EMA(ABS(MTM),N4),N3);
- DRAWICON(MMS>MMM,6,7);
- DRAWICON(MMS<MMM,6,8);
- DRAWTEXTREL(950,250,'.ZLMM'),COLORFFFFFF;
- A6:=MMS>MMM;
- WJ:=(H+L+C)/3;
- V1:=IF(H=L,1,H-MAX(O,C));
- V2:=IF(H=L,1,MAX(C,O)-WJ);
- V3:=IF(H=L,1,MIN(O,C)-L);
- V4:=IF(H=L,1,WJ-MIN(C,O));
- V5:=VOL/IF(H=L,4,H-L);
- V6:=(V1*V5);
- V7:=(V2*V5);
- V8:=(V3*V5);
- V9:=(V4*V5);
- 买盘:=(V9+V8);
- 卖盘:=(V6+V7);
- 买卖差:=买盘-卖盘;
- DDX:=买卖差;
- DX:=MA(买卖差,5)*20;
- DDX1:=SMA(DX,3,1);
- DDX2:=SMA(DDX1,3,1);
- DDX3:=(5*DDX2+4*REF(DDX2,1)+3*REF(DDX2,2)+2*REF(DDX2,3)+REF(DDX2,4))/15;
- DRAWICON(DDX1>DDX2,7,7);
- DRAWICON(DDX1<DDX2,7,8);
- DRAWTEXTREL(950,125,'.ddx'),COLORFFFFFF;
- A7:=DDX1>DDX2;
- 量:=v;
- 换手:=V/CAPITAL*100;
- VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
- 买盘1:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
- 卖盘1:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2));
- DLX:=(买盘1-(-卖盘1))/量*换手;
- DLX1:=SUM(DLX,6);
- DLX2:=ma(DLX1,5);
- DRAWICON(DLX1>DLX2,8,7);
- DRAWICON(DLX1<DLX2,8,8);
- DRAWTEXTREL(950,0,'.动力线'),COLORFFFFFF;
- A8:=DLX1>DLX2;猎狼指导线:(A1+A2+A3+A4+A5+A6+A7+A8),linethick2,COLOR00FF00;
- (A1 AND A2 AND A3 AND A4 AND A5 AND A6 AND A7 AND A8),COLORFFFF00;
- 买入:A1 AND A2 AND A3 AND A4 AND A5 AND A6 AND A7 AND A8=1
- AND REF(A1 AND A2 AND A3 AND A4 AND A5 AND A6 AND A7 AND A8,1)=0,COLORFFFF00;