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

    正文概述    2024-05-04 04:16:34  
    TDXAB_L1:=L; TDXAB_H1:=H; TDXAB_C1:=C; TDXAB_O1:=O; TDXAB_V1:=V; TDXAB_S0:=0; TDXAB_S1:=1; TDXAB_S2:=2; TDXAB_S3:=3; TDXAB_S4:=4; TDXAB_S5:=5; TDXAB_S6:=6; TDXAB_S7:=7; TDXAB_S8:=8; TDXAB_S9:=9; TDXAB_S10:=10; TDXAB_S12:=12; TDXAB_S20:=20; TDXAB_S26:=26; TDXAB_S27:=27; TDXAB_S30:=30; TDXAB_S60:=60; TDXAB_S35:=35; TDXAB_S100:=100; TDXAB_S135:=135; TDXAB_S109:=1.09; TDXAB_S1095:=1.095; TDXBB_V5:=MA(TDXAB_V1,TDXAB_S5); TDXBB_V10:=MA(TDXAB_V1,TDXAB_S10); TDXBB_V35:=MA(TDXAB_V1,TDXAB_S35); TDXBB_V135:=MA(TDXAB_V1,TDXAB_S135); TDXBB_M3:=MA(TDXAB_C1,TDXAB_S3); TDXBB_M5:=MA(TDXAB_C1,TDXAB_S5); TDXBB_M10:=MA(TDXAB_C1,TDXAB_S10); TDXBB_M20:=MA(TDXAB_C1,TDXAB_S20); TDXBB_M30:=MA(TDXAB_C1,TDXAB_S30); TDXBB_M60:=MA(TDXAB_C1,TDXAB_S60); TDXA_01:=LLV(TDXAB_L1,TDXAB_S9); TDXA_02:=HHV(TDXAB_H1,TDXAB_S9); TDXA_03:=TDXAB_C1-TDXA_01; TDXA_04:=TDXA_02-TDXA_01; TDXA_05:=TDXA_03/TDXA_04; TDXCC_VV:=TDXA_05*TDXAB_S100; TDXCC_KK:=SMA(TDXCC_VV,TDXAB_S3,TDXAB_S1); TDXCC_DD:=SMA(TDXCC_KK,TDXAB_S3,TDXAB_S1); TDXCC_JJ:=TDXAB_S3*TDXCC_KK-TDXAB_S2*TDXCC_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股回头2:FILTER(YY,5),LINETHICK2,COLORYELLOW; DRAWTEXT(妖股回头2 0,0.3,'★妖股回头2'),LINETHICK1,COLORYELLOW; V00:=HIGH REF(HIGH,1)ANDLOW REF(LOW,1); V01:=HIGH REF(HIGH,1)ANDLOW REF(LOW,1); V02:=HIGH REF(HIGH,1)ANDLOW REF(LOW,1); V03:=HIGH REF(HIGH,1)ANDLOW REF(LOW,1); V04:=REF(HIGH,2) HIGHANDREF(LOW,2) LOWANDREF(HIGH,2) REF(HIGH,1)ANDREF(LOW,2) REF(LOW,1); V1:=COUNT(V00,3) =1ANDLLVBARS(LOW,3)=1ANDV03; V2:=COUNT(V00,4) =1ANDLLVBARS(LOW,4)=2ANDV04; V3:=COUNT(V00,4) =1ANDCOUNT(V01ORV02,4)=1ANDLLVBARS(LOW,4)=1ANDV03; V4:=COUNT(V00,5) =1ANDCOUNT(V01ORV02,5)=2ANDLLVBARS(LOW,5)=2ANDV04; XG:V1ORV2ORV3ORV4;

    公式解读:

    [源码注释]妖股选股指标公式公式解读



    TDXAB_L1赋值:最低价 TDXAB_H1赋值:最高价 TDXAB_C1赋值:收盘价 TDXAB_O1赋值:开盘价 TDXAB_V1赋值:(手) TDXAB_S0赋值:0 TDXAB_S1赋值:1 TDXAB_S2赋值:2 TDXAB_S3赋值:3 TDXAB_S4赋值:4 TDXAB_S5赋值:5 TDXAB_S6赋值:6 TDXAB_S7赋值:7 TDXAB_S8赋值:8 TDXAB_S9赋值:9 TDXAB_S10赋值:10 TDXAB_S12赋值:12 TDXAB_S20赋值:20 TDXAB_S26赋值:26 TDXAB_S27赋值:27 TDXAB_S30赋值:30 TDXAB_S60赋值:60 TDXAB_S35赋值:35 TDXAB_S100赋值:100 TDXAB_S135赋值:135 TDXAB_S109赋值:1.09 TDXAB_S1095赋值:1.095 TDXBB_V5赋值:TDXAB_V1的TDXAB_S5日简单移动平均 TDXBB_V10赋值:TDXAB_V1的TDXAB_S10日简单移动平均 TDXBB_V35赋值:TDXAB_V1的TDXAB_S35日简单移动平均 TDXBB_V135赋值:TDXAB_V1的TDXAB_S135日简单移动平均 TDXBB_M3赋值:TDXAB_C1的TDXAB_S3日简单移动平均 TDXBB_M5赋值:TDXAB_C1的TDXAB_S5日简单移动平均 TDXBB_M10赋值:TDXAB_C1的TDXAB_S10日简单移动平均 TDXBB_M20赋值:TDXAB_C1的TDXAB_S20日简单移动平均 TDXBB_M30赋值:TDXAB_C1的TDXAB_S30日简单移动平均 TDXBB_M60赋值:TDXAB_C1的TDXAB_S60日简单移动平均 TDXA_01赋值:TDXAB_S9日内TDXAB_L1的最低值 TDXA_02赋值:TDXAB_S9日内TDXAB_H1的最高值 TDXA_03赋值:TDXAB_C1-TDXA_01 TDXA_04赋值:TDXA_02-TDXA_01 TDXA_05赋值:TDXA_03/TDXA_04 TDXCC_VV赋值:TDXA_05*TDXAB_S100 TDXCC_KK赋值:TDXCC_VV的TDXAB_S3日[TDXAB_S1日权重]移动平均 TDXCC_DD赋值:TDXCC_KK的TDXAB_S3日[TDXAB_S1日权重]移动平均 TDXCC_JJ赋值:TDXAB_S3*TDXCC_KK-TDXAB_S2*TDXCC_DD TDXDD_E1赋值:TDXAB_C1的TDXAB_S12日指数移动平均 TDXDD_E2赋值:TDXAB_C1的TDXAB_S26日指数移动平均 TDXDD_FF赋值:TDXDD_E1-TDXDD_E2 TDXDD_AA赋值:TDXDD_FF的TDXAB_S9日指数移动平均 TDXDD_DD赋值:(TDXDD_FF-TDXDD_AA)*TDXAB_S2 TDXDD_AB赋值:TDXDD_FF的TDXAB_S27日指数移动平均 ZT赋值:TDXAB_C1 TDXAB_S1日前的TDXAB_C1*TDXAB_S1095ANDTDXAB_C1=TDXAB_H1 ZT2赋值:统计TDXAB_S10日中满足ZT的天数 TDXAB_S3 ZT3赋值:TDXAB_S1日前的ZT2 TDXAB_S0 A1赋值:统计?日中满足TDXCC_JJ 的天数 TDXCC_KK,TDXAB_S9) TDXAB_S8 A2赋值:TDXAB_S1日前的A1 TDXAB_S0 A3赋值:TDXCC_JJ上穿TDXCC_KK A4赋值:统计TDXAB_S30日中满足ZT3的天数 TDXAB_S0 XX赋值:A2ANDA3ANDA4 输出妖股回头:XX的20日过滤,线宽为2,COLOR8000FF 当满足条件妖股回头 时,在?位置书写文字 0,0.3,'★永恒妖股回头'),线宽为1,COLOR8000FF Z1赋值:统计?日中满足TDXCC_JJ 的天数 TDXCC_KK,TDXAB_S6)=TDXAB_S6 Z2赋值:统计?日中满足TDXCC_JJ 的天数 TDXAB_S0,TDXAB_S5) TDXAB_S0 ZZ赋值:TDXAB_C1 TDXAB_S1日前的TDXAB_C1*TDXAB_S1095ANDTDXAB_C1=TDXAB_H1 ZZ2赋值:统计TDXAB_S10日中满足ZZ的天数 TDXAB_S4 ZZ3赋值:TDXAB_S1日前的ZZ2 TDXAB_S0 B1赋值:TDXAB_S1日前的Z1 TDXAB_S0 B2赋值:TDXAB_S1日前的Z2 TDXAB_S0 B3赋值:TDXCC_JJ TDXAB_S1日前的TDXCC_JJ B4赋值:TDXCC_JJ TDXCC_KK B5赋值:TDXAB_C1 TDXAB_O1 B6赋值:统计TDXAB_S30日中满足ZZ3的天数 TDXAB_S0 B7赋值:TDXBB_M60 TDXAB_S0 YY赋值:B1ANDB2ANDB3ANDB4ANDB5ANDB6ANDB7 输出妖股回头2:YY的5日过滤,线宽为2,画黄色 当满足条件妖股回头2 时,在?位置书写文字 0,0.3,'★妖股回头2'),线宽为1,画黄色 V00赋值:最高价 1日前的最高价ANDLOW 1日前的最低价 V01赋值:最高价 1日前的最高价ANDLOW 1日前的最低价 V02赋值:最高价 1日前的最高价ANDLOW 1日前的最低价 V03赋值:最高价 1日前的最高价ANDLOW 1日前的最低价 V04赋值:2日前的最高价 HIGHANDREF(最低价,2) LOWANDREF(最高价,2) 1日前的最高价ANDREF(最低价,2) 1日前的最低价 V1赋值:统计3日中满足V00的天数 =1ANDLLVBARS(最低价,3)=1ANDV03 V2赋值:统计4日中满足V00的天数 =1ANDLLVBARS(最低价,4)=2ANDV04 V3赋值:统计4日中满足V00的天数 =1ANDCOUNT(V01ORV02,4)=1ANDLLVBARS(最低价,4)=1ANDV03 V4赋值:统计5日中满足V00的天数 =1ANDCOUNT(V01ORV02,5)=2ANDLLVBARS(最低价,5)=2ANDV04 输出XG:V1ORV2ORV3ORV4



    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 妖股选股指标公式 加入收藏