最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信赢一波组合选股指标公式

    正文概述    2024-05-04 04:05:52  
    aa:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4; bb:=EMA(CLOSE,12)-EMA(CLOSE,26); zz:=EMA(bb,9); MACD:=(bb-zz)*2; XG:CROSS(C,aa)ANDMACD 0ANDREF(ALL(MACD REF(MACD,1),3),1)ANDMACD REF(MACD,1); VAR1:=CLOSE REF(CLOSE,1)ANDCLOSE REF(CLOSE,2); VAR2:=REF(VAR1,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); VAR3:=REF(VAR2,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); VAR4:=REF(VAR3,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); VAR5:=REF(VAR4,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); VAR6:=REF(VAR5,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); VAR7:=REF(VAR6,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); VAR8:=REF(VAR7,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); VAR9:=REF(VAR8,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); VARA:=REF(VAR9,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); VARB:=REF(VARA,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); VARC:=REF(VARB,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); VARD:=CLOSE REF(CLOSE,1)ANDCLOSE REF(CLOSE,2); VARE:=REF(VARD,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); VARF:=REF(VARE,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); VAR10:=REF(VARF,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); VAR11:=REF(VAR10,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); VAR12:=REF(VAR11,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); VAR13:=REF(VAR12,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); VAR14:=REF(VAR13,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); VAR15:=REF(VAR14,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); VAR16:=REF(VAR15,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); VAR17:=REF(VAR16,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); VAR18:=REF(VAR17,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); VAR19:=REF(VARDORVAREORVARFORVAR10ORVAR11ORVAR12ORVAR13OR VAR14ORVAR15ORVAR16ORVAR17ORVAR18,1)ANDVAR1; TYP:=(HIGH+LOW+CLOSE)/3; CC1:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),COLORFF00FF; C1:=SMA(CC1,3,1); C2:=SMA(C1,3,1); C3:=3*C1-2*C2; CB1:=EMA(C3,5); CB2:=REF(CB1,1); LC:=REF(CLOSE,1); RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; RSI:=(RSI1-50)*5,LINETHICK2,COLORFFFFFF; R1:=SMA(RSI,3,1); D1:=SMA(R1,3,1); J1:=3*R1-2*D1; RR1:=EMA(J1,5); RR2:=REF(RR1,1); RR:=RR1 RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1); K1:=(K-50)*5,COLOR00FF00; K2:=SMA(K1,3,1); D2:=SMA(K2,3,1); J2:=3*K2-2*D2; BB1:=EMA(J2,5); BB2:=REF(BB1,1); 探底回升:RRANDNOT(REF(RR,1))AND(RR1 -100ANDBB1 -100)ANDCB1 -100ANDVAR19=1; CC2:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),COLORYELLOW;

    公式解读:

    通达信赢一波组合选股指标公式源码解读



    AA赋值:(收盘价的3日简单移动平均+收盘价的6日简单移动平均+收盘价的12日简单移动平均+收盘价的24日简单移动平均)/4 BB赋值:收盘价的12日指数移动平均-收盘价的26日指数移动平均 ZZ赋值:BB的9日指数移动平均 MACD赋值:(BB-ZZ)*2 输出XG:收盘价上穿AAANDMACD 0ANDREF(ALL(MACD 1日前的MACD,3),1)ANDMACD 1日前的MACD VAR1赋值:收盘价 1日前的收盘价ANDCLOSE 2日前的收盘价 VAR2赋值:1日前的VAR1ANDCLOSE =1日前的收盘价ANDCLOSE =2日前的收盘价 VAR3赋值:1日前的VAR2ANDCLOSE =1日前的收盘价ANDCLOSE =2日前的收盘价 VAR4赋值:1日前的VAR3ANDCLOSE =1日前的收盘价ANDCLOSE =2日前的收盘价 VAR5赋值:1日前的VAR4ANDCLOSE =1日前的收盘价ANDCLOSE =2日前的收盘价 VAR6赋值:1日前的VAR5ANDCLOSE =1日前的收盘价ANDCLOSE =2日前的收盘价 VAR7赋值:1日前的VAR6ANDCLOSE =1日前的收盘价ANDCLOSE =2日前的收盘价 VAR8赋值:1日前的VAR7ANDCLOSE =1日前的收盘价ANDCLOSE =2日前的收盘价 VAR9赋值:1日前的VAR8ANDCLOSE =1日前的收盘价ANDCLOSE =2日前的收盘价 VARA赋值:1日前的VAR9ANDCLOSE =1日前的收盘价ANDCLOSE =2日前的收盘价 VARB赋值:1日前的VARAANDCLOSE =1日前的收盘价ANDCLOSE =2日前的收盘价 VARC赋值:1日前的VARBANDCLOSE =1日前的收盘价ANDCLOSE =2日前的收盘价 VARD赋值:收盘价 1日前的收盘价ANDCLOSE 2日前的收盘价 VARE赋值:1日前的VARDANDCLOSE =1日前的收盘价ANDCLOSE =2日前的收盘价 VARF赋值:1日前的VAREANDCLOSE =1日前的收盘价ANDCLOSE =2日前的收盘价 VAR10赋值:1日前的VARFANDCLOSE =1日前的收盘价ANDCLOSE =2日前的收盘价 VAR11赋值:1日前的VAR10ANDCLOSE =1日前的收盘价ANDCLOSE =2日前的收盘价 VAR12赋值:1日前的VAR11ANDCLOSE =1日前的收盘价ANDCLOSE =2日前的收盘价 VAR13赋值:1日前的VAR12ANDCLOSE =1日前的收盘价ANDCLOSE =2日前的收盘价 VAR14赋值:1日前的VAR13ANDCLOSE =1日前的收盘价ANDCLOSE =2日前的收盘价 VAR15赋值:1日前的VAR14ANDCLOSE =1日前的收盘价ANDCLOSE =2日前的收盘价 VAR16赋值:1日前的VAR15ANDCLOSE =1日前的收盘价ANDCLOSE =2日前的收盘价 VAR17赋值:1日前的VAR16ANDCLOSE =1日前的收盘价ANDCLOSE =2日前的收盘价 VAR18赋值:1日前的VAR17ANDCLOSE =1日前的收盘价ANDCLOSE =2日前的收盘价 VAR19赋值:1日前的VARDORVAREORVARFORVAR10ORVAR11ORVAR12ORVAR13ORVAR14ORVAR15ORVAR16ORVAR17ORVAR18ANDVAR1 TYP赋值:(最高价+最低价+收盘价)/3 CC1赋值:(TYP-TYP的14日简单移动平均)/(0.015*TYP的14日平均绝对偏差),COLORFF00FF C1赋值:CC1的3日[1日权重]移动平均 C2赋值:C1的3日[1日权重]移动平均 C3赋值:3*C1-2*C2 CB1赋值:C3的5日指数移动平均 CB2赋值:1日前的CB1 LC赋值:1日前的收盘价 RSI1赋值:收盘价-LC和0的较大值的6日[1日权重]移动平均/收盘价-LC的绝对值的6日[1日权重]移动平均*100 RSI赋值:(RSI1-50)*5,线宽为2,COLORFFFFFF R1赋值:RSI的3日[1日权重]移动平均 D1赋值:R1的3日[1日权重]移动平均 J1赋值:3*R1-2*D1 RR1赋值:J1的5日指数移动平均 RR2赋值:1日前的RR1 RR赋值:RR1 RSV赋值:(收盘价-9日内最低价的最低值)/(9日内最高价的最高值-9日内最低价的最低值)*100 K赋值:RSV的3日[1日权重]移动平均 K1赋值:(K-50)*5,COLOR00FF00 K2赋值:K1的3日[1日权重]移动平均 D2赋值:K2的3日[1日权重]移动平均 J2赋值:3*K2-2*D2 BB1赋值:J2的5日指数移动平均 BB2赋值:1日前的BB1 输出探底回升:RRANDNOT(1日前的RR)AND(RR1 -100ANDBB1 -100)ANDCB1 -100ANDVAR19=1 CC2赋值:(TYP-TYP的14日简单移动平均)/(0.015*TYP的14日平均绝对偏差),画黄色



    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信赢一波组合选股指标公式 加入收藏