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

    正文概述    2024-05-04 03:28:24  
    ZZ:=(O+H+L)/3; 庄狼线:EMA(ZZ,55),COLORYELLOW; 战狼线:EMA(ZZ,7),COLORWHITE; 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; VAR1A:=REF(VAR1ORVAR2ORVAR3ORVAR4ORVAR5ORVAR6ORVAR7OR VAR8ORVAR9ORVARAORVARBORVARC,1)ANDVARD; DRAWICON(VAR19ANDC 战狼线,L*0.998,1); DRAWICON(VAR1A,H*1.002,2),NODRAW; TJ5:=REF("CCI.CCI",1) -100AND"CCI.CCI" REF("CCI.CCI",1); TJ6:=REF("KDJ.J"(9,3,3),1) 20AND"KDJ.J"(9,3,3) REF("KDJ.J"(9,3,3),1); TJ7:=REF("RSI.RSI1",1) 20AND"RSI.RSI1" REF("RSI.RSI1",1); TJ8:=COUNT(TJ5,5)ANDCOUNT(TJ6,5)ANDCOUNT(TJ7,5); 大底:=CROSS(TJ8,0.5); DRAWICON(大底,L*0.991,11); T1:EMA(SLOPE(CLOSE,34)*20+CLOSE,75),COLORYELLOW,NODRAW; T2:MA(C,120),COLORCYAN,LINETHICK2,NODRAW; T3:MA(C,250),COLORGREEN,LINETHICK2,NODRAW; 乖离线:=((C-REF(T1,1))/20+T1)*1.20; TT1:=CROSS(T1,T2)ANDCROSS(T1,T3)ANDV REF(V,1); TT2:=T1 REF(T1,2)ANDV REF(V,1)ANDCROSS(C,T1); DRAWICON((T2 =REF(T2,1)ANDCROSS(C,T1)ANDCROSS(C,T2)ANDV REF(V,1)),L*0.997,9); DRAWICON(TT2,L*0.995,11); DRAWICON(CROSS(C,乖离线)ANDL!=H,H*1.005,12); N1:=10; N2:=3; N3:=6; PJJ:=DMA((((HIGH+LOW)+(CLOSE*2))/4),0.9); JJ:=REF(EMA(PJJ,3),1); QJJ:=(VOL/(((HIGH-LOW)*2)-ABS((CLOSE-OPEN)))); XVL:=(IF((CLOSE OPEN),(QJJ*(HIGH-LOW)),IF((CLOSE OPEN),(QJJ*((HIGH-OPEN)+(CLOSE-LOW))),(VOL/2)))+IF((CLOSE OPEN),(0-(QJJ*((HIGH-CLOSE)+(OPEN-LOW)))),IF((CLOSE OPEN),(0-(QJJ*(HIGH-LOW))),(0-(VOL/2))))); ZLL:=(VOL/CAPITAL); HSL1:=IF((ZLL 10),10,ZLL); HSL:=((XVL/20)/1.15); 攻击流量:=(((HSL*0.55)+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22)); STICKLINE(((HSL*0.4) =0),((HSL/1000)*1.0),0,1,0),COLORRED,NODRAW; STICKLINE(((HSL*0.4) 0),((HSL/1000)*1.0),0,1,0),COLORBLUE,NODRAW; 力度:(HSL/1000),LINETHICK0,NODRAW; A1:=SUM(力度,N1); A2:=EMA(A1,N2); A3:=EMA(A1,N3); 累积能量:A1,NODRAW; BIAS1:(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100,NODRAW; 买:DRAWICON(CROSS(A1,A3)ANDC 战狼线,L*0.998,1),NODRAW; 卖:DRAWICON(CROSS(A3,A1)ANDBIAS1 1,H*1.002,10),NODRAW; VAR1Y:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100; VAR2Y:=(CLOSE-LLV(LOW,43))/(HHV(HIGH,43)-LLV(LOW,43))*100; VAR3Y:=SMA(VAR2Y,2,1); 卖出:100+(-ABS(VAR1Y)),NODRAW; 预防:SMA(VAR3Y,2,1),COLORRED,LINETHICK2,NODRAW; DRAWICON(CROSS(预防,卖出),H*1.02,2),NODRAW; VV:=(C+L+H)/3; DSA:=SMA(EMA(VV,2),2,1)LINETHICK2,COLORRED; Y396:=DSA; 险1:=Y396*1.1,COLORLIRED; 险2:=Y396*1.125,COLORLIRED; 险3:=Y396*1.15,COLORLIRED; 良1:=Y396*0.9,COLORLIBLUE; 良2:=Y396*0.875,COLORLIBLUE; 良3:=Y396*0.85,COLORLIBLUE; 变色:=IF(Y396 REF(Y396,1),Y396,DRAWNULL),LINETHICK2,COLORBLUE; {WSR1:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;} {WSR2:=CROSS(WSR1,5);} {WSR3:=CROSS(8,WSR1);} {WSR4:=CROSS(WSR1,-5);} {WSR5:=CROSS(WSR1,-8);} {WSR6:=WSR3;} {WSR7:=WSR4ORWSR5;} {WSR8:=WSR7ANDFILTER(WSR7,5);} {WSR10:DRAWICON(WSR8,L-0.01,1);} {WSR9:=WSR6ANDFILTER(WSR6,5);} {WSR11:DRAWICON(WSR9,H+0.01,2);} WSR1:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100; WSR2:=CROSS(WSR1,5); WSR3:=CROSS(8,WSR1); WSR4:=CROSS(WSR1,-5); WSR5:=CROSS(WSR1,-8); WSR6:=WSR3; WSR7:=WSR4ORWSR5; WSR8:=WSR7ANDFILTER(WSR7,5); WSR10: DRAWICON(WSR8,L-0.01,1),NODRAW; WSR9:=WSR6ANDFILTER(WSR6,5); WSR11:DRAWICON(WSR9,H+0.01,10),NODRAW; WSR12:=O DRAWICON(WSR12ANDFILTER(WSR12,12),L-0.03,9); W1:=C REF(C,1)AND REF(MACD,1)ANDMACD 0ANDV REF(V,1); W2:=C REF(C,1)ANDMACD 0ANDMACD REF(MACD,1)ANDV REF(V,1); XG:=W1ORW2; VAR1AA:=AMOUNT/VOL/7; VAR2AA:=(3*HIGH+LOW+OPEN+2*CLOSE)/7; VAR3AA:=SUM(AMOUNT,10)/VAR1AA/7; VAR4AA:=DMA(VAR2AA,VOL/VAR3AA); VAR5AA:=(CLOSE-VAR4AA)/VAR4AA*100,COLORLIMAGENTA; XG1:=CROSS(VAR5AA,MA(VAR5AA,2))ANDVAR5AA 0ANDC (HHV(H,5)*0.88)ANDREF(O C,1)ANDREF(O C,2); XG3:=XGANDXG1ANDL WSR13:=O 良3ANDL 良1ORXG3; DRAWICON(WSR13ANDFILTER(WSR13,10),L-0.03,5); WSR14:=H DRAWICON(WSR14ANDFILTER(WSR14,15),H+0.03,10); WSR15:=H 险3ANDH DRAWICON(WSR15ANDFILTER(WSR15,5),H+0.03,4),NODRAW; ZLCM:=EMA(WINNER(CLOSE)*70,3),NODRAW;{//估算} SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3),NODRAW;{//筹码估算} ZSHTL:=SHCM/(ZLCM+SHCM)*100,NODRAW;{//散户套牢筹码比率} ZZLKP:=ZLCM/(ZLCM+SHCM)*100,NODRAW;{//主力控盘筹码比率} ZZLJJ:=EMA(ZZLKP,89),NODRAW;{//主力警戒} ZJLRQD:=INTPART(ZZLKP-ZZLJJ),NODRAW;{//流入强度} 天界:INTPART(ZSHTL),COLORCYAN,LINETHICK2,NODRAW; 凡间:ZJLRQD,LINETHICK2,COLORRED,NODRAW; DRAWICON(CROSS(天界,凡间),H*1.02,12); RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; RSV2:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100; WEN:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*Sma(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1); J1:=SMA(RSV1,3,1);J2:=SMA(J1,3,1); W1:=SMA(RSV2,3,1);W2:=SMA(W1,3,1); 出点准备:=IF(crOSS(J2,J1)ANDJ2 85,70,100); 线:=WEN,LINETHICK2; 买点准备:=IF(趋势线 =10,30,0); G1:=W1,LINETHICK2,COLORWHITE; G2:=W2,LINETHICK2,COLORCYAN; TJ6:=MA(C,30) =REF(MA(C,30),1)ANDMA(C,5) REF(MA(C,5),1); A4:="macd.DIF" REF("MacD.DIF",2); 信号:CROSS(趋势线,G1)ANDCROSS(趋势线,G1)ANDTJ6ANDA4ANDG1 =REF(G1,1);




    [源码注释]通达信狼本性及选股指标公式公式解读


    ZZ赋值:(开盘价+最高价+最低价)/3 输出庄狼线:ZZ的55日指数移动平均,画黄色 输出战狼线:ZZ的7日指数移动平均,画白色 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 VAR1A赋值:1日前的VAR1ORVAR2ORVAR3ORVAR4ORVAR5ORVAR6ORVAR7ORVAR8ORVAR9ORVARAORVARBORVARCANDVARD 当满足条件VAR19ANDC 时,在?位置画?号图标 战狼线,最低价*0.998,1) 当满足条件VAR1A时,在最高价*1.002位置画2号图标,NODRAW TJ5赋值:1日前的"CCI的CCI" -100AND"CCI的CCI" 1日前的"CCI的CCI" TJ6赋值:1日前的"KDJ的J"(9,3,3) 20AND"KDJ的J"(9,3,3) 1日前的"KDJ的J"(9,3,3) TJ7赋值:1日前的"RSI的RSI1" 20AND"RSI的RSI1" 1日前的"RSI的RSI1" TJ8赋值:统计5日中满足TJ5的天数ANDCOUNT(TJ6,5)ANDCOUNT(TJ7,5) 大底赋值:TJ8上穿0.5 当满足条件大底时,在最低价*0.991位置画11号图标 输出T1:收盘价的34日线性回归斜率*20+收盘价的75日指数移动平均,画黄色,NODRAW 输出T2:收盘价的120日简单移动平均,画青色,线宽为2,NODRAW 输出T3:收盘价的250日简单移动平均,画绿色,线宽为2,NODRAW 乖离线赋值:((收盘价-1日前的T1)/20+T1)*1.20 TT1赋值:T1上穿T2ANDCROSS(T1,T3)ANDV 1日前的(手) TT2赋值:T1 2日前的T1ANDV 1日前的成交量(手)ANDCROSS(收盘价,T1) 当满足条件(T2 时,在?位置画?号图标 =1日前的T2ANDCROSS(收盘价,T1)ANDCROSS(收盘价,T2)ANDV 1日前的成交量(手)),最低价*0.997,9) 当满足条件TT2时,在最低价*0.995位置画11号图标 当满足条件收盘价上穿乖离线ANDL不等于最高价时,在最高价*1.005位置画12号图标 N1赋值:10 N2赋值:3 N3赋值:6 PJJ赋值:以0.9为权重(((最高价+最低价)+(收盘价*2))/4)的动态移动平均 JJ赋值:1日前的PJJ的3日指数移动平均 QJJ赋值:(成交量(手)/(((最高价-最低价)*2)-(收盘价-开盘价)的绝对值)) XVL赋值:(如果(收盘价 ,返回?,否则返回? 开盘价),(QJJ*(最高价-最低价)),如果(收盘价 ,返回?,否则返回? 开盘价),(QJJ*((最高价-开盘价)+(收盘价-最低价))),(成交量(手)/2)))+如果(收盘价 ,返回?,否则返回? 开盘价),(0-(QJJ*((最高价-收盘价)+(开盘价-最低价)))),如果(收盘价 ,返回?,否则返回? 开盘价),(0-(QJJ*(最高价-最低价))),(0-(成交量(手)/2))))) ZLL赋值:(成交量(手)/当前流通股本(手)) HSL1赋值:如果(ZLL ,返回?,否则返回? 10),10,ZLL) HSL赋值:((XVL/20)/1.15) 攻击流量赋值:(((HSL*0.55)+(1日前的HSL*0.33))+(2日前的HSL*0.22)) 当满足条件((HSL*0.4) 时,在?和?位置之间画柱状线,宽度为?,?不为0则画空心柱. =0),((HSL/1000)*1.0),0,1,0),画红色,NODRAW 当满足条件((HSL*0.4) 时,在?和?位置之间画柱状线,宽度为?,?不为0则画空心柱. 0),((HSL/1000)*1.0),0,1,0),画蓝色,NODRAW 输出力度:(HSL/1000),线宽为0,NODRAW A1赋值:力度的N1日累和 A2赋值:A1的N2日指数移动平均 A3赋值:A1的N3日指数移动平均 输出累积能量:A1,NODRAW 输出BIAS1:(收盘价-收盘价的6日简单移动平均)/收盘价的6日简单移动平均*100,NODRAW 输出买:当满足条件A1上穿A3ANDC 时,在?位置画?号图标 战狼线,最低价*0.998,1),NODRAW 输出卖:当满足条件A3上穿A1ANDBIAS1 时,在?位置画?号图标 1,最高价*1.002,10),NODRAW VAR1Y赋值:(收盘价-收盘价的21日简单移动平均)/收盘价的21日简单移动平均*100 VAR2Y赋值:(收盘价-43日内最低价的最低值)/(43日内最高价的最高值-43日内最低价的最低值)*100 VAR3Y赋值:VAR2Y的2日[1日权重]移动平均 输出卖出:100+(-VAR1Y的绝对值),NODRAW 输出预防:VAR3Y的2日[1日权重]移动平均,画红色,线宽为2,NODRAW 当满足条件预防上穿卖出时,在最高价*1.02位置画2号图标,NODRAW VV赋值:(收盘价+最低价+最高价)/3 DSA赋值:VV的2日指数移动平均的2日[1日权重]移动平宽为2,画红色 Y396赋值:DSA 险1赋值:Y396*1.1,画淡红色 险2赋值:Y396*1.125,画淡红色 险3赋值:Y396*1.15,画淡红色 良1赋值:Y396*0.9,画淡蓝色 良2赋值:Y396*0.875,画淡蓝色 良3赋值:Y396*0.85,画淡蓝色 变色赋值:如果Y396 ,返回?,否则返回? 1日前的Y396,Y396,无效数),线宽为2,画蓝色 WSR1赋值:(收盘价-收盘价的5日简单移动平均)/收盘价的5日简单移动平均*100 WSR2赋值:WSR1上穿5 WSR3赋值:8上穿WSR1 WSR4赋值:WSR1上穿-5 WSR5赋值:WSR1上穿-8 WSR6赋值:WSR3 WSR7赋值:WSR4ORWSR5 WSR8赋值:WSR7ANDFILTER(WSR7,5) 输出WSR10:当满足条件WSR8时,在最低价-0.01位置画1号图标,NODRAW WSR9赋值:WSR6ANDFILTER(WSR6,5) 输出WSR11:当满足条件WSR9时,在最高价+0.01位置画10号图标,NODRAW WSR12赋值:开盘价 当满足条件WSR12ANDFILTER(WSR12,12)时,在最低价-0.03位置画9号图标 W1赋值:收盘价 1日前的收盘价ANDMACD 1日前的平滑异同平均线ANDMACD 0ANDV 1日前的成交量(手) W2赋值:收盘价 1日前的收盘价ANDMACD 0ANDMACD 1日前的平滑异同平均线ANDV 1日前的成交量(手) XG赋值:W1ORW2 VAR1AA赋值:成交额(元)/成交量(手)/7 VAR2AA赋值:(3*最高价+最低价+开盘价+2*收盘价)/7 VAR3AA赋值:成交额(元)的10日累和/VAR1AA/7 VAR4AA赋值:以成交量(手)/VAR3AA为权重VAR2AA的动态移动平均 VAR5AA赋值:(收盘价-VAR4AA)/VAR4AA*100,画淡洋红色 XG1赋值:VAR5AA上穿VAR5AA的2日简单移动平均ANDVAR5AA 0ANDC (5日内最高价的最高值*0.88)ANDREF(开盘价 收盘价,1)ANDREF(开盘价 收盘价,2) XG3赋值:XGANDXG1ANDL WSR13赋值:开盘价 良3ANDL 良1ORXG3 当满足条件WSR13ANDFILTER(WSR13,10)时,在最低价-0.03位置画5号图标 WSR14赋值:最高价 当满足条件WSR14ANDFILTER(WSR14,15)时,在最高价+0.03位置画10号图标 WSR15赋值:最高价 险3ANDH 当满足条件WSR15ANDFILTER(WSR15,5)时,在最高价+0.03位置画4号图标,NODRAW ZLCM赋值:以收盘价计算的获利盘比例*70的3日指数移动平均,NODRAW SHCM赋值:(以收盘价*1.1计算的获利盘比例-以收盘价*0.9计算的获利盘比例)*80的3日指数移动平均,NODRAW ZSHTL赋值:SHCM/(ZLCM+SHCM)*100,NODRAW ZZLKP赋值:ZLCM/(ZLCM+SHCM)*100,NODRAW ZZLJJ赋值:ZZLKP的89日指数移动平均,NODRAW ZJLRQD赋值:ZZLKP-ZZLJJ的整数部分,NODRAW 输出天界:ZSHTL的整数部分,画青色,线宽为2,NODRAW 输出凡间:ZJLRQD,线宽为2,画红色,NODRAW 当满足条件天界上穿凡间时,在最高价*1.02位置画12号图标 RSV1赋值:(收盘价-9日内最低价的最低值)/(9日内最高价的最高值-9日内最低价的最低值)*100 RSV2赋值:(收盘价-27日内最低价的最低值)/(27日内最高价的最高值-27日内最低价的最低值)*100 WEN赋值:3*(收盘价-27日内最低价的最低值)/(27日内最高价的最高值-27日内最低价的最低值)*100的5日[1日权重]移动平均-2*(收盘价-27日内最低价的最低值)/(27日内最高价的最高值-27日内最低价的最低值)*100的5日[1日权重]移动平均的3日[1日权重]移动平均 J1赋值:RSV1的3日[1日权重]移动平均 J2赋值:J1的3日[1日权重]移动平均 W1赋值:RSV2的3日[1日权重]移动平均 W2赋值:W1的3日[1日权重]移动平均 出点准备赋值:如果J2上穿J1ANDJ2 85,返回70,否则返回100 趋势线赋值:WEN,线宽为2 买点准备赋值:如果趋势线 =10,返回30,否则返回0 G1赋值:W1,线宽为2,画白色 G2赋值:W2,线宽为2,画青色 TJ6赋值:收盘价的30日简单移动平均 =1日前的收盘价的30日简单移动平均ANDMA(收盘价,5) 1日前的收盘价的5日简单移动平均 A4赋值:"MACD.DIF" 2日前的"MACD.DIF" 输出信号:趋势线上穿G1ANDCROSS(趋势线,G1)ANDTJ6ANDA4ANDG1 =1日前的G1




    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信狼本性及选股指标公式 加入收藏