最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信三金叉的选股公式源码分享

    正文概述    2024-05-04 04:15:43  
    AA:=MA(CLOSE,5);AB:=MA(CLOSE,10);MA1:=MA(,5);MB:=MA(VOL,10); DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);A1:=DEA;F1:=DIFF; K1:="KDJ.K";J1:="KDJ.J";金叉1:=CROSS(AA,AB);金叉2:=CROSS(MA1,MB); 金叉3:=CROSS(F1,A1);金叉4:=CROSS(J1,K1);选1:=金叉1AND金叉2AND金叉3AND金叉4; 选2:=金叉1AND金叉2AND金叉3;选3:=金叉2AND金叉3AND金叉4;MACD:=2*(DIFF-DEA); 选4:=金叉1AND金叉2AND金叉4;选5:=金叉1AND金叉3AND金叉4; 选6:=REF(MACD,1) REF(MACD,2)ANDMACD =0ANDMACD REF(MACD,1); 金叉王:选6AND(选1OR选2OR选3OR选4OR选5); N:=20; N1:=7; N2:=69; M3:=Ema(CLOSE,3); M8:EMA(CLOSE,8),CoLor008000; M13:EMA(M8,13),CoLor0000FF; M62:EMA(M8,55),CoLorF0F000; VAR1:=EMA(M13,62); M81:EMA(M62,81),CoLor00FFFF; M144:EMA(VAR1,144),Linethick2,CoLor0000FF; M250:EMA(VAR1,250),POINTDOT,Linethick2,CoLorF00FF0; VAR2:=(CLOSE+HIGH+LOW)/(3); VAR3:=(EMA(VAR2,10)); VAR4:=(REF(VAR3,1)); stICKLINE((VAR3 VAR4),VAR3,VAR4,4,0),CoLor00FFFF; STICKLINE((VAR3 VAR4),VAR3,VAR4,4,0),CoLorFF0000; VAR5:=((REF(HIGH,1)+REF(LOW,1))/(2)); VAR6:=MA(CLOSE,N)+((2)*(STD(CLOSE,N))); DRAWTEXT(crOSS(VAR3,VAR4),(VAR3)*(0.98),'★'),CoLor00FFFF; DRAWTEXT(CROSS(VAR5,VAR6),(HIGH)*(1.04),'↓卖'),CoLor008000; VAR7:=REF(CLOSE,1); VAR8:=((SMA(MAX(CLOSE-VAR7,0),N1,1))/(SMA(Abs(CLOSE-VAR7),N1,1)))*(100); VAR9:=CROSS(N2,VAR8); VARA:=(FILTER(VAR9,4)); DRAWTEXT(VARA,(HIGH)*(1.04),'↓卖'),CoLorFFFFFF; VARB:=((2)*(CLOSE)+HIGH+LOW)/(4); VARC:=LLV(LOW,34); VARD:=HHV(HIGH,34); VARE:=(EMA(((VARB-VAR1)/(VAR5-VAR1))*(100),7)); VARF:=(EMA((0.667)*(REF(VARE,1))+(0.333)*(VARE),5)); DRAWTEXT(IF(((COUNT((CLOSE REF(CLOSE,1)),8))/(8) 0.6)AND(vol =(1.5)*(MA(VOL,5)))ANDCOUNT((VARE =VARF),3)AND(REF(LOW,1)=LLV(LOW,120)),1,0),LOW,'●买进'),CoLorFF00FF; DRAWTEXT(IF(((COUNT((CLOSE REF(CLOSE,1)),13))/(13) 0.6)ANDCOUNT((VARE VARF),6)AND(REF(LOW,5)=LLV(LOW,120))ANDREF((CLOSE =OPEN),4)ANDREF((CLOSE OPEN),3)ANDREF((CLOSE OPEN),2)ANDREF((OPEN CLOSE),1)AND(OPEN REF(CLOSE,1)),1,0),LOW,'●买进'),CoLor00FFFF; VAR10:=(MA(CLOSE,80)-(MA(CLOSE,10))/(3)); DRAWTEXT(IF((CLOSE VAR10)AND((VOL)/(240) (MA(VOL,5))/(240))AND(CLOSE (REF(CLOSE,1))*(1.08))AND(CLOSE (MA(CLOSE,13))*(1.3)),1,0),LOW,'●'),CoLor0000FF;

    公式解读:


    [源码注释]通达信公式动态公式解读

    公式解读:

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信三金叉的选股公式源码分享 加入收藏