大智慧指标源码二
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
大智慧经典指标源码(二)
21、涨停跳空
N:=3;
filter(COUNT((ref(c,n)/REF(C,(n+1))>=1.099),n)>=1,n);
上跳空:L>REF(H,1),stick,color0000ff,linethick2;;
下跳空:H 上跳空涨停:O/REF(C,1)>1.01 AND C/REF(C,1)>1.098,stick,COLORFF00FF,linethick2; 22、月线指标 N:=9; M1:=3; M2:=3; t:=ma(c,12); a2:=c>t; b:=t>REF(t,1) AND REF(t,1) 拐点12月线:if(a2 and b,5,0),STICK,COLORYELLOW,LINETHICK3; 趋势12月向上:(MA(C,12)>REF(MA(C,12),1))*3, CIRCLEDOT,COLORYELLOW; 趋势24月向上:(MA(C,24)>REF(MA(C,24),1))*2, CIRCLEDOT,color0000ff; V1:=VOL/SUM(VOL,13); V2:=DMA(C,V1); RSI6:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100; 定海神针:IF(CROSS(20,RSI6),5,0),stick,COLORFFFFFF,linethick4; 金叉KDJ:IF(cross("kdj.k"(9,3,3),"kdj.d"(9,3,3)) and "kdj.k"(9,3,3)<20,3,0),COLOR00FF00; DRAWTEXT(cross("kdj.k"(9,3,3),"kdj.d"(9,3,3)) and "kdj.k"(9,3,3)<20,3,''),COLORyellow; DRAWTEXT(cross("kdj.k"(9,3,3),"kdj.d"(9,3,3)) and "kdj.k"(9,3,3)<20,3,'叉'),COLORyellow; 金10叉20: cross (ma(c,10),ma(c,20))*5,STICK,COLORFFFF00,LINETHICK4; 23、熊市末端 close<=5 AND LLV(LOW,250)<=LLV(LOW,2) AND HHV(CLOSE,250)*0.35>LLV(LOW,1); k1:=ref(close,2)/ref(open,2)<0.95 and ref(c,2) k2:=ref(open,1)ref(close,2) and ref(close,1)>(ref(close,2)+ref(open,2))/2; k3:=close>ref(close,1); k4:=llv(low,13)=ref(low,1); 曙光初现:backset(k1 and k2 and k3 and k4,3); Var1:=CLOSE/EMA(CLOSE,51)*100<76; Var2:=CLOSE/EMA(CLOSE,60)*100<74; Var3:=HIGH>LOW*1.092; Var4:=Var3 AND COUNT(V ar3,5)>1; 超跌起爆:if(Var4 AND (Var1 OR Var2),1,0) ,STICK,COLORRED,LINETHICK6; 牛大底:"1A0001$CLOSE"/REF("1A0001$CLOSE",23)<0.78 AND C/REF(C,30)<0.858 and ref(c,1)/l<1.5 and ref(c,1)<>ref(o,1) and ref(c,2)<>ref(o,2) and ref(c,3)<>ref(o,3),stick,color00ff00,linethick2; 24、抄底王 var2:=MA(CLOSE, 5); var3:=MA(CLOSE, 10); var4:=MA(CLOSE, 20); var5:=MA(CLOSE, 30); var6:=(var2+var3+var4+var5)/4; var7:=(var6-REF(var6,15))/REF(var6,15)*100; var9:=EMA(var7,8); 反转:STICKLINE(var9>1*REF(var9, 1), var7, 0, 5, 0), COLOREE00EE; 持股:STICKLINE(var7>1*REF(var7, 1), var7, var9, 5, 0), COLORRED; 持币:STICKLINE(var7<1*REF(var7, 1), var7, var9, 5, 1), COLORGREEN; 洗盘:STICKLINE(var7<1*REF(var7, 1) AND var9>1*REF(var9, 1), var7, var9, 10, 0), COLOR00EEFF; var10:=(CLOSE-MA(CLOSE, 58))/MA(CLOSE, 58)*100; var11:=(var10>1*REF(var10, 1) AND var10<(-26) AND var10>(-40))*1.5; var12:=VOL/CAPITAL*100; var13:=LLVBARS(LOW, 50); var14:=SUM(VOL, var13); var15:=HHVBARS(HIGH, 50); var16:=SUM(VOL, var15); var17:=(CLOSE-REF(OPEN, var15))/REF(OPEN, var15)*100; var18:=var16/CAPITAL*100; var19:=(CLOSE-REF(OPEN, var13))/REF(OPEN, var13)*100; var20:=var14/CAPITAL*100; var21:=MA(CLOSE, 3); var22:=REF(CLOSE, 2)*0.865; var23:=REF(CLOSE, 13)*0.772; var24:=MIN(var22, var23); var25:=MA(CLOSE, 13); 抄底王:IF((CLOSE-var24)/CLOSE<0.030 AND var17<(-35) AND SUM(var12, 5)/5<1.800, 1, 0)*10, COLORWHITE;