- UID
- 2
- 积分
- 2869185
- 威望
- 1384620 布
- 龙e币
- 1484565 刀
- 在线时间
- 13082 小时
- 注册时间
- 2009-12-3
- 最后登录
- 2024-11-14
|
[大智慧指标] 大智慧卖出主图+买入信号副图指标源码 及用法说明[大智慧公式]
使用用法:
当日K线上出现黄色小点的时候,可以大胆全仓买入,如果接着出现卖出信号后,如果底部还有黄色的小点在,这是主力在洗盘,可以减少一点仓位。直到日K线是出现蓝色的小蓝点后必须清仓,成功率相当高!
二个,如果下面的就可以了,成功率近100%。 {本文来至程序化交易网 cxh99.com}
卖出主图指标源码:
- JJ:=(CLOSE+HIGH+LOW)/3;
- A:=EMA(JJ,10);
- B:=ref(A,1);
- STICKLINE(A>B,A,B,5,0),COLORYELLOW;
- CXH:=STRTONUM(STRRIGHT(DATESTR(CURRENTDATE),1));
- WARNING('',CURRENTTIME>180000 and (CXH=3 OR CXH=8));
- STICKLINE(A<B,A,B,5,0),COLORBLUE;
- M1:EMA(CLOSE,3);
- M2:EMA(CLOSE,8);
- M3:EMA(M2,13);
- M4:EMA(M2,55);
- VAR1:=EMA(M3,55);
- M5:EMA(M4,81), COLORRED,LINETHICK2;
- VAR2:=(ref(HIGH,1)+ref(LOW,1))/2;
- VAR3:=MA(CLOSE,21)+2*STD(CLOSE,21);
- DRAWICON(CROSS(VAR2,VAR3),HIGH*1.035,2);
- DRAWTEXT(CROSS(VAR2,VAR3),HIGH*1.02,'卖出'), COLORGREEN;
- VAR4:=ref(CLOSE,1);
- VAR5:=SMA(MAX(CLOSE-VAR4,0),7,1)/SMA(ABS(CLOSE-VAR4),7,1)*100;
- VAR6:=CROSS(79,VAR5);
- VAR7:=FILTER(VAR6,4);
- DRAWICON(VAR7,HIGH*1.035,2);
- DRAWTEXT(VAR7,HIGH*1.02,'卖出'), COLORGREEN;
- A7:=(2*C+H+L)/4;
- VAR10:=LLV(LOW,34);
- VAR11:=HHV(HIGH,34);
- SK:=EMA((A7-VAR1)/(VAR2-VAR1)*100,7);
- SD:=EMA(0.667*ref(SK,1)+0.333*SK,5);
- DRAWTEXT(IF(COUNT(CLOSE<ref(CLOSE,1),8)/8>6/10 AND VOL>=1.5*MA(VOL,5) AND
- COUNT(SK>=SD,3) AND ref(LOW,1)=LLV(LOW,120),1,0),LOW,'●买进') ,COLORRED;
- DRAWTEXT(IF(COUNT(CLOSE<ref(CLOSE,1),13)/13>6/10 AND
- COUNT(SK>SD,6) AND ref(LOW,5)=LLV(LOW,120) AND ref(CLOSE>=OPEN,4) AND
- ref(CLOSE>OPEN,3) AND ref(CLOSE>OPEN,2) AND ref(OPEN>CLOSE,1) AND
- OPEN>ref(CLOSE,1),1,0),LOW,'●买进'), COLORRED;
- D:=MA(CLOSE,80)-MA(CLOSE,10)/3;
- DRAWTEXT(IF(CLOSE<D AND VOL/240>MA(VOL,5)/240 AND CLOSE>ref(CLOSE,1)*1.08
- AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW,'●抄底'),COLORRED;
复制代码
买入信号副图源码:
- N:=5;
- VAR1:4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
- 3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK0;
- VAR2:8,COLORGREEN,LINETHICK0;
- 上升在即: IF(CROSS(VAR1,VAR2),80,0),STICK,COLOR0000CC,LINETHICK2;
- 专吸庄血: IF(VAR1<=8,25,0),STICK,COLORWHITE,LINETHICK2;
- DRAWTEXT(CROSS(VAR1,VAR2),80,'准备买入'),COLOR00FFFF;
- VARO5:=LLV(LOW,27);
- VARO6:=HHV(HIGH,34);
- VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;
- 建仓区: IF((VARO7<10),80,100) ,COLOR00CCFF,LINETHICK1;
- 0,LINETHICK2 ,COLORFFCC00;
复制代码
|
论坛官方微信、群(期货热点、量化探讨、开户与绑定实盘)
|