通达信指标公式该抄底了,给大家一个抄底公式
通达信指标公式源码 抄底逃顶副图指标
LC:=REF(CLOSE,1);RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;卖点:=CROSS(85,RSI1)*30,COLOR00FF00,LINETHICK2;卖:IF(卖点,6.5,0),STICK,colorgreen,LINETHICK4;洗钱A:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE; 量1:=EMA(洗钱A,3);量2:=EMA(洗钱A,5);量3:=EMA(洗钱A,7);STICKLINE(量1>量2,量3,量1,3,1),colorred;STICKLINE(量1<量2,量3,量1,2,0),colorcyan;T1:=量2>量3 AND 量1<REF(量1,1);T2:=量2<量3 AND 量1>REF(量1,1);STICKLINE(T1,量1,量3,2,0),coloryellow;STICKLINE(T2,量1,量3,3,1),COLORFF00FF;洗钱B:=SMA(洗钱A,13,1);分水岭:SMA(洗钱B,2.5,1.5),LINETHICK2,colorwhite;牛线:3*洗钱B-2*分水岭,LINETHICK2,COLORFF00FF ;DRAWTEXT_FIX(C>O,0.01,0.9,0,' W '),colorred;DRAWTEXT_FIX(C>O,1,1,0,' m '),colorred;熊线:4*分水岭-3*洗钱B,LINETHICK2,COLORFF6633;DIF1:=EMA(C,12)-EMA(C,26);DEA1:=EMA(DIF1,9);MACD1:=2*(DIF1-DEA1);QZQ:=BARSLAST(REF(MACD,1)<0 AND MACD>0);QM:=LLVBARS(MACD1,QZQ+20);MQDZ:=IF(QM>QZQ,REF(MACD1,QM),0);QF:=LLVBARS(DIF1,QZQ+20);DQDZ:=IF(QF>QZQ,REF(DIF1,QF),0);XG1:=MACD1<0 AND MACD1>MQDZ AND DIF1<0 AND DIF1>DQDZ AND C=LLV(C,QZQ+20) AND MQDZ<0 AND DQDZ<0;XG:REF(XG1,1)=1 AND MACD1>REF(MACD1,1);VAR21A:=(REF(HIGH,1)+REF(LOW,1))/2;VAR61:=REF(CLOSE,1);VAR70A:=SMA(MAX(CLOSE-VAR61,0),6,1)/SMA(ABS(CLOSE-VAR61),6,1)*100; DRAWICON(CROSS(90,VAR70A),H*0.8,9);MTM1:=C-REF(C,1);A013:=HHV(HIGH,34);A014:=(2*CLOSE+HIGH+LOW)/4;A015:=LLV(LOW,34);A016:=EMA(((A014-A015)/(A013-A015))*100,13);A017:=EMA(0.667*REF(A016,1)+0.333*A016,2);KKMD:=A016-A017>1 AND A016<30 AND A017<30;DRAWTEXT(FILTER(KKMD,30),L*0.05,'▲短买'),COLOR00FFFF;VAR06:=REF(C,1);VAR07:=SMA(MAX(C-VAR06,0),6,1)/SMA(ABS(C-VAR06),6,1)*100;DRAWTEXT(CROSS(82,VAR07),H*0.9,'◤减仓'),colorgreen;RSVB:=(C-LLV(L,25))/(HHV(HIGH,25)-LLV(L,25))*100;K:=SMA(RSVB,3,1);D:=SMA(K,3,1);J:=3*K-2*D;VARA6:=(2*C+H+L)/3;VARA7:=EMA(EMA(EMA(VARA6,4),4),4);VARA8:=(VARA7-REF(VARA7,1))/REF(VARA7,1)*100;VARA9:=MA(VARA8,3)+0.03;VARA10:=MA(VARA8,1);DRAWICON(CROSS(VARA9,VARA10) AND J>90,H*0.96,12),colorgreen;DRAWTEXT(CROSS(VARA9,VARA10) AND J>90,H*1.02,'卖'),colorcyan;LCD:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LCD,0),4.1,1)/SMA(ABS(CLOSE-LCD),4.1,1)*100;建仓:CROSS(RSI,11)*10,colorred;。
通达信资金抄底指标公式
通达信资金抄底指标公式(实用版)目录1.通达信资金抄底指标公式概述2.通达信资金抄底指标公式的组成部分3.通达信资金抄底指标公式的计算方法4.通达信资金抄底指标公式的应用法则5.通达信资金抄底指标公式的示例正文一、通达信资金抄底指标公式概述通达信资金抄底指标公式是一种用于判断股票市场底部的技术指标。
通过分析股票市场的资金流入和流出情况,该指标可以帮助投资者发现市场底部并及时抄底,从而实现盈利。
二、通达信资金抄底指标公式的组成部分通达信资金抄底指标公式主要由以下几个部分组成:1.VAR1: (C - REF(C, 1)) / REF(C, 1)2.VAR2: (INDEXC - REF(INDEXC, 1)) / REF(INDEXC, 1)3.个股:EMA(SUM(VAR1, 20), 5)4.大盘:EMA(SUM(VAR2, 20), 5)5.领涨:(个股 - 大盘) > 06.VAR3: (C - LLV(L, 125)) / (HHV(H, 125) - LLV(L, 125)) * 1007.VAR4: SMA(VAR3, 72, 1)8.VAR5: SMA(VAR4, 34, 1)9.中线趋势:3 * VAR4 - 2 * VAR510.中线趋势升:(中线趋势 - REF(中线趋势,1)) > 011.均五升:(MA(C, 5) - REF(MA(C, 5), 1)) > 012.均十升:(MA(C, 10) - REF(MA(C, 10), 1)) > 013.STICKLINE 函数14.趋势:EMA(0.618 * REF(操作,1) + 0.382 * 操作,3)15.操作:EMA((2CHL) / 4, 13) - 5016.强弱界:017.运动:IF(操作 > 趋势 AND 均五升 AND 均十升 AND 中线趋势升,1, 0)18.买进:IF(运动 = 1 AND COUNT(运动,5) = 1, 8, 0)三、通达信资金抄底指标公式的计算方法通达信资金抄底指标公式的计算方法较为复杂,涉及多个变量的计算。
通达信量价异动抄底信号指标公式
通达信量价异动抄底信号指标公式
通达信量价异动抄底信号指标是一种技术分析工具,用于辅助股票投资者识别潜在的买入时机。
该指标的公式如下:
1. 量价齐升:当股票价格上涨的同时,成交量也在增加。
这种情况下,可以使用以下公式来计算量价齐升指标:
量价齐升指标 = (当日收盘价当日最低价)/(当日最高价当日最低价)成交量。
2. 量价背离:当股票价格上涨,但成交量没有相应增加,或者股票价格下跌,但成交量没有相应减少。
可以使用以下公式来计算量价背离指标:
量价背离指标 = (当日收盘价当日最低价)/(当日最高价当日最低价)成交量。
3. 量价齐跌:当股票价格下跌的同时,成交量也在减少。
可以使用以下公式来计算量价齐跌指标:
量价齐跌指标 = (当日最高价当日收盘价)/(当日最高价当日最低价)成交量。
这些指标可以帮助投资者判断股票的买入时机,但需要注意的是,技术分析工具只是辅助决策的工具之一,投资者还需要结合基本面分析和其他市场因素进行综合判断。
同时,投资有风险,需要谨慎对待。
通达信成功率很好的抄底逃顶指标公式编程思路破译
通达信成功率很好的抄底逃顶指标公式编程思路破译编程思路破译N赋值:5N1赋值:21抄底逃顶公式赋值:4*(收盘价-N日内最低价的最低值)/(N日内最高价的最高值-N日内最低价的最低值)*100的5日[1日权重]移动平均-3*(收盘价-N日内最低价的最低值)/(N日内最高价的最高值-N日内最低价的最低值)*100的5日[1日权重]移动平均的3.2日[1日权重]移动平均,画黄色,线宽为1指标公式赋值:8,画绿色,线宽为0输出通达信: 如果抄底逃顶公式上穿指标公式,返回60,否则返回0,线宽为2,画淡蓝色当满足条件通达信时,在85位置书写文字,画黄色,画淡蓝色SSDD1赋值: 如果抄底逃顶公式<=8,返回50,否则返回0,画青色,线宽为2输出SSDD2: 20,线宽为2,画淡洋红色GGRRRO5赋值:27日内最低价的最低值GGRRRO6赋值:34日内最高价的最高值GGRRRO7赋值:(收盘价-GGRRRO5)/(GGRRRO6-GGRRRO5)*4的4日指数移动平均*25SSDD3赋值: 如果(GGRRRO7<10),返回100,否则返回118 ,COLOR00CCFF,线宽为1CD1赋值:(9日内最高价的最高值-收盘价)/(9日内最高价的最高值-9日内最低价的最低值)-0.7CD2赋值:(收盘价-9日内最低价的最低值)/(9日内最高价的最高值-9日内最低价的最低值)CD3赋值:CD2的3日[1日权重]移动平均的3日[1日权重]移动平均CD4赋值:(CD3-CD1的9日[1日权重]移动平均)-0.5CD5赋值:如果CD4>0.00,返回CD4,否则返回0.00CD6赋值:1日前的CD5GGRRR81赋值:收盘价的9日简单移动平均,画红色SSDD5赋值:如果CD6-CD5,返回CD6,否则返回CD5,线宽为3,画黄色SSDD6赋值:CD6上穿CD5,STICK,画黄色抄底逃顶公式A赋值:(9日内最高价的最高值-收盘价)/(9日内最高价的最高值-9日内最低价的最低值)*100-70指标公式A赋值:抄底逃顶公式A的9日[1日权重]移动平均+100 GGRRR3A赋值:(收盘价-9日内最低价的最低值)/(9日内最高价的最高值-9日内最低价的最低值)*100GGRRR4A赋值:GGRRR3A的3日[1日权重]移动平均GGRRR5A赋值:GGRRR4A的3日[1日权重]移动平均+100GGRRR6A赋值:GGRRR5A-指标公式AGGRAA赋值:如果GGRRR6A>N1,返回GGRRR6A-N1,否则返回0,画淡红色输出SSDD7:如果GGRAA上穿0.01,返回72,否则返回0,STICK,画黄色,线宽为9当满足条件SSDD7>0时,在72位置画24号图标XG赋值:GGRAA上穿0.01LC赋值:1日前的收盘价RSI赋值:收盘价-LC和0的较大值的6日[1日权重]移动平均/收盘价-LC的绝对值的6日[1日权重]移动平均*100E赋值:83上穿RSIRSV赋值:(收盘价-7日内最低价的最低值)/(7日内最高价的最高值-7日内最低价的最低值)*100输出SSDD8:RSV的3日[1日权重]移动平均,线宽为2,画红色输出SSDD9:SSDD8的3日[1日权重]移动平均,线宽为3,画黄色当满足条件1日前的GGRAA<GGRAA时,在GGRAA和1日前的GGRAA位置之间画柱状线,宽度为3,0不为0则画空心柱.,画淡洋红色当满足条件1日前的GGRAA>GGRAA时,在GGRAA和1日前的GGRAA位置之间画柱状线,宽度为3,0不为0则画空心柱.,COLORFFCCCC注:馆内各种公式为学习编程而保存,实战使用前一定要看其成功率回测数据和风险提示或者自己亲自测试近期成功率,决不能依据公式名称的描述和形容去投资,据此入市造成投资损失由投资者自己承担。
通达信自用趋势顶底抄底极牛指标公式
通达信自用趋势顶底抄底极牛指标公式80,COLOR996699;20,COLORGREEN;底:10,COLORCC6633,LINETHICK2;90,COLOR9966FF,LINETHICK2;50,COLORWHITE,DOTLINE;A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);HC60跌幅:1-(C/HHV(C,60)),NODRAW;长期线:A+100,COLOR9900FF;短期线:B+100,COLOR888888;中期线:D+100,COLORYELLOW,LINETHICK2;见顶:=((REF(中期线,1)>85 AND REF(短期线,1)>85 AND REF(长期线,1)>65) AND CROSS(长期线,短期线));顶部区域:(中期线<REF(中期线,1) AND REF(中期线,1)>80) AND (REF(短期线,1)>95 OR REF(短期线,2)>95 ) AND 长期线>60 AND 短期线<83.5AND 短期线<中期线 AND 短期线<长期线+4,COLORRED;顶部:=FILTER(顶部区域,4);STICKLINE( 见顶OR 顶部,99,103,20,1 ),COLORRED,LINETHICK2;底部区域:(长期线<12 AND 中期线<8 AND (短期线<7.2 OR REF(短期线,1)<5) AND (中期线>REF(中期线,1) OR 短期线>REF(短期线,1)))OR (长期线<8 AND 中期线<7 AND 短期线<15 AND 短期线>REF(短期线,1)) OR (长期线<10 AND 中期线<7 AND 短期线<1) ,COLORGREEN;STICKLINE( 底部区域,-4,0,22,0 ),COLORGREEN;低位金叉:50*(长期线<15 AND REF(长期线,1)<15 AND 中期线<18 AND 短期线>REF(短期线,1) AND CROSS(短期线,长期线) AND 短期线>中期线AND (REF(短期线,1)<5 OR REF(短期线,2)<5 ) AND (中期线>=长期线 OR REF( 短期线,1)<1 )),COLORRED;短期超跌底部:(中期线<10 AND CROSS(短期线,中期线)),COLORYELLOW,NODRAW;DRAWICON(短期超跌底部,中期线,5);低吸:HC60跌幅>0.20 AND 短期线<10 AND 中期线<10 AND ABS(C-O)/O<0.01,COLORWHITE,NODRAW;STICKLINE(低吸,0,22,1,0),COLORWHITE;DRAWTEXT(低吸,28,'低吸'),COLORWHITE;。
通达信黄金坑抄大底指标公式
通达信黄金坑抄大底指标公式N:=14;MM:=6;RR8:=MA(CLOSE,27);RR9:=(CLOSE-RR8)/RR8*100;RRA:=MA(RR9,2);RRB:=BARSLAST(CROSS(-10,RRA)=1);RRD:=RRA<-10 AND RRB>3;黄金坑:IF(RRD,-35,0),COLORYELLOW,LINETHICK3;DRAWICON(RRD,-20,1);VAR1:=MA(CLOSE,27);VAR2:=(CLOSE-VAR1)/VAR1*100;VAR3:=MA(VAR2,2);VAR4:=BARSLAST(CROSS(-10,VAR3)=1);VAR5:=VAR3<-10 AND VAR4>3;贪嘴乐: IF(VAR3>REF(VAR3,1) AND VAR5 AND VAR3<-15,60,0),LINETHICK3,LINESTICK,COLORFFA2AF;DRAWICON(贪嘴乐>=1.6,35,1);VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;VAR400:=EMA(VAR300,5);操盘:=3*VAR300-2*VAR400;PS1:=CROSS(操盘,VAR300) AND VAR300<2.1 AND C>O;DRAWTEXT(黄金坑 AND PS1,105,'B'),COLORRED;STICKLINE(黄金坑 AND PS1,40,0,2,0),COLORYELLOW;VAR15:=CLOSE/REF(CLOSE,1)>1.011 OR CLOSE/REF(CLOSE,1)>1.011 OR CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH ANDBETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST( VOL,12));买入XG:IF(FILTER(VAR15,28),70,0)LINETHICK2,COLORLIMAGENTA;获利1个点:=REF(C,1)*1.01,COLORRED,NODRAW;RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);短期底部:=LLV(OPEN,30);AA10A:=MA(CLOSE,10);AA12:=MA(CLOSE,12);BB10A:=((ATAN((AA10A - REF(AA10A,1))) * 3.1416) * 10);BB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) * 10);MA13:=MA(CLOSE,13);VAR6:=MA(VAR5,3);VAR7:=DMA(EMA(CLOSE,12),((SUM(VOL,5) / 3) / CAPITAL));VAR8:=(((CLOSE - VAR7) / VAR7) * 100);VAR9:=((((REF(VAR8,1) < (0 - 40)) AND (VAR8 > REF(VAR8,1))) AND (REF(VAR8,1) < REF(VAR8,2))) AND ((VAR8 - REF(VAR8,1)) >2.5));VARA:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VARB:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VARC:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VARD:=REF(CLOSE,1);VARE:=((SMA(MAX((CLOSE - VARD),0),5,1) / SMA(ABS((CLOSE - VARD)),5,1)) * 100);VARF:=(((HIGH + LOW) + CLOSE) / 3);VAR10:=((VARF - MA(VARF,14)) / (0.015 * AVEDEV(VARF,14)));VAR11:=(((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,110) / MA(VOL,110)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100))< (0 - 0.273));VAR12:=(((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.125));VAR13:=(VAR11 AND VAR12);VAR14:=((((VARA >= (0 - 45)) AND (VARA <= (0 - 10))) AND (VARB <= (0 - 15))) AND (VARC <= (0 - 20)));VAR16:=(VAR13 AND VAR15);VAR17:=1;VAB0:=531;VAB1:=1510000;VAB2:=VAB0 + VAB1; VAB3:=IF(DATE > VAB2,0,1);VARA12:=SMA(H,10,9)*VAB3; VARA13:=SMA(L,10,9)*VAB3; VAR18:=(CLOSE * VOL);VAR19:=EMA((((((MA(VAR18,4) / MA(VOL,4)) + (MA(VAR18,6) / MA(VOL,6))) + (MA(VAR18,13) / MA(VOL,13))) + (MA(VAR18,24) / MA(VOL,24))) / 4),1);VAR1A:=(1 * VAR19);VAR1B:=(VAR19 * 0.92);VAR1C:=EMA(CLOSE,34);VAR1D:=MA((VAR1C * 1.12),5);VAR1E:=MA((VAR1C * 0.82),5);VAR1F:=(CLOSE < VAR1E);VAR20:=((((((MA(AMOUNT,5) * VAR17) / MA(VOL,5)) / 100) - ((MA(AMOUNT,125) / MA(VOL,125)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100)) < ((0 - 0.4) * VAR17));VAR21:=HHV(HIGH,500);VAR22:=LLV(LOW,500);VAR23:=HHV(HIGH,250);VAR24:=LLV(LOW,250);VAR25:=HHV(HIGH,125);VAR26:=LLV(LOW,125);VAR27:=MA(((((((VAR21 * 0.45) + (VAR23 * 0.5)) + VAR22) + VAR24) + VAR26) / 5),35);VAR28:=MA((((VAR23 * 0.62) + VAR26) / 2),35);VAR29:=MA((((VAR23 * 0.75) + VAR26) / 2),18);VAR2A:=MA((((((VAR23 * 0.93) + (VAR27 * 2)) + (VAR28 * 1.8)) + (VAR29 * 1.5)) / 4),18);VAR2B:=MA(((((VAR21 * 0.95) + (VAR27 * 3)) + (VAR28 * 2)) / 3),35);VAR2C:=VAR27;VAR2D:=VAR28;VAR2E:=VAR29;VAR2F:=VAR2A;VAR30:=VAR2B;VAR31:=((CLOSE - REF(MA(CLOSE,20),11)) < (0 - 2));VAR32:=(INDEXA / 100000000);VAR33:=INDEXADV;VAR34:=INDEXDEC;VAR35:=((VAR18 / (VAR18 + VAR19)) * VAR17);VAR36:=((VAR19 / (VAR18 + VAR19)) * VAR17);VAR37:=EMA(VAR35,10);VAR38:=EMA(VAR36,10);VAR39:=EMA(VAR37,10);VAR3A:=EMA(VAR38,20);VAR3B:=EMA(VAR37,3);VAR3C:=EMA(VAR39,6);VAR3D:=EMA(VAR3A,2);VAR3E:=(VAR3C - VAR3D);VAR3F:=(((VAR3C - REF(VAR3C,1)) > 0) AND ((REF(VAR3C,1)- REF(VAR3C,2)) < 0));VAR40:=IF((CROSS(VAR3B,VAR3C) AND (VAR3C <= 20)),30,0);VAR41:=VAR40;VAR42:=(SMA(((AMOUNT / VOL) / 100),13,1) * 1.15);VAR43:=(SMA(((AMOUNT / VOL) / 100),13,1) * 0.85);VAR44:=(CLOSE - REF(MA(CLOSE,20),11));VAR45:=(((((((((((((CLOSE < VAR1E) AND VAR20) AND (CLOSE < VAR43)) OR (((CLOSE < VAR1E) AND VAR31) AND VAR20)) OR ((CLOSE <VAR1E) AND (CLOSE < VAR43))) OR (((CLOSE < VAR1E) AND VAR20) AND (CLOSE < VAR43))) OR (VAR20 AND (CLOSE < VAR2C))) OR ((VAR20AND VAR31) AND (VAR44 < (0 - 1.5)))) OR (VAR20 AND (CLOSE < VAR1E))) OR (VAR20 AND (VAR44 < (0 - 1.5)))) OR (VAR31 AND (CLOSE< VAR43))) OR ((CLOSE < VAR2C) AND (VAR44 < (0 - 1.5)))) OR ((CLOSE < VAR1E) AND VAR31));VAR46:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR47:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR48:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR49:=REF(CLOSE,1);VAR4A:=((SMA(MAX((CLOSE - VAR49),0),5,1) / SMA(ABS((CLOSE - VAR49)),5,1)) * 100);VAR4B:=(((HIGH + LOW) + CLOSE) / 3);VAR4C:=((VAR4B - MA(VAR4B,14)) / (0.015 * AVEDEV(VAR4B,14)));VAR4D:=(((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,110) / MA(VOL,110)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100))< (0 - 0.273));VAR4E:=(((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.125));VAR4F:=(VAR11 AND VAR12);VAR50:=((((VAR2 >= (0 - 45)) AND (VAR2 <= (0 - 7))) AND (VAR3 <= (0 - 11))) AND (VAR4 <= (0 - 14)));VAR51:=(COUNT(VAR50,1) >= 1);VAR52:=(VAR4F AND VAR51);VAR53:=(((((VAR20 AND (CLOSE < VAR1E)) AND VAR31) AND (CLOSE < VAR2C)) AND VAR45) AND VAR52);VAR54:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR55:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR56:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR57:=REF(CLOSE,1);VAR58:=((SMA(MAX((CLOSE - VAR57),0),5,1) / SMA(ABS((CLOSE - VAR57)),5,1)) * 100);VAR59:=(((HIGH + LOW) + CLOSE) / 3);VAR5A:=((VAR59 - MA(VAR59,14)) / (0.015 * AVEDEV(VAR59,14)));VAR5B:=((((((VAR54 >= (0 - 15.8)) AND (VAR54 <= (0 - 12.2))) AND (VAR55 <= (0 - 20.8))) AND (VAR56 <= (0 - 27.5))) AND (VAR58<= 11.7)) AND (VAR5A <= (0 - 145)));VAR5C:=9.999999884842+026;VAR5D:=(COST(10) * 0)*VAB3;VAR5E:=((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,125) / MA(VOL,125)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100));VAR5F:=MA((((LLV(LOW,45) - CLOSE) / (HHV(HIGH,45) - LLV(LOW,45))) * 100),5);VAR60:=((CROSS((0 - 5),VAR5F) AND (VAR5E < (0 - 0.4))) AND (((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.19)));VAR61:=MA(CLOSE,3);VAR62:=(REF(CLOSE,2) * 0.865);VAR63:=(REF(CLOSE,13) * 0.772);VAR64:=MIN(VAR62,VAR63);VAR65:=((100 * VOL) / CAPITAL);VAR66:=MA(CLOSE,13);VAR67:=IF(((((CLOSE - VAR64) / CLOSE) < 0.03) AND ((SUM(VAR65,5) / 5) < 1.8)),1,0);开始控盘:=STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),5,0)*VAB3,COLORBROWN;出击:=IF(((((VAR9 OR VAR16) OR VAR53) OR VAR5B) OR ((((CLOSE - VAR64) / CLOSE) < 0.03) AND ((SUM(VAR65,5) / 5) <1.8))),120,0),LINETHICK2,COLOR0000FF;VAR68:=0;VARQ:=MA(CLOSE,152);VARW:=MA(CLOSE,194.16);VAREE:=(VARW + (2 * STD(CLOSE,170)));VARR:=(VARQ + (2 * STD(CLOSE,170)));VART:=IF((DATE > 1080822),0,1);VAR611:=EMA(HHV(HIGH,500),21);VAR71:=EMA(HHV(HIGH,250),21);VAR81:=EMA(HHV(HIGH,90),21);VAR91:=EMA(LLV(LOW,500),21);VARA1:=EMA(LLV(LOW,250),21);VARB1:=EMA(LLV(LOW,90),21);VARC1:=EMA((((((((VAR91 * 0.96) + (VARA1 * 0.96)) + (VARB1 * 0.96)) + (VAR611 * 0.558)) + (VAR71 * 0.558)) + (VAR81 * 0.558)) / 6),21);VARD1:=EMA((((((((VAR91 * 1.25) + (VARA1 * 1.23)) + (VARB1 * 1.2)) + (VAR611 * 0.55)) + (VAR71 * 0.55)) + (VAR81 * 0.65)) /6),21);VARE1:=EMA((((((((VAR91 * 1.3) + (VARA1 * 1.3)) + (VARB1 * 1.3)) + (VAR611 * 0.68)) + (VAR71 * 0.68)) + (VAR81 * 0.68)) /6),21);VARF1:=EMA((((((VARC1 * 3) + (VARD1 * 2)) + VARE1) / 6) * 1.738),21)*VAB3;VAR101:=REF(LOW,1);VAR111:=((SMA(ABS((LOW - VAR101)),3,1) / SMA(MAX((LOW - VAR101),0),3,1)) * 100);VAR121:=EMA(IF(((CLOSE * 1.35) <= VARF1),(VAR111 * 10),(VAR111 / 10)),3)*VAB3;VAR131:=LLV(LOW,30);VAR141:=HHV(VAR121,30)*VAB3;VAR151:=IF(MA(CLOSE,58),1,0);VAR161:=((EMA(IF((LOW <= VAR131),((VAR121 + (VAR141 * 2)) / 2),0),3) / 618) * VAR151);VAR171:=(((IF((VAR161 > 50),50,VAR161) / 20) * 15) * VART)*VAB3;SG:=EMA(HHV(HIGH,1),8);X1:=EMA(CLOSE,8);X30:=((X1 < REF(X1,1)) AND (CLOSE < X1));X31:=IF(((SG < REF(SG,1)) OR X30),1,0);LC:=REF(CLOSE,1);操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100,COLORRED,LINETHICK2;趋势线:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100,COLORGRAY;震仓线:=45,COLORMAGENTA;震仓线2:=50,COLORGRAY;逃命线:=80,COLORRED;抄底线:=20,COLORGREEN;绝底线:=5,COLORBLUE;PP2:=操作线<震仓线2 AND REF(操作线,1)>震仓线2 ;PP:=操作线<震仓线 AND REF(操作线,1)>震仓线 ;PP3:=操作线<抄底线 AND REF(操作线,1)>抄底线*VAB3;财主抓板:=(((((COUNT((X31 = 1),4) = 3) AND (X31 = 0))AND O<C AND (((C-REF(C,1))/REF(C,1))>0.085))*89) >=89)OR((C-REF(C,1))/REF(C,1)>0.085 AND (REF(PP3,1) OR REF(PP,1))) AND VAB3=1,NODRAW,COLORYELLOW;STICKLINE(财主抓板,5,10,1,0),COLORRED;STICKLINE(财主抓板,10,15,1,0),COLORBLUE;STICKLINE(财主抓板,15,20,1,0),COLORRED;STICKLINE(财主抓板,20,25,1,0),COLORBLUE;STICKLINE(财主抓板,25,30,1,0),COLORMAGENTA;STICKLINE(财主抓板,30,35,1,0),COLORBROWN;STICKLINE(财主抓板,35,40,1,0),COLORMAGENTA;STICKLINE(财主抓板,40,45,1,0),COLORYELLOW;STICKLINE(财主抓板,45,50,1,0),COLORLIRED;STICKLINE(财主抓板,50,55,1,0),COLORYELLOW;STICKLINE(财主抓板,55,60,1,0),COLORMAGENTA;MTR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),N);{DMI指标}{N:2,90,14;MM:2,90,6;}HD :=HIGH-REF(HIGH,1);LD :=REF(LOW,1)-LOW;DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),N);DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),N);多头线: DMP*100/MTR,COLORCYAN,LINETHICK2;空头线:= DMM*100/MTR,COLORGREEN,LINETHICK2;趋势:= EXPMEMA(ABS(空头线-多头线)/(空头线+多头线)*100,MM),COLORYELLOW,LINETHICK2;强弱:30,COLORWHITE,DOTLINE,LINETHICK1;BOLL:=MA(CLOSE,20);UB:=BOLL+2*STD(CLOSE,20);VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.025)AND((HIGH)/(CLOSE)<1.03) AND ((CLOSE)>(UB)) AND (多头线-空头线)>5 AND 多头线>20 AND (趋势>REF(趋势,1)) AND (多头线>REF(多头线,1)) AND (VAR3AA>0),91,0);XG:=(FILTER((VAR4AA>90),21)),COLORYELLOW;{DRAWTEXT(XG,85,'DMI'),COLOR00C5FF;STICKLINE(XG,90,0,0.5,0),COLORMAGENTA;STICKLINE(XG,90,0,0.5,0),COLORMAGENTA;STICKLINE(XG,90,0,0.5,0),COLORMAGENTA;STICKLINE(XG,90,0,0.3,0),COLORMAGENTA;}VAR1Z:=(CLOSE+HIGH+LOW+OPEN)/4;VAR2Z:=SUMBARS(VOL,CAPITAL);VAR3Z:=HHV(VAR1Z,VAR2Z);VAR4Z:=LLV(VAR1Z,VAR2Z);VAR5Z:=(2*VAR1Z-VAR4Z-REF(VAR4Z,1))/(VAR3Z-VAR4Z);VAR6Z:=(VAR1Z-VAR4Z)/(VAR3Z-VAR4Z);VAR7Z:=IF(VAR1Z<=VAR4Z,VAR5Z*60,VAR6Z*60);VAR8Z:=600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30);VAR9Z:=EMA(VAR8Z,7);VARAZ:=(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))*100;VARBZ:=(-100)*(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))+5;大底: IF(VARAZ+VARBZ<7 AND CROSS(VAR8Z,VAR9Z) AND VAR9Z<-18 AND VAR9Z<VARBZ AND 黄金坑AND 贪嘴乐,110,0),COLORRED,LINETHICK3;GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));A:=BARSLAST(CROSS(GJTJ4,GJTJ1))>3 AND BARSLAST(CROSS(GJTJ1,GJTJ4))<3;B:=BARSLAST(CROSS(GJTJ4,GJTJ2));DD:=GJTJ3;E:=BARSLAST(CROSS(GJTJ4,GJTJ3))>3 AND BARSLAST(CROSS(GJTJ1,GJTJ4))<3;F:=GJTJ2;B1:=A>0 AND REF(A,1)=0 AND REF(A,2)>0;VAR0004:="KDJ.K#WEEK"(9,3,3);VAR0005:="KDJ.D#WEEK"(9,3,3);周:=CROSS(VAR0004,VAR0005);周金坑KDJ:=IF(A AND B AND E AND F AND 周,50,0)COLORWHITE,LINETHICK1;KKM:="KDJ.K#MONTH";KDM:="KDJ.D#MONTH";月:=CROSS(KKM,KDM);去停牌:=DYNAINFO(8)>0;去ST:=NOT(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S'));金坑K月:IF(A AND B AND DD AND E AND F AND 去停牌 AND 去ST AND 月,90,0)COLORWHITE,LINETHICK3;VARO1:=HHV(HIGH,9)-LLV(LOW,9);VARO2:=HHV(HIGH,9)-CLOSE;VARO3:=CLOSE-LLV(LOW,9);VARO4:=VARO2/VARO1*100-70;VARO5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;VARO6:=(2*CLOSE+HIGH+LOW)/4;VARO7:=SMA(VARO3/VARO1*100,3,1);VARO8:=LLV(LOW,34);VARO9:=SMA(VARO7,3,1)-SMA(VARO4,9,1);VARO11:=HHV(HIGH,34);VARO12:=EMA((VARO6-VARO8)/(VARO11-VARO8)*100,13);VARO13:=EMA(0.667*REF(VARO12,1)+0.333*VARO12,2);生命线:=EMA(VARO13,5),COLORYELLOW;太平洋XG:=IF(CROSS(VARO12,VARO13) AND VARO12>VARO13,25,0)COLORYELLOW;VAR0002:="KDJ.K#DAY"(9,3,3);VAR0003:="KDJ.D#DAY"(9,3,3);VAR0006:="KDJ.K#MONTH"(9,3,3);VAR0007:="KDJ.D#MONTH"(9,3,3);日金叉:=IF(CROSS(VAR0002,VAR0003),40,0)LINESTICK,COLORGREEN;VAR15H:=CLOSE/REF(CLOSE,1)>1.011 OR CLOSE/REF(CLOSE,1)>1.011 OR CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST( VOL,12));XG88:=IF(FILTER(VAR15H,28),35,0)LINETHICK1,COLORWHIT E;VAR2G:=REF(LOW,1);VAR3G:=SMA(ABS(LOW-VAR2G),3,1)/SMA(MAX(LOW-VAR2G,0),3,1)*100;VAR4G:=EMA(IF(CLOSE*1.3,VAR3G*10,VAR3G/10),3);VAR5G:=LLV(LOW,30);VAR6G:=HHV(VAR4G,30);VAR7G:=IF(MA(CLOSE,58),1,0);VAR8G:=EMA(IF(LOW<=VAR5G,(VAR4G+VAR6G*2)/2,0),3)/6 18*VAR7G;VAR9G:=IF(VAR8G>100,100,VAR8G);底部吸筹指标:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100, , COLOR00FF00;先知:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100, , COLORFF00FF;可能放量拉升:=IF(CROSS(底部吸筹指标,-24),1,0), , COLORFFFFFF;VARK1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;VARK2:=REVERSE(VARK1);VARK3:=SMA(VARK1,3,1);波段王:=SMA(VARK3,3,1), , COLORRED,LINETHICK2;波段鬼:=SMA(波段王,2.5,1),COLORYELLOW,LINETHICK2;趋势线L:=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), ,COLORFF6666,LINETHICK2;RSV9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K1:=SMA(RSV9,3,1);DK1:=K1-REF(K1,1);CS8:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;DDFX8:=(SMA(CS8,3,1)-50)*2;DCS8:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*100;C8:=(SMA(DCS8,3,1)-50)*2;差值8:=DDFX8-C8;出手就赢:=IF(DK1>7 AND REF(DK1,1)<0 AND (DK1-REF(DK1,1))>9,50,0) AND 差值8>REF(差值8,1);VAR15G:=CLOSE/REF(CLOSE,1)>1.011 OR CLOSE/REF(CLOSE,1)>1.011 OR CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST( VOL,12));买入O:=IF(FILTER(VAR15G,28),25,0)LINETHICK2,COLORMAGENTA;底部买赢:IF(出手就赢 AND 底部吸筹指标 AND 波段鬼 AND 买入XG,100,0)LINETHICK3,COLORBROWN;赢XG:IF(太平洋XG AND 日金叉 AND XG88 AND 买入O AND 出手就赢,50,0)LINETHICK3,COLORLIRED;{ZF:=(CLOSE/REF(CLOSE,1)-1)*100;TA:=ZF>=5 AND CLOSE>OPEN;TB:=RANGE(CLOSE,REF(LOW,1),REF(CLOSE,1)) AND OPEN>CLOSE;TC:=REF(TA,1) AND TB;TD:=BARSLAST(TC);TE:=ZF>=1.5 AND CLOSE>OPEN AND RANGE(REF(OPEN,TD),REF(CLOSE,1),CLOSE);TF:=EVERY(CLOSE>=REF(LOW,TD+1),TD);封印:=TE AND TF;W1:=C=HHV(C,20);W2:=BARSLAST(W1);W3:=IF(W2>0,REF(C,W2),REF(C,W2));W4:=CROSS(C,REF(W3,1));底部预警:=W4 AND COUNT(W4,5)=1;跳空高开:=REF(C,1)<REF(O,1) AND O>REF(C,1) ANDC>=REF(C,1)*1.02;封印G:IF(封印AND 跳空高开AND 底部预警,40,0)COLORFFA2AF,LINETHICK3;}量比:=V/REF(MA(V,1),1);多方力度:=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);空方力度:=100*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55));红钻石:=C/REF(C,1)>1.03 AND 量比>1.1 AND CROSS(多方力度,空方力度);DRAWICON(红钻石,L*0.98,25);VAR1I:=(C-LLV(L,20))/(HHV(H,20)-LLV(L,20))*100;VAR2I:=(C-LLV(L,10))/(HHV(H,10)-LLV(L,10))*100;VAR3I:=(C-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100;VAR4I:=DMA(SMA((VAR1I+VAR2I+VAR3I)/3,2,1),3);K:SMA(VAR4I,2,1),COLORRED,LINETHICK1;M:SMA(K,2,1),COLORFFFFFF;DRAWICON(CROSS(K,M),K-1,1);DRAWICON(CROSS(M,K),M-1,2);红买青卖:30,COLOR0000FF,LINETHICK1;红买: IF(K>M,30,DRAWNULL),COLOR0000FF,LINETHICK1;青卖: IF(K<M,30,DRAWNULL),COLOR00FF00,LINETHICK1;{底部来临:}VAR2P:=CLOSE*VOL;VAR3P:=EMA((MA(VAR2P,3)/MA(VOL,3)+MA(VAR2P,5)/MA( VOL,5)+MA(VAR2P,13)/MA(VOL,13)+MA(VAR2P,21)/MA(VOL,21) )/4,1);VAR4P:=1*VAR3P;VAR5P:=VAR3P*0.92;VAR6P:=EMA(CLOSE,34);VAR7P:=MA(VAR6P*1.12,5);VAR8P:=MA(VAR6P*0.82,5);VAR9P:=CLOSE<VAR8P;VARAP:=(MA(AMOUNT,5)/MA(VOL,5)/100-MA(AMOUNT,125)/MA(VOL,125)/100)/(MA(AMOUNT,5)/MA(VO L,5)/100)<(-0.4);XX:=VARAP AND CLOSE<VAR8P;VAR10P:=REF(CLOSE,1);VAR14P:=SMA(MAX(CLOSE-VAR10P,0),12,1)/SMA(ABS(CLOSE-VAR10P),12,1)*100;CC:=CROSS(VAR14P,20);底部来临:IF(XX AND CC,100,0)COLORYELLOW,LINETHICK2;。
通达信用过都说好最好的抄底选股指标公式
通达信用过都说好最好的抄底选股指标公式编程思路破译通达信最好的赋值:(最高价 - 最低价)抄底指标公式赋值:(开盘价-收盘价)的绝对值CSDDS9赋值:(最高价 - 如果(收阳线),返回收盘价,否则返回开盘价) CSDDS10赋值:(如果(收阳线),返回开盘价,否则返回收盘价 - 最低价)CSDDS11赋值:((抄底指标公式 / 通达信最好的) * 成交量(手))CSDDS12赋值:((CSDDS9 / 通达信最好的) * 成交量(手))CSDDS13赋值:((CSDDS10 / 通达信最好的) * 成交量(手))CSDDSA赋值:(((收盘价 - 收盘价的5日简单移动平均) / 收盘价的5日简单移动平均) * 100)输出DSDDD:CSDDS13>CSDDS11 AND CSDDS13>CSDDS12 AND CSDDSA<-2 AND 收盘价<收盘价的30日简单移动平均 AND CSDDS13<成交量(手)的5日简单移动平均/2 AND 成交量(手)的5日简单移动平均<成交量(手)的10日简单移动平均程序源码通达信最好的:=(HIGH - LOW);抄底指标公式:=ABS((OPEN - CLOSE));csdds9:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));csdds10:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);csdds11:=((抄底指标公式 / 通达信最好的) * VOL);csdds12:=((csdds9 / 通达信最好的) * VOL);csdds13:=((csdds10 / 通达信最好的) * VOL);csddsA:=(((CLOSE - MA(CLOSE,5)) / MA(CLOSE,5)) * 100);dsddd:csdds13>csdds11 AND csdds13>csdds12 AND csddsA<-2 AND CLOSE<MA(CLOSE,30) AND csdds13<MA (VOL,5)/2 AND MA(VOL,5)<MA(VOL,10);注:馆内各种公式为学习编程而保存,实战使用前一定要看其成功率回测数据和风险提示或者自己亲自测试近期成功率,决不能依据公式名称的描述和形容去投资,据此入市造成投资损失由投资者自己承担。
通达信20个抄底指标公式
通达信20个抄底指标公式250,COLORWHITE,LINETHICK4;{1.高春牛组合90%--信号少}CAR1:=VOL<MA(VOL,5) AND MA(VOL,5)<MA(VOL,55);CAR2:=CLOSE/REF(CLOSE,1)>1.028;CAR3:=MA(CLOSE,10)>CLOSE*1.05;CAR4:=MA(CLOSE,10)<CLOSE*1.1;CAR5:=MA(CLOSE,60)>CLOSE*1.28;金牛:=CAR1 AND CAR2 AND CAR3 AND CAR4 AND CAR5;DIF1:=(CLOSE-SMA(CLOSE,7,1))/SMA(CLOSE,7,1)*(-100);DEA1:=REF(DIF1,1)>13 AND REF(DIF1,1)/DIF1>1.3 AND CLOSE/REF(CLOSE,1)>1.03;KOV:=IF(DEA1 AND REF(CLOSE,1)<=COST(5),28,0);PIC:=IF(DEA1 AND REF(CLOSE,1)<=COST(5),18,0);春笋:=IF(DEA1 AND REF(CLOSE,1)<=COST(5),1,0) AND C<MA(C,60);VAR2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VAR3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VAR5:=(VAR2+2*VAR3+3*VAR4)/6;VAR6:=MA(VAR5,3);D02:=VAR6<=-10;VAR11:=CLOSE/MA(CLOSE,30)*100<75;VAR12:=CLOSE/MA(CLOSE,50)*100<78;VAR13:=CLOSE/MA(CLOSE,70)*100<72;VAR14:=HIGH>LOW*1.053;VAR15:=VAR14 AND COUNT(VAR14,5)>2;VAR16:=(VAR11 AND VAR12) OR (VAR12 AND VAR13) OR (VAR11 AND VAR13);D4:=VAR15 AND VAR16;高精:=D02 AND COUNT(D4,3)>=1;高春牛组合:金牛 AND 春笋 AND 高精,COLORLIMAGENTA;STICKLINE(高春牛组合,0,210,3,0),COLORLIMAGENTA;DRAWTEXT(高春牛组合,210,'↙高春牛组合90%'),COLORLIMAGENTA;{2明道88%}AAA:=(C-MA(C,90))/MA(C,90)*100;BBB:=(COST(11)-CLOSE)/CLOSE>0.15;明道:CROSS(AAA,-26) AND BBB,COLOR00F5C2;STICKLINE(明道,0,200,3,0),COLOR00F5C2;DRAWTEXT(明道,200,'↙明道88%'),COLOR00F5C2;{3赢一波组合84%}BIAS0:=(C-MA(C,2))/MA(C,2)*100;HXL:=V/CAPITAL*100;D1:=INDEXC;D2:=MA(D1,13);DR2:=D2>1.040*D1;E1:=(C-HHV(C,12))/HHV(C,12)*10;E2:=(C-REF(C,26))/REF(C,26)*10;E3:=MA(C,3);SJ1:=DR2;SJ2:=E2<-2.30;SJ3:=BIAS0<-2.7;SJ5:=SJ1 AND SJ2 AND SJ3;一:=CROSS(0.5,SJ5);C1X:=((MA(C,30)-L)/MA(C,60))*200;M1X:=REF(CLOSE,1);M2X:=SMA(MAX(CLOSE-M1X,0),7,1)/SMA(ABS(CLOSE-M1X),7,1)*100;G1X:=FILTER(REF(M2X,1)<20 AND M2X>REF(M2X,1),5);TUX:=C/MA(C,40)<0.74;TDJX:=(H-L)/REF(C,1)>0.05;YULX:=COUNT(TDJX,5)>1;启动X:=TUX AND TDJX AND YULX;波:=FILTER((G1X AND C1X>20 OR C>REF(C,1)) AND REF(启动X,1),10);ETG1:=CLOSE/MA(CLOSE,30)*100<75;ETG2:=CLOSE/MA(CLOSE,50)*100<78;ETG3:=HIGH>LOW*1.053;ETG4:=ETG3 AND COUNT(ETG3,5)>2;ETG5:=ETG4 AND (ETG1 OR ETG2);ETG6:=DMA(EMA(CLOSE,5),SUM(VOL,8)/2.8/CAPITAL);ETG7:=(CLOSE-ETG6)/ETG6*100;赢:=REF(ETG7,1)<-34 AND ETG7>REF(ETG7,1) AND REF(ETG7,1)<REF(ETG7,2)AND ETG7-REF(ETG7,1)>1.76 OR ETG5;赢一波组合:赢 AND 一 AND 波,COLOR2A2AA3;STICKLINE(赢一波组合,0,190,3,0),COLOR2A2AA3;DRAWTEXT(赢一波组合,190,'↙赢一波组合84%'),COLOR2A2AA3;{4率土之滨-85%信号较少}X01:=MA(C,10)/C>1.055;X02:=MA(C,10)/C<1.1;X03:=MA(C,60)/C>1.28;X04:=C/REF(C,1)>1.028;X05:=H>L*1.05 AND COUNT(H>L*1.05,5)>3;X06:=O/HHV(C,30)<0.78;X07:=V<MA(V,5) AND MA(V,5)<MA(V,55);X08:=O=LLV(O,30);率土之滨:X01 AND X02 AND X03 AND X04 AND X05 AND X06 AND X07 AND X08,COLORFFFFAA;STICKLINE(率土之滨,0,180,3,0),COLORFFFFAA;DRAWTEXT(率土之滨,180,'↙率土之滨84%'),COLORFFFFAA;{5钻石底-87%}VBR:=C<REF(C,4);NT0:=BARSLASTCOUNT(VBR);TJ21:=NT0=6 ;底6:=COUNT(NT0=6,5)=1;VBR1:=DMA(CLOSE,VOL/SUM(VOL,34));VBR2:=DMA(CLOSE,VOL/SUM(VOL,13));VBR3:=(CLOSE-VBR1)/VBR1*100;VBR4:=(CLOSE-VBR2)/VBR2*100;Y1:=VBR4<=-17 AND VBR3<=-25;去除ST:=IF(NAMELIKE('ST') OR NAMELIKE('*ST'),0,1);去除停牌:=DYNAINFO(4)>0;去除:=去除ST AND 去除停牌;Q1:=底6 AND Y1 AND 去除;超卖区:=MA((CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100 ,2);Q2:=超卖区<-20;钻石底:Q1 AND Q2 AND C>REF(C,1)*0.91 AND C<REF(C,1) AND INDEXC<REF(INDEXC,1) AND REF(C>REF(C,1),1),COLOR0033FF;STICKLINE(钻石底,0,170,3,0),COLOR0033FF;DRAWTEXT(钻石底,170,'↙☆☆钻石底87%'),COLOR0033FF;{6金牛起步83%}CAR0:=VOL<MA(VOL,5) AND MA(VOL,5)<MA(VOL,55);CAR02:=CLOSE/REF(CLOSE,1)>1.028;CAR03:=MA(CLOSE,10)>CLOSE*1.05;CAR04:=MA(CLOSE,10)<CLOSE*1.1;CAR05:=MA(CLOSE,60)>CLOSE*1.28;金牛起步:CAR0 AND CAR02 AND CAR03 AND CAR04 AND CAR05,COLOR0060FF;STICKLINE(金牛起步,0,160,3,0),COLORWHITE;STICKLINE(金牛起步,0,160,3.2,0),COLOR555555;STICKLINE(金牛起步,0,160,2.6,0),COLOR777777;STICKLINE(金牛起步,0,160,1.9,0),COLOR999999;STICKLINE(金牛起步,0,160,1.1,0),COLORCCCCCC;STICKLINE(金牛起步,0,160,0.3,0),COLORCCDDBB;DRAWTEXT(金牛起步,160,'↙金牛起步83%'),COLOR0060FF;{7超跌选股80%}AAA1:=BARSLASTCOUNT(C>REF(C,4));高A:=( AAA1=1);VAR1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*200+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*300+(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100)/6;VAR02:=MA(VAR1,6);VAR03:=(HHV(HIGH,60)-REF(C,1))/HHV(HIGH,60)>0.3 AND (HHV(HIGH,60)-REF(C,1))/HHV(HIGH,60)<0.4;超跌选股:CROSS(VAR1,VAR02) AND VAR1<-8.5 AND VAR03 AND 高A;STICKLINE(超跌选股,0,150,3,0),COLORBD4DB6;DRAWTEXT(超跌选股,150,'↙超跌选股80% '),COLORBD4DB6;{8锤头王-80%}CD1:=(MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.57;CD2:=LOW/MIN(CLOSE,OPEN)<=0.97;EMA9:=EMA(CLOSE,9);XSLDN:=EMA(EMA9*0.86,5);CD3:=C<=XSLDN;CD4:=REF(C,1)/REF(XSLDN,1)<0.98;锤头王:C/REF(C,1)>0.99 AND CD1 AND CD2 AND CD3 AND CD4,COLOR9F46B4;STICKLINE(锤头王,0,140,3,0),COLOR9F46B4;DRAWTEXT(锤头王,140,'↙80% '),COLOR9F46B4;{9核心低点-81%}X_01:=O/HHV(C,30)<0.78;X_02:=C/MA(C,50)<0.78;X_03:=O=LLV(O,30);X_04:=C/SMA(C,13,1)-1;X_05:=REF(X_04,1)<-0.13;X_06:=REF(X_04,1)/X_04>1.1582;X_07:=REF(C,1)<=COST(5);X_08:=COUNT(H>L*1.05,5)>2;核心低点:X_01 AND X_02 AND X_03 AND X_05 AND X_06 AND X_07 AND X_08,COLORLIGREEN;STICKLINE(核心低点,0,130,3,0),COLORLIGREEN;DRAWTEXT(核心低点,130,'↙核心低点81%'),COLORLIGREEN;{10狗头金综75%}BIAS01:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;BIAS02:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;BIAS03:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,11)*100;老二:=IF(BIAS02<=-10,1,0);DIF3:=EMA(CLOSE,12)-EMA(CLOSE,150);DEA3:=EMA(DIF3,9);MACD3:=(DIF3-DEA3)*2;爆发:=MACD3<0 AND MACD3>REF(MACD3 ,1) AND REF(MACD3 ,1)<REF(MACD3 ,2)AND REF(MACD3 ,2)<REF(MACD3 ,3)AND REF(MACD3 ,3)<REF(MACD3 ,4);VVAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VVAR2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VVAR3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VVAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VVAR5:=(VAR2+2*VVAR3+3*VVAR4)/6;VVAR6:=MA(VVAR5,3);大底:=VVAR6<=-10;VVAR11:=CLOSE/MA(CLOSE,20)*100<80;VVAR12:=CLOSE/MA(CLOSE,40)*100<78;VVAR13:=CLOSE/MA(CLOSE,60)*100<72;VVAR14:=HIGH>LOW*1.051;VVAR15:=VVAR14 AND COUNT(VVAR14,5)>1;中底:=VVAR15 AND (VVAR11 OR VVAR12 OR VVAR13);操盘:=EMA((CLOSE-MA(CLOSE,3))/MA(CLOSE,3),2);跟风:=EMA((CLOSE-MA(CLOSE,20))/MA(CLOSE,20),7);见到曙光:=CROSS(操盘,跟风) AND 操盘 <0 AND 跟风 <0;趋势线1:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100 ;AAX:=((REF(趋势线1,1)<REF(趋势线1,2) AND 趋势线1<-30) AND 趋势线1>=REF(趋势线1,1)) OR (REF(CROSS(-30,趋势线1),1) AND CROSS(趋势线1,-30)) OR 趋势线1=-30;砸盘:=IF(AAX,500,-30);BBX:=((REF(趋势线1,1)<REF(趋势线1,2) AND 趋势线1<-20 AND 趋势线1>-25) AND 趋势线1>=REF(趋势线1,1)) OR (REF(CROSS(-20,趋势线1),1) AND CROSS(趋势线1,-20));XG:=BBX;WW:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);MM:=DMA(CLOSE,WW);通道4:=(1-7/100)*MM;VAR84:=EXPMA(CLOSE,9);LDN:=EXPMA(VAR84*0.86,5);TYP:=(HIGH+LOW+CLOSE)/3;CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));TTRR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14);HD:=HIGH-REF(HIGH,1);LD:=REF(LOW,1)-LOW;DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),14);DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),14);PDI:=DMP*100/TTRR;MDI:=DMM*100/TTRR;ADX:=EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,6);买底:=C<=通道4 AND C<=LDN AND CCI<-100AND ADX>=60 AND MDI >= PDI AND CLOSE>OPEN;VAR82:=LLV(LOW,10);VAR83:=HHV(HIGH,25);能量:=EMA((CLOSE-VAR82)/(VAR83-VAR82)*4,4);底:=0.2;关注:=0.5;红色箭头:=FILTER(CROSS(能量,关注),20);XXG:=买底 OR 红色箭头;AX:=SMA((CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100,4,1);BX:=SMA((CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100,4,1);MBX:=SMA((BX-50)*2,3,1)+SMA((AX-50)*2,3,1)/2;狗头金:=MBX<-90;狗头金综: 狗头金AND COUNT(XG,5) AND COUNT(中底,3) AND NOT(COUNT(XXG,1)) AND NOT(COUNT(见到曙光,3)) ANDCOUNT(老二,3) AND 大底 AND 爆发,NODRAW,COLORFF7080;STICKLINE(狗头金综,0,120,3,0),COLORFF7080;DRAWTEXT(狗头金综,120,'↙☆☆狗头金75%'),COLORFF7080;{11高精抄底75%}DIF:=EMA(CLOSE,12)-EMA(CLOSE,150);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;VAR7:=MACD<0 AND REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3) AND REF(MACD,3)<REF(MACD,4);VAR8:=MACD<0 AND REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3);VAR9:=MACD<0 AND REF(MACD,1)<REF(MACD,2);VAR10:=VAR7 OR VAR8 OR VAR9;D3:=VAR10;VAR016:=(VAR11 AND VAR12) OR (VAR12 AND VAR13) OR (VAR11 AND VAR13);D04:=VAR15 AND VAR16;趋势线:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;AA:=((REF(趋势线,1)<REF(趋势线,2) AND 趋势线<-30) AND 趋势线>=REF(趋势线,1)) OR (REF(CROSS(-30,趋势线),1) AND CROSS(趋势线,-30)) OR 趋势线=-30;BB:=((REF(趋势线,1)<REF(趋势线,2) AND 趋势线<-20 AND 趋势线>-25) AND 趋势线>=REF(趋势线,1)) OR (REF(CROSS(-20,趋势线),1) AND CROSS(趋势线,-20));D5:=BB;SHYY:=D2 AND D3 AND COUNT(D04,3)>=1 AND COUNT(D5,5)>=1;高精抄底:BARSLASTCOUNT(SHYY)=1,COLORE55B35;STICKLINE(高精抄底,0,110,3,0),COLORE55B35;DRAWTEXT(高精抄底,110,'↙高精抄底75%'),COLORE55B35;{12吉祥低吸75%}VARR2:=(2*CLOSE+HIGH+LOW)/4;VARR4:=LLV(LOW,5);VARR5:=HHV(HIGH,4);吉:=EMA((VARR2-VARR4)/(VARR5-VARR4)*100,4);祥:=EMA(0.667*REF(吉,1)+0.333*吉,2);获利比:=(WINNER(C*125/100)-WINNER(C))*100<7.5;吉祥低吸:CROSS(吉,祥) AND 吉<30 AND 获利比,COLOR93CB3F;STICKLINE(吉祥低吸,0,100,3,0),COLOR93CB3F;DRAWTEXT(吉祥低吸,100,'↙高精抄底75%'),COLOR93CB3F;{13抄底深套盘76%}深套:WINNER(C)*100<10 AND (WINNER(C*1.25)-WINNER(C))*100<20AND C/REF(C,1)>1.0138 AND V/REF(V,1)<1,COLOR802391;STICKLINE(深套,0,100,3,0),COLOR802391;DRAWTEXT(深套,100,'↙深套75%'),COLOR802391;{14大红马75%}VARR10:=EMA(WINNER(C)*70,3);VAR20:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,3);VAR30:=C/MA(C,40)*100<76;VAR40:=C/MA(C,60)*100<74;VAR50:=H>L*1.051;VAR60:=VAR50 AND COUNT(VAR50,5)>1;VAR70:=(WINNER(C*125/100)-WINNER(C))*100<7.5;VAR80:=1;TZB:=-0.2*(VAR60 AND (VAR30 OR VAR40) AND VAR20<20 AND VARR10<20 AND VAR70 AND VAR80);DHM:=TZB<0 AND REF(TZB,1)=0;风险值:=EMA (100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3)<=10;机会来临:=REF(IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,30,0),1);HJ_11:=CLOSE/MA(CLOSE,40);HJ_12:=CLOSE/MA(CLOSE,60)*100<71;大魔鬼:=CROSS(HJ_11,HJ_12) AND 风险值 AND 机会来临;大红马:DHM OR 大魔鬼,COLOR3369FF;STICKLINE(大红马,0,90,3,0),COLOR3369FF;DRAWTEXT(大红马,90,'↙大红马75%'),COLOR3369FF;{15逆市买入77%}VAR31A:=DMA(CLOSE,VOL/MA(VOL,4)/4);VAR32A:=DMA(CLOSE,VOL/MA(VOL,32)/32);VAR31:=(CLOSE-VAR31A)/VAR31A*100<-8;VAR32:=(VAR31A-VAR32A)/VAR32A*100<-21;VAR33:=(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.05;VAR34:=COUNT(NOT(C=O),8)>=8;逆市买入:VAR31 AND VAR32 AND VAR33 AND VAR34,COLOR588500;STICKLINE(逆市买入,0,80,3,0),COLOR588500;DRAWTEXT(逆市买入,80,'↙逆市买入77%'),COLOR588500;{16短线黑马-76%}VAR1C:=DMA(C,VOL/MA(VOL,4)/4);VAR2C:=DMA(C,VOL/MA(VOL,33)/33);VAR3C:=(C-VAR1C)/VAR1C*100<-11;VAR4C:=(VAR1C-VAR2C)/VAR2C*100<-22.3;VAR5C:=VAR3C AND VAR4C AND COUNT(C<>O,7);VAR6C:=DMA(C,VOL/MA(VOL,3)/3);VAR7C:=DMA(C,VOL/MA(VOL,33)/33);VAR8C:=(C-VAR6C)/VAR6C*100<-5;VAR9C:=(VAR6C-VAR7C)/VAR7C*100<-18;VARDC:=VAR8C AND VAR9C AND (O-REF(C,1))/REF(C,1)>-0.05;VAREC:=VARDC AND COUNT(VARDC,2)=1;DXHM:=VAR5C OR VAREC;趋势:=SMA(MAX(C-REF(C,1),0),8,1)/SMA(ABS(C-REF(C,1)),8,1);HMA:=CROSS(趋势,0.15);X_21:=(C-MA(C,25))/MA(C,45)*123;BAME:=CROSS(X_21,(-25)) AND C>REF(C,1);HJ_1:=C/MA(C,40);HJ_2:=C/MA(C,60)*100<71;MOGU:=CROSS(HJ_1,HJ_2);短线黑马:(DXHM AND HMA) OR (BAME AND MOGU),COLORF7A186;STICKLINE(短线黑马,0,70,3,0),COLORF7A186;DRAWTEXT(短线黑马,70,'↙短线黑马77%'),COLORF7A186;{17神剑出鞘-70%}T1:=(INDEXC-MA(INDEXC,58))/MA(INDEXC,58)<-0.152;T2:=(C-EMA(C,58))/EMA(C,58)<-0.19;买1:=T2 AND T1;T4:=(C-MA(C,2))/MA(C,2)*100;T5:=INDEXC;T6:=MA(T5,13);T7:=T6>1.050*T5;T8:=(C-REF(C,26))/REF(C,26)*10;T9:=T7;T10:=T8<-2.30;T11:=T4<-2.7;T12:=T9 AND T10 AND T11;T13:=CROSS(0.5,T12);T14:=CROSS(T13,0.5);T15:=BARSLAST(T14=1);T16:=T15<=5 AND C<REF(C,T15);买2:=T13 OR T16;T17:= (C-MA(C,2))/MA(C,2)*100;T18:=INDEXC;T19:=MA(T18,56);T20:=T18/T19<0.94;T21:=(C-REF(C,26))/REF(C,26)*10;T22:=T20;T23:=T21<-2.55;T24:=T17<-2.7;T25:=T22 AND T23 AND T24;T26:=CROSS(0.5,T25);T27:=CROSS(T26,0.5);T28:=BARSLAST(T27=1);T29:=T28<=5 AND C<1.02*REF(C,T28); 底4:=T26 OR T29;T30:= (C-MA(C,2))/MA(C,2)*100;T31:=INDEXC;T32:=MA(T31,13);T33:=T32>1.050*T31;T34:=(C-REF(C,26))/REF(C,26)*10;T35:=T33;T36:=T34<-2.69;T37:=T30<-3.09;T38:=T35 AND T36 AND T37;T39:=CROSS(0.5,T38);T40:=CROSS(T39,0.5);T41:=BARSLAST(T40=1);T42:=T41<=5 AND C<REF(C,T41);买3:=COUNT(T39 OR T42,4)=4;T43:=EMA(((C*1.1-LLV(LOW,630))/(HHV(HIGH,630)-LLV(LOW,630))-(C*0.9-LLV(LOW,630))/(HHV(HIGH,630)-LLV(LOW,630)))*80,5);T44:=INDEXC;T45:=MA(T44,5);T46:=MA(T44,20);T47:=MA(T44,30);T48:=T45>T44*1.03 AND T46>T44*1.13;T49:=T48;目标:=COUNT(T43<6 AND T49,3)>=3;新目标:=买3 OR 目标;SHYY1:=IF(((COUNT(买1 AND 底4,6)=6 OR COUNT(买1 AND 买2,4)=4 OR COUNT(买2 AND 底4,5)=5) OR 新目标),1,0);神剑出鞘:BARSLASTCOUNT(SHYY)=1,COLORFF0080;STICKLINE(神剑出鞘,0,60,3,0),COLORFF0080;DRAWTEXT(神剑出鞘,60,'↙神剑出鞘70%'),COLORFF0080;{18成功抄底-77%}AA1:=('999999$C'/REF('999999$C',20)-1)*100<-16 AND (C/REF(C,27)-1)*100<-35;A96:=FILTER(AA,3);VBR41:=1;VAR013:=V/CAPITAL;REC1:=REF(C,1);VBR42:=IF(EMA(C,5)/EMA(EMA(C,9),16)<=0.85 AND C/REC1>0.905 AND C/REC1<1.05 AND VAR13*100<5,50,0);VBR43:=(-100)*(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34))+100;VBR44:=(-100)*(HHV(H,50)-C)/(HHV(H,50)-LLV(L,50))+100;VBR45:=(-100)*(HHV(H,70)-C)/(HHV(H,70)-LLV(L,70))+100;VBR46:=((C-MA(C,34))/MA(C,34)*100+10)*5;VBR47:=((C-MA(C,50))/MA(C,50)*100+10)*5;VBR48:=((C-MA(C,70))/MA(C,70)*100+10)*5;VBR49:=(VBR43+VBR44+VBR45+VBR46+VBR47+VBR48)/6; VBR60:=EMA(VBR49,3);VBR61:=ABS(VBR46-VBR48);VBR62:=(VBR49+VBR61)/2;VBR50:=IF(VBR62<0 AND C=LLV(C,5) AND C/REC1>0.905 AND C/REC1<1.05 AND VAR13*100<5,-50,0);VBR53:=REF(C,2)*0.865;VBR54:=REF(C,13)*0.772;VBR55:=MIN(VBR53,VBR54);VBR56:=100*VAR013;VBR58:=IF((C-VBR55)/C<0.03 AND SUM(VBR56,5)/5<1.8,1,0);VBR59:=IF(VBR58>0 AND (VBR50<0 OR VBR42>0),100,0);VBR1F:=MA(C,80)-MA(C,10)/2.5;F98:=VBR59 AND C<VBR1F*VBR41;UAR13:=EMA(SLOPE(C,3)*20+C,66)*1;UAR14:=MA(C,80)-MA(C,10)/2.9;DQR1:=MA(C,80)-MA(C,13)/3;DQR2:=MA((C-DQR1)/DQR1,1);DQR3:=EMA(DQR2,12)*0.7;DQR4:=EMA(DQR2,3);底部将成:=IF(LLV(DQR4-DQR3,12)>0,0,-3);下降通道:=MA(C/2/(MA(C/2,30)*0.83),3)<1.045 AND REF(C,9)*0.8>O;ZAA1:=MA(C,18);ZAA2:=(C-ZAA1)/ZAA1*100;ZAA3:=MA(ZAA2,1);ZAA4:=BARSLAST(CROSS(-10,ZAA3)=1);信号滤:=IF(ZAA3<-10 AND ZAA4>=5,ZAA3,0)*1;DQSE:=(IF(WINNER(1.1*C)<0,0,WINNER(1.1*C))-IF(WINNER(0.9*C)<0,0,WINNER(0.9*C)))*100;DQS16:=IF(DQSE<0,0,DQSE);DQS17:=MA(C,35)-MA(C,5)/7;异动:=PWINNER(10,DQS16)<0.5 AND C<DQS17;C95:=C<UAR14 AND V/240>MA(V,5)/240 AND UAR13>REC1*1.08 AND UAR13<MA(UAR13,13)*1.91 AND 底部将成 AND 下降通道 AND 信号滤 AND 异动;成功抄底:A96 OR F98 OR C95,COLOR62B18A;STICKLINE(成功抄底,0,50,3,0),COLOR62B18A;DRAWTEXT(成功抄底,50,'↙成功抄底77%'),COLOR62B18A;{19MACD选股-77%}MA5:=MA(C,5);MA10:=MA(C,10);MA15:=MA(C,15);MA20:=MA(C,20);MA30:=MA(C,30);MA40:=MA(C,40);MA60:=MA(C,60);DIF2:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA2:=EMA(DIF2,9);MACD2:=(DIF2-DEA2)*2;上影线:=(H-MAX(C,O))/(MAX(C,O)-MIN(C,O));下影线:=(MAX(C,O)-L)/(MAX(C,O)-MIN(C,O));水上金叉:=REF(MACD2,3)=LLV(MACD2,10) AND REF(MACD2<0,3) AND EVERY(MACD2>REF(MACD2,1),2) AND CROSS(DIF2,DEA2) AND BETWEEN(HHV(MACD2,28)/ABS(LLV(MACD2,7)),0.5,1.8) ANDEVERY(DEA2>=0,50) AND NOT(REF((O<MA20 AND C>MA5),2)) AND NOT(O=L) AND NOT(REF(O=L,2)) AND NOT(O>MA5 AND L<=MA5) AND NOT(REF(H=MA5,3)) AND REF(下影线<5.24,3)AND NOT(REF(C=L,3)) AND V>REF(V,1)*1.51 AND NOT(C<O) AND NOT(REF(CROSS(MA15,MA10),2)) AND NOT(REF(L<MA5 AND O>MA10 AND O>C,1)) AND NOT(REF(CROSS(MA10,MA5),2));水下金叉:=REF(MACD2,3)=LLV(MACD2,11) AND REF(MACD2<0,3) AND EVERY(MACD2>REF(MACD2,1),2) AND CROSS(DIF2,DEA2) AND EVERY(DEA2<0,14) AND BETWEEN(V,MA(V,10)*0.662,MA(V,10)*0.75)AND BETWEEN(HHV(MACD2,28)/ABS(LLV(MACD2,7)),0.8,1.9) AND NOT(CROSS(MA15,MA20)) AND NOT(C=O) AND NOT(REF(CROSS(MA20,MA10),3)) AND NOT(CROSS(MA20,MA10)) ANDNOT(H>MA10 AND CROSS(C,MA10)) AND NOT(H>MA20 AND L<MA5) AND NOT(REF(H>MA20 AND L<MA5,1)) AND NOT(REF(CROSS(MA20,MA10),2)) AND 下影线<15.99 AND NOT(REF(CROSS(MA15,MA10),1)) AND NOT(O=L) AND REF(下影线<8.24,2) AND NOT(REF(L<MA5 AND CROSS(C,MA10),1)) AND REF(下影线<5.99,1);金叉:=水上金叉 OR 水下金叉;底0:=BETWEEN(LLV(MACD,30),-0.0002,-0.6) AND REF(CROSS(DIF,DEA) AND BETWEEN(V,MA(V,10)*0.35,MA(V,10)*0.75) ,3) AND CROSS(MA5,MA10) AND BETWEEN(V,REF(V,1)*0.6,REF(V,1)*1.2) AND NOT(O<MA30 AND C>MA30 AND C>MA20) AND NOT(L<MA5 AND L<MA30 AND C>MA5) AND NOT(CROSS(MA15,MA30)) AND NOT(CROSS(MA20,MA30)) ANDC>O AND 下影线<3.27AND 上影线<7.74 AND NOT(H>MA20 AND O<MA15 AND MA20>MA15) AND NOT(CROSS(MA5,MA30) AND CROSS(MA5,MA20) AND CROSS(MA5,MA15)) AND NOT(C>MA40 AND L<MA30 AND MA40>MA30)AND NOT(REF(CROSS(MA10,MA5) AND C>MA60 AND L<MA60,4)) AND NOT(CROSS(MA5,MA30)) AND NOT(CROSS(MA20,MA40)) AND NOT(REF(V>REF(V,1)*2.22,1)) AND NOT(REF(C=O,3))AND NOT(REF(CROSS(MA5,MA15),1)) ;底1:=底0 AND NOT(REF(CROSS(MA20,MA10),3)) AND NOT(REF(CROSS(MA10,MA5),3)) AND NOT(REF(O>MA10 AND L<MA5 AND MA10>MA5 AND C<O,2))AND NOT(REF(H>MA20 AND O<MA15,1)) AND REF(下影线<22.99,1) AND NOT(REF(CROSS(C,MA10) AND CROSS(C,MA15),1)) AND REF(上影线<35.99,2);MACD选股:金叉 OR 底1,COLORFF00FF;STICKLINE(MACD选股,0,40,3,0),COLORFF00FF;DRAWTEXT(MACD选股,40,'↙MACD选股77%'),COLORFF00FF;{20大周期底部73%-满回塘}L40:=MA(C,40);L60:=MA(C,60);VVAR01:=CLOSE/L40*100<78;VVAR02:=CLOSE/L60*100<74;VVAR03:=HIGH>(LOW*1.051);VVAR04:=VAR03 AND COUNT(VAR03,5)>1;VVAR05:=CLOSE/HHV(HIGH,BARSCOUNT(CLOSE>0))*100;DJH:=IF((REF(C,13)-CLOSE)/REF(C,13)*100*VVAR02>15AND SUM(VOL/CAPITAL,13)*100<18 ANDVOL/CAPITAL*100<2.5AND (REF(C,1)-CLOSE)/REF(C,1)*100<8 AND VVAR05<=50 AND VVAR04AND (VVAR01 OR VVAR02),1,0);大周期底部:FILTER(DJH,6)NODRAW,COLORLICYAN;STICKLINE(大周期底部,0,30,3,0),COLORFF00FF;DRAWTEXT(大周期底部,30,'↙大周期底部73%'),COLORFF00FF;。
【通达信】抄底指标
【通达信】抄底指标VAR1:=(CLOSE+HIGH+LOW+OPEN)/4;VAR2:=SUMBARS(VOL,CAPITAL);VAR3:=HHV(VAR1,VAR2);VAR4:=LLV(VAR1,VAR2);VAR5:=(2*VAR1-VAR4-REF(VAR4,1))/(VAR3-VAR4);VAR6:=(VAR1-VAR4)/(VAR3-VAR4);VAR7:=IF(VAR1<=VAR4,VAR5*60,VAR6*60);VAR8:=600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30);VAR9:=EMA(VAR8,7);VARC:=HHV(HIGH,9)-LLV(LOW,9);VARD:=HHV(HIGH,9)-CLOSE;VARE:=CLOSE-LLV(LOW,9);VARF:=VARD/VARC*100-70;VAR10:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;VAR11:=(2*CLOSE+HIGH+LOW)/4;VAR12:=SMA(VARE/VARC*100,3,1);VAR13:=LLV(LOW,34);VAR14:=SMA(VAR12,3,1)-SMA(VARF,9,1);VAR15:=IF(VAR14>100,VAR14-100,0);VAR16:=HHV(HIGH,34);VAR17:=EMA((VAR11-VAR13)/(VAR16-VAR13)*100,8);VAR18:=EMA(VAR17,5);STICKLINE(VAR17-VAR18>0,VAR17,VAR18,8,1),COLORRED ;STICKLINE(VAR17-VAR18<0,VAR17,VAR18,8,1),COLORGREEN ;Q1:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100;Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW,18))*100;Q3:=SMA(Q2, 9, 1);Q4:=SMA(Q3, 3, 1);AA:3*Q3-2*Q4 ,COLORYELLOW;Q5:=AA>1*REF(AA, 1);Q6:=LLVBARS(LOW, 50);Q7:=SUM(VOL, Q6);Q8:=HHVBARS(HIGH, 50);Q9:=SUM(VOL, Q8);Q10:=(CLOSE-REF(OPEN, Q8))/REF(OPEN, Q8)*100;Q11:=HHV(AA,5);A1:EMA(Q3, 3) , COLORFFDDCC;A2:EMA(A1, 3) , COLORFFBBCC;A3:=EMA(A2, 3) , COLORFF99CC;A4:=EMA(A3, 3) , COLORFF55CC;A5:=EMA(A4, 3) , COLORFF33CC;A6:=EMA(A5, 3) , COLORFF11CC;A:EMA(A4, 3), COLORFF00CC;关注:IF(CROSS(AA, 20) AND Q10<-13,10,0), COLOR00FF00;DRAWICON(CROSS(AA, A5) AND REF(AA,1)<34,REF(AA,1),1), COLORRED ;DRAWICON(CROSS(A1, AA) AND REF(AA,1)>80, REF(AA,3), 5), COLORCFB53B ;DRAWICON(CROSS(AA, A1) AND Q5 AND A1<20 AND Q1>9 OR A1>1*REF(A1, 1)AND Q1>4 AND A1<60, 30, 7), COLORFFFFCC;极品底:IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,5,0),COLORRED;买:IF(CROSS(AA,VAR18) AND18>REF(AA,1),10,0),COLORMAGENTA,LINETHICK2;卖:IF(CROSS(VAR17,AA) AND REF(AA,1)>80,85,90)COLORGREEN;V1:=C/MA(C,40)*100<78;V2:=C/MA(C,60)*100<74;V3:=H>L*1.03;V4:=V3 AND COUNT(V3,5)>1;绝底:=V4 AND (V1 OR V2) AND C<MA(C,10)/1.1 AND V/REF(V,1)<1 AND "BIAS.BIAS1"<-20 OR "BIAS.BIAS2"<-20 OR "BIAS.BIAS3"<-20,LINETHICK0;郑云绝底:IF(绝底>0,-5,0),STICK;郑云绝底2:IF(绝底=1,-3,0),STICK;10;80;。
通达信抄底逃顶没错指标公式
通达信抄底逃顶没错指标公式BIAS1W :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100; BIAS2W :=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100; BIAS3W :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100; MM:=(BIAS1W+2*BIAS2W+3*BIAS3W)/6;MN:=MA(MM,3);VAR24:=LLV(LOW,36);VAR25:=HHV(HIGH,30);VAR26:=EMA((CLOSE-VAR24)/(VAR25-VAR24)*4,4)*25; 底背离:IF(MN<-4 ,17,0),COLORA67D3D,LINETHICK3;顶背离: IF((VAR26>90),17,0), COLOR6B238E,LINETHICK3; IF(MN<-4 ,12,0),COLORBLACK,LINETHICK3;IF((VAR26>90),12,0), COLORBLACK,LINETHICK3; DRAWTEXT(底背离,6,'底背离'),COLORA67D3D; DRAWTEXT(顶背离,6,'顶背离'),COLORGREEN;N:=20;MID:=MA(C,N);VART1:=POW((C-MID),2);VART2:=MA(VART1,N);VART3:=SQRT(VART2);UPPER:=MID+2*VART3;LOWER:=MID-2*VART3;BOLL:=REF(MID,1);UB:=REF(UPPER,1);LB:=REF(LOWER,1);LOWER1:=MID-VART3;LB1:=REF(LOWER1,1);股价线:(C-LB1)/(UB-LB)*100,COLORGREEN, LINETHICK1; 趋势线:MA(股价线,6),COLORRED, LINETHICK3;90,COLORGREEN, LINETHICK1;50,COLORWHITE, LINETHICK1;0,COLORWHITE, LINETHICK1;VARC:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1);准备建仓:EMA(IF(L<= LLV(L,30),VARC,0),3),COLORFF00FF,LINETHICK2;VARO5:=LLV(LOW,27);VARO6:=HHV(HIGH,34);VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;建仓区: IF((VARO7<10),80,100) ,COLORFFFF00,LINETHICK3;IF((VARO7<10),85,100) ,COLORBLACK,LINETHICK2;下单: IF(CROSS(3*SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1),3,1),10),38,0),STICK ,COLORYELLOW, LINETHICK4;DRAWTEXT(下单,38,'下单!'),COLORGREEN;BIAS1:=(C-MA(C,6))/MA(C,6)*100;BIAS2:=(C-MA(C,12))/MA(C,12)*100;BIAS3:=(C-MA(C,24))/MA(C,24)*100;BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;乖离1:=MA(BIAS,3);乖离:IF(CROSS(BIAS,乖离1) AND 乖离1<-9,28,0),COLORRED,LINETHICK2;IF(CROSS(BIAS,乖离1) AND 乖离1<-9,18,0),COLORRED,LINETHICK2;STICKLINE(CROSS(BIAS,乖离1) AND 乖离1<-9,-12,0,6,0),COLORYELLOW;DRAWTEXT(乖离,18,'低买'),COLORRED;TRJ:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),5);HD:=(HIGH - REF(HIGH,1));LD:=(REF(LOW,1) - LOW);DMP:=(SUM(IF(((HD > 0) AND (HD > LD)),HD,0),5) );DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),5);神偷线:=(((DMP ) * 100) / TRJ);辅助线:=((DMM * 100) / TRJ);动向趋势线:=(MA(((ABS((辅助线 - 神偷线)) / (辅助线 + 神偷线)) * 100),3));ADXR:=((动向趋势线 + REF(动向趋势线,3)) / 2);VAR3:=MA(CLOSE,2);VAR7:=REF(VAR3,1);【强弱】:=((SMA(MAX((VAR3 - VAR7),0),5,1) / SMA(ABS((VAR3 - VAR7)),5,1)) * 100);快买:( IF(((动向趋势线> 88) AND (神偷线< 5.8)),68,0)),LINETHICK1,COLORFF00FF;( IF(((动向趋势线> 88) AND (神偷线< 5.8)),48,0)),LINETHICK1,COLORFF00FF;DRAWTEXT(快买,60,'准备'),COLORFF00FF;MA2:=EMA(C,2);MA5:=EMA(C,5);MA13:=EMA(C,13);MA30:= EMA(C,30);MA55:=EMA(C,55);YCX:=MA5>=REF(MA5,1);H1:=MA X(MAX(MA5,MA13),MA30);L1:=MIN(MIN(MA5,MA13),MA30);一阳穿三线:= H1<C AND O<L1 AND YCX AND MA2>REF(MA2,1);满仓选股:IF(一阳穿三线,88,0),COLORFFFF00,LINETHICK2;IF(一阳穿三线,58,0),COLORFFFF00,LINETHICK2;DRAWTEXT(一阳穿三线,88,'满仓'),COLORYELLOW;VAR2:=0.0001*AMOUNT,;MA1:=0.0001*MA(AMOUNT,5);M2:=0.0001*MA(AMOUNT,10);百日地量:LLV(VAR2,100)=VAR2,STICK,COLORRED,LINETHICK0;DRAWTEXT(百日地量,-10,'地量'),COLORRED;DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); {选股设JC=10即可}DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);A:=IF(CROSS(0,DEA),1,0);A1:=IF(DIFF<0 AND CROSS(DIFF,DEA),1,0);SS:=IF(A,SUM(A1,0),0);SSB:=HHV(SS,0);SSS:=SUM(A1,0);JC:IF(SSS-SSB=2 AND SSS>REF(SSS,1),-22,0),LINETHICK2,COLORFFFF00;IF(SSS-SSB=2 AND SSS>REF(SSS,1),-12,0),LINETHICK2,COLORFFFF00;DRAWTEXT(A1,-10,'W底'),COLORYELLOW;VAR1:=(CLOSE*2+HIGH+LOW)/4;SK:= EMA(VAR1,13)-EMA(VAR1,73);SD:= EMA(SK,2);V1:(CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03)OR (CROSS(SK,SD) AND SK<=-0.14 ) OR (CROSS(SK,SD) AND SK<=0.05AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035));IF(V1,28,0),COLORYELLOW,LINETHICK2;IF(V1,18,0),COLORYELLOW,LINETHICK2;DRAWTEXT(V1,28,'买点'),COLORRED;AA05:=MA(C,5);五日乖离率:=(C-AA05)/AA05*100;BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;速度5:=SMA(EMA((AA05-REF(AA05,1))/REF(AA05,1),3)*100,3,1);加速度5:=EMA((速度5-REF(速度5,1)),3);AA10:=MA(C,10);AA20:=MA(C,20);BB10:=ATAN((AA10/REF(AA10,1)-1)*100)*180/3.1416;AA30:=MA(C,30);三拾日乖离率:=(C-AA30)/AA30*100;(AA20-AA30)>REF((AA20-AA30),1) AND AA20>REF(AA20,1) AND AA30>REF(AA30,1);(AA30-AA20)<REF((AA30-AA20),1) AND AA20<REF(AA20,1) AND AA30<REF(AA30,1);BB30:=ATAN((AA30/REF(AA30,1)-1)*100)*180/3.1416;强势狙击选股:FILTER(BB30>30 AND BB10>45 AND CROSS(BB05,60),10);加仓:=FILTER(COUNT(CROSS(BB05,30),5)>=1 ANDAA05>REF(AA05,1) AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA10>REF(AA10,1)AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10) ;MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA05>REF(AA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<AA30;青云直上选股:IF(FILTER(MR,10),30,0),COLORYELLOW,LINETHICK2;IF(FILTER(MR,10),20,0),COLORYELLOW,LINETHICK2;DRAWTEXT(青云直上选股,30,'青云直上'),COLORGREEN;QUAN:(CLOSE-DMA(CLOSE,VOL/SUM(VOL,13)))/DMA(CLOSE,VOL/SUM(VOL,13 ))*100<=-28 AND (CLOSE-DMA(CLOSE,VOL/SUM(VOL,34)))/DMA(CLOSE,VOL/SUM(VOL,34 ))*100<=-19AND C/REF(C,25)<=1.1 AND IF((((HIGH > (LOW * 1.051)) AND (COUNT((HIGH > (LOW * 1.051)),5) > 1)) AND ((((CLOSE / MA(CLOSE,40)) * 100) < 78) OR(((CLOSE / MA(CLOSE,60)) * 100) < 74))),2,0) AND(SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100)<15 AND IF(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1)>REF(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1),1)AND REF(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1),1)<REF(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1),2)AND SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1)<23 ,1.5,0) AND FILTER((C/MA(C,48))<0.75 AND (C/MA(C,70))<0.70 AND((C-L)/C>0.02 OR C>REF(C,1)*1.01) AND V<REF(V,1)*2.8 AND (COUNT(C<O*0.93,2)=2 OR COUNT(H/L>1.1,5)>3),3) ;DRAWTEXT(QUAN,88,'弱市百发百中'),COLORFFFF00;IF(QUAN,88,0),COLORFFFF00,LINETHICK2;IF(QUAN,60,0),COLORFFFF00,LINETHICK2;AA:=1;BB:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;CC:=IF(AMOUNT/C/HHV(AMOUNT,9)/HHV(C,9)*100>100,1 00,AMOUNT/C/HHV(AMOUNT,9)/HHV(C,9)*100);DD:=CC/BB;顶部雷达:CROSS(80,RSI)*88,LINETHICK2 ,COLORGREEN; CROSS(80,RSI)*58,LINETHICK2 ,COLORGREEN; DRAWTEXT(CROSS(80,RSI),88,'逃顶 '),COLORGREEN;。
通达信精准抄底副图指标公式
M:=-15;P:=-20;VAR1:=((LLV(LOW,5) = LLV(LOW,45)) AND (CLOSE >= (OPEN * 1.04)));VAR2:=(CLOSE > ((REF(HIGH,1) + REF(LOW,1)) / 2));VAR3:=REF(CLOSE,1);VAR4:=((SMA(MAX((CLOSE - VAR3),0),6,1) / SMA(ABS((CLOSE - VAR3)),6,1)) * 100);红白出现可追涨:(VAR1 AND VAR2)*80,STICK,COLORFFFFFF;R1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;R2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;R3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;R4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;R5:=(R2+2*R3+3*R4)/6;R6:=MA(R5,3);VAR1A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR2A:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VAR3A:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VAR4A:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VAR5A:=(VAR2A+2*VAR3A+3*VAR4A)/6;VAR6A:=MA(VAR5A,3);绿白出现可以买: STICKLINE(VAR6A<=P,60,0,2,0),COLORGREEN;BIAS := (CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*100;ENTERLONG:=CROSS(-14,BIAS);青白出现可以买:STICKLINE(ENTERLONG,0,99,1,0),COLORCYAN;MID := MA(CLOSE,26);LOWER:= MID - 2*STD(CLOSE,26);EN:=CROSS(CLOSE,LOWER);紫白出现可追涨:STICKLINE(EN,0,40,4,0),COLORFF00FF;VAR2W:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));MW:= EMA(VAR2W,3);VAR3W:=EMA(VAR2W,7);M1:= EMA(VAR3W,5);MB1:=CROSS(MW,M1) AND M1<20;黄白出现可追涨:IF((MB1),90,0),STICK,COLORYELLOW;VAD1:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,5);VAD2:=INDEXC;VAD3:=INDEXC;VAD4:=CLOSE/MA(CLOSE,50)<0.74;VAD5:=(CLOSE/MA(CLOSE,40)<0.78 OR CLOSE/MA(CLOSE,60)<0.74) AND HIGH>LOW*1.049;VAD6:=EMA(WINNER(CLOSE)*70,3);VAD7:=CLOSE/MA(CLOSE,40);VAD8:=MA(VAD2,6);VAD9:=MA(VAD3,6);VAD10:=HIGH>LOW*1.048;VAD11:=MA(CLOSE,27)/CLOSE>1.169 AND MA(CLOSE,17)/CLOSE>1.158 ANDCLOSE/COST(5)<=0.8;VAD12:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);VAD13:=LOW*1.051<HIGH;VAD14:=MA(VAD2,24);VAD15:=MA(VAD3,24);VAD16:=VAD10 AND COUNT(VAD10,4)>2;VAD17:=EMA(CLOSE,30);VAD18:=CLOSE/MA(CLOSE,40)*100<76;VAD19:=VAD13 AND COUNT(VAD13,5)>1;VAD20:=MA(VAD2,32);VAD21:=MA(VAD3,32);VAD22:=VAD16 AND (VAD4 OR VAD4);VAD23:=VAD5 AND VAD11 AND VAD17;VAD24:=CLOSE/MA(CLOSE,60)*100<74;VAD25:=INDEXC;VAD26:=MA(VAD2,62);VAD27:=MA(VAD3,62);VAD28:=DMA(EMA(CLOSE,10),SUM(VOL,5)/3/CAPITAL);VAD29:=HIGH>LOW*1.051;VAD30:=MA(VAD25,5);VAD31:=MA(VAD2,105);VAD32:=MA(VAD3,105);VAD33:=REF(HIGH,10)/CLOSE>1.26;VAD34:=VAD29 AND COUNT(VAD29,5)>1;VAD35:=MA(VAD25,20);VAD36:=VAD26<REF(VAD26,1) AND VAD31<REF(VAD31,1) AND VAD26<VAD31*0.98; VAD37:=VAD27<REF(VAD27,1) AND VAD32<REF(VAD32,1) AND VAD27<VAD32*0.98; VAD38:=CLOSE/VAD28<0.65 AND VAD33;VAD39:=VAD34 AND (VAD18 OR VAD24) AND VAD12<20 AND VAD6<20 AND (WINNER(CLOSE*125/100)-WINNER(CLOSE))*100<7.5;VAD40:=(VAD1<6 AND VAD7<0.76 AND VAD19)*70;VAD41:=VAD20>VAD8*1.11 AND VAD14>VAD8*1.095;VAD42:=VAD21>VAD9*1.11 AND VAD15>VAD9*1.095;VAD43:=REF(CLOSE,8);VAD44:=VAD8>VAD2*0.95;VAD45:=VAD9>VAD3*0.95;VAD46:=VOL/CAPITAL;VAD47:=VAD36 AND VAD41 AND VAD44 AND CLOSE/COST(8)<=0.8 AND (CLOSE>OPEN OR CLOSE<OPEN) AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)); VAD48:=CLOSE/MA(CLOSE,48)*100<67;VAD49:=(EMA(CLOSE,28)-EMA(CLOSE,13))/EMA(CLOSE,28);VAD50:=CLOSE/MA(CLOSE,50)*100<69;VAD51:=CLOSE/VAD43<0.79 AND MA(VAD46,5)<0.02 AND VAD49>0.06;VAD52:=HIGH>LOW*1.078;VAD53:=VAD22 AND (VAD38 OR VAD51);VAD54:=VAD52 AND COUNT(VAD52,4)>2;VAD55:=VAD54 AND (VAD48 OR VAD50) OR VAD37 AND VAD42 AND VAD45 AND CLOSE/COST(8)<=0.8 AND (CLOSE>OPEN OR CLOSE<OPEN) AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1));AA:=VAD23 OR VAD39 OR VAD40 OR VAD47 OR VAD53 OR VAD55 OR (CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100<-15 AND (MIN(OPEN,CLOSE)-LOW)/LOW*100>0.1 AND MA((HHV(HIGH,5)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,13))*100,5)<60;STICKLINE(AA,0,99,1,0),COLORCYAN;VAR1B:=INDEXC;VAR2B:=MA(VAR1B,6);VAR3B:=MA(VAR1B,24);VAR4B:=MA(VAR1B,32);VAR5B:=MA(VAR1B,62);VAR6B:=MA(VAR1B,105);VAR7B:=VAR5B<REF(VAR5B,1) AND VAR6B<REF(VAR6B,1) AND VAR5B<VAR6B*0.98; VAR8B:=VAR4B>VAR2B*1.11 AND VAR3B>VAR2B*1.095;VAR9B:=VAR2B>VAR1B*0.95;中:=VAR7B AND VAR8B AND VAR9B AND CLOSE/COST(10)<=1 AND(CLOSE>OPEN OR CLOSE<OPEN) AND (REF(CLOSE,1)>REF(OPEN,1) ORREF(CLOSE,1)<REF(OPEN,1));VAR1N:=MA(CLOSE,5);VAR2N:=MA(CLOSE,10);VAR3N:=(VAR1N-CLOSE)/CLOSE>3/100;VAR4N:=(VAR2N-VAR1N)/VAR1N>0.03;VAR5N:=LLV(CLOSE,30)=LLV(CLOSE,120);部:=VAR3N AND VAR4N AND VAR5N;{绿白出现可以买}门:=中=1 AND 部=1 ;STICKLINE(门,60,0,2,0),COLORGREEN;底部:IF(R6<M,20,0),LINETHICK1 , COLORWHITE;。
通达信8个经典抄底逃顶指标公式
通达信注意抄底逃顶指标公式来源:Internet,编辑:股旁网,2019-10-05Var1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100; Var2:=SMA(Var1,3,1);Var3:=SMA(Var2,3,1);Var4:=SMA(Var3,3,1);波: Var3;段: Var4;Var6:=CROSS(Var3,Var4) AND Var3<20;DRAWTEXT(FILTER(Var6,10)=1,40,'抄底'),LINETHICK3 ;STICKLINE(FILTER(Var6,10)=1,0,30,10,0),COLORGREEN ;Var7:=CROSS(Var4,Var3) AND Var3>80;STICKLINE(FILTER(Var7,5)=1,80,100,10,0),COLORYELLOW ; DRAWTEXT(FILTER(Var7,5)=1,70,'逃顶'),LINETHICK3 ,COLORYELLOW; Var8:=CROSS(Var2,Var3) AND Var3>80 AND Var3>Var4; STICKLINE(Var8,85,100,10,0) ;90 ;0;通达信借钱抄底指标公式来源:Internet,编辑:股旁网,2019-09-18VAR1:=(CLOSE+HIGH+LOW+OPEN)/4;VAR2:=SUMBARS(VOL,CAPITAL);VAR3:=HHV(VAR1,VAR2);VAR4:=LLV(VAR1,VAR2);VAR5:=(2*VAR1-VAR4-REF(VAR4,1))/(VAR3-VAR4);VAR6:=(VAR1-VAR4)/(VAR3-VAR4);VAR7:=IF(VAR1<=VAR4,VAR5*60,VAR6*60);VAR8:=600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30);VAR9:=EMA(VAR8,7);VARA:=(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))*100;VARB:=(-100)*(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))+5;波段买入: IF(VARA+VARB<7 AND CROSS(VAR8,VAR9) AND VAR9<-18 AND VAR9<VARB,60,50),COLORYELLOW , ; DRAWICON(波段买入=60,70,1),COLORRED;VARC:=HHV(HIGH,9)-LLV(LOW,9);VARD:=HHV(HIGH,9)-CLOSE;VARE:=CLOSE-LLV(LOW,9);VARF:=VARD/VARC*100-70;VAR10:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;VAR11:=(2*CLOSE+HIGH+LOW)/4;VAR12:=SMA(VARE/VARC*100,3,1);VAR13:=LLV(LOW,34);VAR14:=SMA(VAR12,3,1)-SMA(VARF,9,1);VAR15:=IF(VAR14>100,VAR14-100,0);VAR16:=HHV(HIGH,34);VAR17:EMA((VAR11-VAR13)/(VAR16-VAR13)*100,8);VAR18:=EMA(VAR17,5);STICKLINE(VAR17>0 AND VAR17-VAR18>=0,79,80,6,0), ,COLORRED ;STICKLINE(VAR17>0 AND VAR17-VAR18<0,79,80,6,1), ,COLOR00FF00 ;STICKLINE(VAR17>0 AND VAR17-VAR18>=0,19,20,6,0),COLORRED, ;STICKLINE(VAR17>0 AND VAR17-VAR18<0,19,20,6,1), ,COLOR00FF00 ;STICKLINE(VAR17-VAR18>0,VAR17,VAR18,8,1), ,COLORRED ;STICKLINE(VAR17-VAR18<0,VAR17,VAR18,8,1), ,COLOR00FF00 ;VAR22:=REF(LOW,1);VAR23:=SMA(ABS(LOW-VAR22),3,1)/SMA(MAX(LOW-VAR22,0),3,1)*100;VAR24:=EMA(IF(CLOSE*1.3,VAR23*10,VAR23/10),3);VAR25:=LLV(LOW,30);VAR26:=HHV(VAR24,30);VAR27:=IF(MA(CLOSE,58),1,0);VAR28:=EMA(IF(LOW<=VAR25,(VAR24+VAR26*2)/2,0),3)/618*VAR27;VAR29:=IF(VAR28>100,100,VAR28);STICKLINE(VAR29>-150,0,VAR29,3,0), , COLORFF00FF;底部吸筹指标: (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100, , COLOR00FF00;STICKLINE(CROSS(底部吸筹指标,-24),100,0,6,0), , COLORFFFFFF;先知: (CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100, , COLORFF00FF;可能放量拉升: IF(CROSS(底部吸筹指标,-24),1,0), , COLORFFFFFF;VARK1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;VARK2:=REVERSE(VARK1);VARK3:=SMA(VARK1,3,1);波段王:=SMA(VARK3,3,1), , COLORRED,LINETHICK2;波段鬼:=SMA(波段王,2.5,1),COLORYELLOW,LINETHICK2;趋势线: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), ,COLORFF6666,LINETHICK2;{股旁网 }RSV9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K1:=SMA(RSV9,3,1);DK1:=K1-REF(K1,1),COLORSTICK;买点准备:IF(趋势线<=10,0,10), COLORFF9933,LINETHICK3;STICKLINE( CROSS(趋势线,10),0,73,6,0), COLOR3366FF,;DRAWTEXT(IF(CROSS(趋势线,10),100,0),68,'抄底'),COLORWHITE ;DRAWTEXT(IF(CROSS(10,趋势线),1,0), 10,'$借钱'),COLOR33FFCC,;{目前位置:对当前股票所处的技术位置进行评价,可对是否介入作出辅助判断}RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;通达信精确买指标公式来源:Internet,编辑:股旁网,2019-07-16BB:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);分水岭:=IF(MA(CLOSE,17)<BB,BB,MA(CLOSE,17));操作线:=分水岭-(EMA(C,3)-分水岭);RR1:=MA(CLOSE,27);RR2:=(CLOSE-RR1)/RR1*100;RRA:=MA(RR2,2);RRB:=BARSLAST(CROSS(-10,RRA)=1);RRD:=RRA<-10 AND RRB>3;STICKLINE(IF(RRD,-120,0),-120,0,8,0),COLOR33FFFF;黄金坑:IF(RRD,-120,0),COLOR00FF66,COLORLIBLUE,LINETHICK2;TYP := (HIGH + LOW + CLOSE)/3;CCI14:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),COLORRED,LINETHICK2; 强势线:100,LINETHICK2;低位线: -100,COLORRED,LINETHICK2;VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;VAR400:=EMA(VAR300,5);VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;VAR2:=LLV(LOW,20);VAR3:=HHV(HIGH,20);操盘:=3*VAR300-2*VAR400;PS1:=CROSS(操盘,VAR300) AND VAR300<2.1 AND C>O;STICKLINE(PS1 AND CROSS(分水岭,操作线),30,-100,3,0),COLORFF00FF; STICKLINE(PS1 AND CROSS(分水岭,操作线),30,-100,2,0),COLORFF66FF; STICKLINE(PS1 AND CROSS(分水岭,操作线),30,-100,1,0),COLORFF66CC; STICKLINE(PS1 AND CROSS(分水岭,操作线),30,-100,1,0),COLORFF99FF; STICKLINE(PS1 AND CROSS(分水岭,操作线),30,-100,1,0),COLORFFCCFF; STICKLINE(PS1 AND CROSS(分水岭,操作线),30,-100,1,0),COLOR00FFFF; STICKLINE(PS1 AND CROSS(分水岭,操作线),30,-100,0.3,0),COLOR66FF33; DRAWTEXT(PS1 AND CROSS(分水岭,操作线),42,'精确买'),COLORYELLOW; RV:=(CLOSE-LLV(LOW,35))/(HHV(HIGH,35)-LLV(LOW,35))*100;RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;J0:=(HIGH+LOW)/2;QJ:=EMA(J0,3);J1:=IF(CLOSE>QJ,VOL,0);J2:=IF(CLOSE<QJ,VOL,0);VAR44:=SMA(RV,3,1);VAR55:=SMA(VAR44,3,1);PS2:=EMA(SMA(RG,3,1),2),COLORFFFFFF;PS3:=SMA(PS2,3,1),COLOR00FFFF;通达信礼花升空指标公式来源:Internet,编辑:股旁网,2019-09-06Var2:=WINNER(CLOSE)*100;Var3:=CLOSE*VOL;Var4:=EMA((MA(Var3,4)/MA(VOL,4)+MA(Var3,6)/MA(VOL,6)+MA(Var3,13)/MA(VOL,13)+MA(Var3,24)/MA(VOL,24))/4,1);Var5:=1*Var4;Var6:=Var4*0.92;Var7:=EMA(CLOSE,34);Var8:=MA(Var7*1.12,5);Var9:=MA(Var7*0.82,5);VarA:=IF(DATE<1331231,1,0);VarB:=(MA(AMOUNT,5)*VarA/MA(VOL,5)/100-MA(AMOUNT,125)/MA(VOL,125)/100)/(MA(AMOUNT,5)/MA (VOL,5)/100)<(-0.4)*VarA;VarC:=CLOSE-REF(MA(CLOSE,20),11)<-2;VarD:=EMA(WINNER((LOW+HIGH)/2),10)*100;VarE:=EMA(WINNER(CLOSE),21)*100;VarF:=EMA(WINNER(CLOSE),34)*100;Var10:=STICKLINE(VarD>80,118,120,10,0);Var11:=STICKLINE(VarD>80 AND VarE>80 AND VarF>80,120,122,10,0);STICKLINE(VarE-REF(VarE,1)<0,VarE,0,1,0),color00ff00;STICKLINE(VarE-REF(VarE,1)>0,VarE,0,1,0),colorred;Var12:=SMA(AMOUNT/VOL/100,13,1)*1.15;Var13:=SMA(AMOUNT/VOL/100,13,1)*0.85;Var14:=CLOSE-REF(MA(CLOSE,20),11);彩色火焰: STICKLINE(VarB AND CLOSE<Var9,30,105,3,0),colorred;底:=EMA(EMA(LOW,5),10)*0.86;Var36:=HHV(HIGH,500);Var37:=LLV(LOW,500);Var38:=HHV(HIGH,250);Var39:=LLV(LOW,250);Var3A:=HHV(HIGH,125);Var3B:=LLV(LOW,125);Var3C:=MA((Var36*0.45+Var38*0.5+Var37+Var39+Var3B)/5,35);底线:=Var3C;STICKLINE(CLOSE<Var9 AND VarC AND VarB AND CLOSE<Var13 AND CLOSE<底线AND Var14<-1.5 or CROSS(CLOSE,底),95,30,5,0),colorff00ff;STICKLINE(CLOSE<Var9 AND VarB AND CLOSE<Var13 OR CLOSE<Var9 AND VarC AND VarB ORCLOSE<Var9 AND CLOSE<Var13 OR CLOSE<Var9 AND VarB AND CLOSE<Var13 OR VarB AND CLOSE<底线OR VarB AND VarC AND Var14<-1.5 OR VarB AND CLOSE<Var9 OR VarB AND Var14<-1.5 OR VarCAND CLOSE<Var13 OR CLOSE<底线AND Var14<-1.5 OR CLOSE<Var9 ANDVarC,60,30,1,0),colorffcccc;STICKLINE(VarC AND Var14<-1.5 AND VarD<20,30,50,2,0),coloryellow;STICKLINE(VarC AND CLOSE<底线,40,80,2,0),colorblue;Var17:=REF(CLOSE,1);Var18:=SMA(MAX(CLOSE-Var17,0),6,1)/SMA(ABS(CLOSE-Var17),6,1)*100; Var19:=SMA(MAX(CLOSE-Var17,0),12,1)/SMA(ABS(CLOSE-Var17),12,1)*100; Var1A:=SMA(MAX(CLOSE-Var17,0),24,1)/SMA(ABS(CLOSE-Var17),24,1)*100; LY1A: MA(Var18,2),colorwhite;LY2A: MA(Var19,4),colorff00ff;LY3A: MA(Var1A,6),color00ff00;Var1:=REF(CLOSE,1);RSI1:=SMA(MAX(CLOSE-Var1,0),6,1)/SMA(ABS(CLOSE-Var1),6,1)*100;RSI2:=SMA(MAX(CLOSE-Var1,0),12,1)/SMA(ABS(CLOSE-Var1),12,1)*100; RSI3:=SMA(MAX(CLOSE-Var1,0),24,1)/SMA(ABS(CLOSE-Var1),24,1)*100; BIAS2 :=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;Var1B:=BIAS2;Var1C:=RSI1-REF(RSI1,1);Var1D:=RSI2-REF(RSI2,1);Var1E:=5;Var1F:=-5;MM: IF(CROSS(RSI1,RSI2) AND Var1B<-4,15,0),colorffcc66;MN: IF(CROSS(RSI2,RSI1) AND Var1B>2,100,110),color0099ff;Var20:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;Var21:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;Var22:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;Var23:=IF(Var22<-6 AND Var21<-6 AND Var20<-6,15,0);Var24:=IF(Var21>6 AND Var20>6 AND Var21>6,110,120);13, POINTDOT;80, POINTDOT;通达信跟风高手指标公式来源:Internet,编辑:股旁网,2019-05-21平均持仓:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORMAGENTA,LINETHICK2;大额筹码集中度:WINNER(C)*100 ,COLORRED,LINETHICK2;小额筹码集中度:(WINNER(C*1.1)-WINNER(C*0.9))*100 ,COLORGREEN,LINETHICK2;强弱分界:80,COLORYELLOW;趋势线: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);XIAO1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);XIAO2:=SMA(ABS(LOW-XIAO1),13,1)/SMA(MAX(LOW-XIAO1,0),10,1);XIAO3:=EMA(XIAO2,10);XIAO4:=LLV(LOW,33);XIAO5:=EMA(IFF(LOW<=XIAO4,XIAO3,0),3);STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,6,0 ),COLOR000055;STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,5,0 ),COLOR000077;STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,4,0 ),COLOR000099;STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,3,0 ),COLOR0000BB;STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,2,0 ),COLOR0000DD;STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,1,0 ),COLOR0000FF;STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,6,0),COLOR005500;STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,5,0),COLOR007700;STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,4,0),COLOR009900;STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,3,0),COLOR00BB00;STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,2,0),COLOR00DD00;STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,1,0),COLOR00FF00;高手进场:IFF(XIAO5>REF(XIAO5,1),XIAO5,0),NODRAW,COLORRED;调整临界:IFF(XIAO5<REF(XIAO5,1),XIAO5,0),NODRAW,COLORGREEN;B1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(LOW,9))*100- 70;B2:=SMA(B1,9,1)+100;B3:=(C-LLV(L,9))/(HHV(H,9)- LLV(L,9))*100;B4:=SMA(B3,3,1);B5:=SMA(B4,3,1)+100;B6:=B5-B2;观望期:=IFF(B6>60,B6-60,0);TAI1:=MA(C,1)/MA(REF(C,13),8)*100;TAI2:=MA(FORCAST(TAI1,21),3);TAI3:=REF(TAI1,1);TAI4:=REF(TAI1,2);邰1:=LLV(LOW,8);邰2:=HHV(HIGH,13);股市黑客:= EMA((CLOSE-邰1)/(邰2-邰1)*100,5),COLORRED;升跌临界:= EMA(0.667*REF(股市黑客,1)+0.333*股市黑客,2),COLORGREEN;VAR1:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));VARD:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2));VARE:=(REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VARF:=(REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR10:=(REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR11:=(REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR12:=(REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR13:=(REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR14:=(REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR15:=(REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR16:=(REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR17:=(REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR18:=(REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 ORVAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9),COLORFFFF00;MACD:=(DIFF-DEA)*2;A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF> REF(DIFF,A1+1) AND CROSS(DIFF,DEA);顶背离:=REF(CLOSE,A2+1)< CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);①:IFF(REF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5)) /MA(C,5)>0.04 AND观望期==0 AND C> REF(C,1),1),44,0),LINETHICK1,COLORCYAN;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;②:IFF(REF(J,1)<0 AND J>0 AND TAI1>=TAI2 AND TAI3> TAI4,34,0),LINETHICK1,COLOR0000FF;③:IFF(REF(股市黑客,1)<=13&&CROSS(股市黑客,升跌临界)&&REF(MA(C,55),1)>REF(MA(C,55),2)&& (VAR19 OR REF(VAR19,1)),23,0),COLORBLUE;④:IFF(底背离,57,0),LINETHICK1,COLORBROWN;通达信波段擒龙指标公式来源:Internet,编辑:股旁网,2019-01-09VAR2:=REF(LOW,1);VAR3:=SMA(ABS(LOW-VAR2),13,1)/SMA(MAX(LOW-VAR2,0),13,1)*100;VAR4:=EMA(IF(CLOSE*1.2,VAR3*13,VAR3/13),13);VAR5:=LLV(LOW,34);VAR6:=HHV(VAR4,34);VAR7:=IF(LLV(LOW,55),1,0);VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;VAR9:=EMA(CLOSE,5);VAR10:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(-10);VAR11:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7*(-1);VAR12:=EMA(CLOSE,5)*(-1);STICKLINE(VAR8>REF(VAR8,1),0,VAR8,6,1),COLOR10FFFF,LINETHICK3;备钱:IF(VAR8>REF(VAR8,1),0,VAR8),COLOR0FFFFF;STICKLINE(VAR11>REF(VAR11,1),0,VAR11,6,1),COLORFFF810;界:0,COLORFFFFFF,LINETHICK1;XL1:=MA(LOW,2)*0.96;XL2:=MA(LOW,26)*0.85;XL3:=REF(XL1,1)<XL2 AND REF(XL1,1)<XL1 AND REF(XL1,1)<REF(XL1,2);STICKLINE(XL3,0,VAR8*3,8,0),COLORRED;启动:IF(XL3,0,VAR8*3),COLORRED;VA:=(2*C+H+L)/4;VB:=LLV(L,5);VC:=HHV(H,5);红线上穿买:EMA((VA-VB)/(VC-VB)*27,5),COLORRED;红线下穿卖:EMA(红线上穿买,3),COLORFFFF00;散户:= EMA(((2*CLOSE+HIGH+LOW)/4-LLV(LOW,5))/(HHV(HIGH,4)-LLV(LOW,5))*100,4);庄家:= EMA(0.667*REF(散户,1)+0.333*散户,2);DRAWTEXT(CROSS(散户,庄家) AND 散户<30,5,'低进'),COLOR00FF00;DRAWTEXT(CROSS(散户,庄家) AND 散户<30,7,'●'),COLORFFFFFF;DRAWTEXT(CROSS(庄家,散户) AND 散户>70,18,'高出'),COLOR00FF00;DRAWTEXT(CROSS(庄家,散户) AND 散户>70,21,'●'),COLOR00FF00;极品底:IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,23,0),LINETHICK2,COLORFF00FF; DRAWICON(极品底=23,23,1),LINETHICK2,COLORFFFFFF;RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;X:=LLV(J,2)=LLV(J,8);DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<19,3,'低进'),COLORFFFF00;DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<19,7,'▲'),COLORRED;DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<19,6,'▲'),COLORRED;DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<19,5,'↑'),COLORRED; QVAR1A:=((HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)))*(100)-10; QVAR1B:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100); QVAR1C:=SMA(QVAR1B,13,8);QVAR1D:=SMA(QVAR1A,21,8);机会来临:=SMA(QVAR1C,13,8),COLORRED;通达信黄金坑抄大底指标公式来源:Internet,编辑:股旁网,2018-04-03N:=14;MM:=6;RR8:=MA(CLOSE,27);RR9:=(CLOSE-RR8)/RR8*100;RRA:=MA(RR9,2);RRB:=BARSLAST(CROSS(-10,RRA)=1);RRD:=RRA<-10 AND RRB>3;黄金坑:IF(RRD,-35,0),COLORYELLOW,LINETHICK3;DRAWICON(RRD,-20,1);VAR1:=MA(CLOSE,27);VAR2:=(CLOSE-VAR1)/VAR1*100;VAR3:=MA(VAR2,2);VAR4:=BARSLAST(CROSS(-10,VAR3)=1);VAR5:=VAR3<-10 AND VAR4>3;贪嘴乐: IF(VAR3>REF(VAR3,1) AND VAR5 AND VAR3<-15,60,0),LINETHICK3,LINESTICK,COLORFFA2AF; DRAWICON(贪嘴乐>=1.6,35,1);VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;VAR400:=EMA(VAR300,5);操盘:=3*VAR300-2*VAR400;PS1:=CROSS(操盘,VAR300) AND VAR300<2.1 AND C>O;DRAWTEXT(黄金坑AND PS1,105,'B'),COLORRED;STICKLINE(黄金坑AND PS1,40,0,2,0),COLORYELLOW;VAR15:=CLOSE/REF(CLOSE,1)>1.011 OR CLOSE/REF(CLOSE,1)>1.011 OR CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12));买入XG:IF(FILTER(VAR15,28),70,0)LINETHICK2,COLORLIMAGENTA;获利1个点:=REF(C,1)*1.01,COLORRED,NODRAW;RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);短期底部:=LLV(OPEN,30);AA10A:=MA(CLOSE,10);AA12:=MA(CLOSE,12);BB10A:=((ATAN((AA10A - REF(AA10A,1))) * 3.1416) * 10);BB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) * 10);MA13:=MA(CLOSE,13);VAR6:=MA(VAR5,3);VAR7:=DMA(EMA(CLOSE,12),((SUM(VOL,5) / 3) / CAPITAL));VAR8:=(((CLOSE - VAR7) / VAR7) * 100);VAR9:=((((REF(VAR8,1) < (0 - 40)) AND (VAR8 > REF(VAR8,1))) AND (REF(VAR8,1) < REF(VAR8,2))) AND ((VAR8 - REF(VAR8,1)) >2.5));VARA:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VARB:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VARC:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VARD:=REF(CLOSE,1);VARE:=((SMA(MAX((CLOSE - VARD),0),5,1) / SMA(ABS((CLOSE - VARD)),5,1)) * 100);VARF:=(((HIGH + LOW) + CLOSE) / 3);VAR10:=((VARF - MA(VARF,14)) / (0.015 * AVEDEV(VARF,14)));VAR11:=(((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,110) / MA(VOL,110)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100))< (0 - 0.273));VAR12:=(((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.125));VAR13:=(VAR11 AND VAR12);VAR14:=((((VARA >= (0 - 45)) AND (VARA <= (0 - 10))) AND (VARB <= (0 - 15))) AND (VARC <= (0 - 20)));VAR16:=(VAR13 AND VAR15);VAR17:=1;VAB0:=531;VAB1:=1510000;VAB2:=VAB0 + VAB1; VAB3:=IF(DATE > VAB2,0,1);VARA12:=SMA(H,10,9)*VAB3; VARA13:=SMA(L,10,9)*VAB3; VAR18:=(CLOSE * VOL);VAR19:=EMA((((((MA(VAR18,4) / MA(VOL,4)) + (MA(VAR18,6) / MA(VOL,6))) + (MA(VAR18,13) / MA(VOL,13))) + (MA(VAR18,24) / MA(VOL,24))) / 4),1);VAR1A:=(1 * VAR19);VAR1B:=(VAR19 * 0.92);VAR1C:=EMA(CLOSE,34);VAR1D:=MA((VAR1C * 1.12),5);VAR1E:=MA((VAR1C * 0.82),5);VAR1F:=(CLOSE < VAR1E);VAR20:=((((((MA(AMOUNT,5) * VAR17) / MA(VOL,5)) / 100) - ((MA(AMOUNT,125) / MA(VOL,125)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100)) < ((0 - 0.4) * VAR17));VAR21:=HHV(HIGH,500);VAR22:=LLV(LOW,500);VAR23:=HHV(HIGH,250);VAR24:=LLV(LOW,250);VAR25:=HHV(HIGH,125);VAR26:=LLV(LOW,125);VAR27:=MA(((((((VAR21 * 0.45) + (VAR23 * 0.5)) + VAR22) + VAR24) + VAR26) / 5),35);VAR28:=MA((((VAR23 * 0.62) + VAR26) / 2),35);VAR29:=MA((((VAR23 * 0.75) + VAR26) / 2),18);VAR2A:=MA((((((VAR23 * 0.93) + (VAR27 * 2)) + (VAR28 * 1.8)) + (VAR29 * 1.5)) / 4),18);VAR2B:=MA(((((VAR21 * 0.95) + (VAR27 * 3)) + (VAR28 * 2)) / 3),35);VAR2C:=VAR27;VAR2D:=VAR28;VAR2E:=VAR29;VAR2F:=VAR2A;VAR30:=VAR2B;VAR31:=((CLOSE - REF(MA(CLOSE,20),11)) < (0 - 2));VAR32:=(INDEXA / 100000000);VAR33:=INDEXADV;VAR34:=INDEXDEC;VAR35:=((VAR18 / (VAR18 + VAR19)) * VAR17);VAR36:=((VAR19 / (VAR18 + VAR19)) * VAR17);VAR37:=EMA(VAR35,10);VAR38:=EMA(VAR36,10);VAR39:=EMA(VAR37,10);VAR3A:=EMA(VAR38,20);VAR3B:=EMA(VAR37,3);VAR3C:=EMA(VAR39,6);VAR3D:=EMA(VAR3A,2);VAR3E:=(VAR3C - VAR3D);VAR3F:=(((VAR3C - REF(VAR3C,1)) > 0) AND ((REF(VAR3C,1) - REF(VAR3C,2)) < 0));VAR40:=IF((CROSS(VAR3B,VAR3C) AND (VAR3C <= 20)),30,0);VAR41:=VAR40;VAR42:=(SMA(((AMOUNT / VOL) / 100),13,1) * 1.15);VAR43:=(SMA(((AMOUNT / VOL) / 100),13,1) * 0.85);VAR44:=(CLOSE - REF(MA(CLOSE,20),11));VAR45:=(((((((((((((CLOSE < VAR1E) AND VAR20) AND (CLOSE < VAR43)) OR (((CLOSE < VAR1E) AND VAR31) AND VAR20)) OR ((CLOSE <VAR1E) AND (CLOSE < VAR43))) OR (((CLOSE < VAR1E) AND VAR20) AND (CLOSE < VAR43))) OR (VAR20 AND (CLOSE < VAR2C))) OR ((VAR20AND VAR31) AND (VAR44 < (0 - 1.5)))) OR (VAR20 AND (CLOSE < VAR1E))) OR (VAR20 AND (VAR44 < (0 - 1.5)))) OR (VAR31 AND (CLOSE< VAR43))) OR ((CLOSE < VAR2C) AND (VAR44 < (0 - 1.5)))) OR ((CLOSE < VAR1E) AND VAR31));VAR46:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR47:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR48:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR49:=REF(CLOSE,1);VAR4A:=((SMA(MAX((CLOSE - VAR49),0),5,1) / SMA(ABS((CLOSE - VAR49)),5,1)) * 100);VAR4B:=(((HIGH + LOW) + CLOSE) / 3);VAR4C:=((VAR4B - MA(VAR4B,14)) / (0.015 * AVEDEV(VAR4B,14)));VAR4D:=(((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,110) / MA(VOL,110)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100))< (0 - 0.273));VAR4E:=(((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.125));VAR4F:=(VAR11 AND VAR12);VAR50:=((((VAR2 >= (0 - 45)) AND (VAR2 <= (0 - 7))) AND (VAR3 <= (0 - 11))) AND (VAR4 <= (0 - 14)));VAR51:=(COUNT(VAR50,1) >= 1);VAR52:=(VAR4F AND VAR51);VAR53:=(((((VAR20 AND (CLOSE < VAR1E)) AND VAR31) AND (CLOSE < VAR2C)) AND VAR45) AND VAR52);VAR54:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR55:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR56:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR57:=REF(CLOSE,1);VAR58:=((SMA(MAX((CLOSE - VAR57),0),5,1) / SMA(ABS((CLOSE - VAR57)),5,1)) * 100);VAR59:=(((HIGH + LOW) + CLOSE) / 3);VAR5A:=((VAR59 - MA(VAR59,14)) / (0.015 * AVEDEV(VAR59,14)));VAR5B:=((((((VAR54 >= (0 - 15.8)) AND (VAR54 <= (0 - 12.2))) AND (VAR55 <= (0 - 20.8))) AND (VAR56 <= (0 - 27.5))) AND (VAR58<= 11.7)) AND (VAR5A <= (0 - 145)));VAR5C:=9.999999884842+026;VAR5D:=(COST(10) * 0)*VAB3;VAR5E:=((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,125) / MA(VOL,125)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100));VAR5F:=MA((((LLV(LOW,45) - CLOSE) / (HHV(HIGH,45) - LLV(LOW,45))) * 100),5);VAR60:=((CROSS((0 - 5),VAR5F) AND (VAR5E < (0 - 0.4))) AND (((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.19)));VAR61:=MA(CLOSE,3);VAR62:=(REF(CLOSE,2) * 0.865);VAR63:=(REF(CLOSE,13) * 0.772);VAR64:=MIN(VAR62,VAR63);VAR65:=((100 * VOL) / CAPITAL);VAR66:=MA(CLOSE,13);VAR67:=IF(((((CLOSE - VAR64) / CLOSE) < 0.03) AND ((SUM(VAR65,5) / 5) < 1.8)),1,0);开始控盘:=STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),5,0)*VAB3,COLORBROWN;出击:=IF(((((VAR9 OR VAR16) OR VAR53) OR VAR5B) OR ((((CLOSE - VAR64) / CLOSE) < 0.03) AND ((SUM(VAR65,5) / 5) <1.8))),120,0),LINETHICK2,COLOR0000FF;VAR68:=0;VARQ:=MA(CLOSE,152);VARW:=MA(CLOSE,194.16);VAREE:=(VARW + (2 * STD(CLOSE,170)));VARR:=(VARQ + (2 * STD(CLOSE,170)));VART:=IF((DATE > 1080822),0,1);VAR611:=EMA(HHV(HIGH,500),21);VAR71:=EMA(HHV(HIGH,250),21);VAR81:=EMA(HHV(HIGH,90),21);VAR91:=EMA(LLV(LOW,500),21);VARA1:=EMA(LLV(LOW,250),21);VARB1:=EMA(LLV(LOW,90),21);VARC1:=EMA((((((((VAR91 * 0.96) + (VARA1 * 0.96)) + (VARB1 * 0.96)) + (VAR611 * 0.558)) + (VAR71 * 0.558)) + (VAR81 * 0.558))/ 6),21);VARD1:=EMA((((((((VAR91 * 1.25) + (VARA1 * 1.23)) + (VARB1 * 1.2)) + (VAR611 * 0.55)) + (VAR71 * 0.55)) + (VAR81 * 0.65)) /6),21);VARE1:=EMA((((((((VAR91 * 1.3) + (VARA1 * 1.3)) + (VARB1 * 1.3)) + (VAR611 * 0.68)) + (VAR71 * 0.68)) + (VAR81 * 0.68)) /6),21);VARF1:=EMA((((((VARC1 * 3) + (VARD1 * 2)) + VARE1) / 6) * 1.738),21)*VAB3;VAR101:=REF(LOW,1);VAR111:=((SMA(ABS((LOW - VAR101)),3,1) / SMA(MAX((LOW - VAR101),0),3,1)) * 100);VAR121:=EMA(IF(((CLOSE * 1.35) <= VARF1),(VAR111 * 10),(VAR111 / 10)),3)*VAB3;VAR131:=LLV(LOW,30);VAR141:=HHV(VAR121,30)*VAB3;VAR151:=IF(MA(CLOSE,58),1,0);VAR161:=((EMA(IF((LOW <= VAR131),((VAR121 + (VAR141 * 2)) / 2),0),3) / 618) * VAR151);VAR171:=(((IF((VAR161 > 50),50,VAR161) / 20) * 15) * VART)*VAB3;SG:=EMA(HHV(HIGH,1),8);X1:=EMA(CLOSE,8);X30:=((X1 < REF(X1,1)) AND (CLOSE < X1));X31:=IF(((SG < REF(SG,1)) OR X30),1,0);LC:=REF(CLOSE,1);操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100,COLORRED,LINETHICK2;趋势线:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100,COLORGRAY;震仓线:=45,COLORMAGENTA;震仓线2:=50,COLORGRAY;逃命线:=80,COLORRED;抄底线:=20,COLORGREEN;绝底线:=5,COLORBLUE;PP2:=操作线<震仓线2 AND REF(操作线,1)>震仓线2 ;PP:=操作线<震仓线AND REF(操作线,1)>震仓线;PP3:=操作线<抄底线AND REF(操作线,1)>抄底线*VAB3;财主抓板:=(((((COUNT((X31 = 1),4) = 3) AND (X31 = 0))AND O<C AND(((C-REF(C,1))/REF(C,1))>0.085))*89) >=89)OR((C-REF(C,1))/REF(C,1)>0.085 AND (REF(PP3,1) OR REF(PP,1))) AND VAB3=1,NODRAW,COLORYELLOW;STICKLINE(财主抓板,5,10,1,0),COLORRED;STICKLINE(财主抓板,10,15,1,0),COLORBLUE;STICKLINE(财主抓板,15,20,1,0),COLORRED;STICKLINE(财主抓板,20,25,1,0),COLORBLUE;STICKLINE(财主抓板,25,30,1,0),COLORMAGENTA;STICKLINE(财主抓板,30,35,1,0),COLORBROWN;STICKLINE(财主抓板,35,40,1,0),COLORMAGENTA;STICKLINE(财主抓板,40,45,1,0),COLORYELLOW;STICKLINE(财主抓板,45,50,1,0),COLORLIRED;STICKLINE(财主抓板,50,55,1,0),COLORYELLOW;STICKLINE(财主抓板,55,60,1,0),COLORMAGENTA;MTR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),N);{DMI指标}{N:2,90,14;MM:2,90,6;}HD :=HIGH-REF(HIGH,1);LD :=REF(LOW,1)-LOW;DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),N);DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),N);多头线: DMP*100/MTR,COLORCYAN,LINETHICK2;空头线:= DMM*100/MTR,COLORGREEN,LINETHICK2;趋势:= EXPMEMA(ABS(空头线-多头线)/(空头线+多头线)*100,MM),COLORYELLOW,LINETHICK2;强弱:30,COLORWHITE,DOTLINE,LINETHICK1;BOLL:=MA(CLOSE,20);UB:=BOLL+2*STD(CLOSE,20);VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.025) AND((HIGH)/(CLOSE)<1.03) AND ((CLOSE)>(UB)) AND (多头线-空头线)>5 AND 多头线>20 AND (趋势>REF(趋势,1)) AND (多头线>REF(多头线,1)) AND (VAR3AA>0),91,0);XG:=(FILTER((VAR4AA>90),21)),COLORYELLOW;{DRAWTEXT(XG,85,'DMI'),COLOR00C5FF;STICKLINE(XG,90,0,0.5,0),COLORMAGENTA;STICKLINE(XG,90,0,0.5,0),COLORMAGENTA;STICKLINE(XG,90,0,0.5,0),COLORMAGENTA;STICKLINE(XG,90,0,0.3,0),COLORMAGENTA;}VAR1Z:=(CLOSE+HIGH+LOW+OPEN)/4;VAR2Z:=SUMBARS(VOL,CAPITAL);VAR3Z:=HHV(VAR1Z,VAR2Z);VAR4Z:=LLV(VAR1Z,VAR2Z);VAR5Z:=(2*VAR1Z-VAR4Z-REF(VAR4Z,1))/(VAR3Z-VAR4Z);VAR6Z:=(VAR1Z-VAR4Z)/(VAR3Z-VAR4Z);VAR7Z:=IF(VAR1Z<=VAR4Z,VAR5Z*60,VAR6Z*60);VAR8Z:=600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30);VAR9Z:=EMA(VAR8Z,7);VARAZ:=(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))*100;VARBZ:=(-100)*(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))+5;大底: IF(VARAZ+VARBZ<7 AND CROSS(VAR8Z,VAR9Z) AND VAR9Z<-18 AND VAR9Z<VARBZ AND 黄金坑AND 贪嘴乐,110,0),COLORRED,LINETHICK3;GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));A:=BARSLAST(CROSS(GJTJ4,GJTJ1))>3 AND BARSLAST(CROSS(GJTJ1,GJTJ4))<3;B:=BARSLAST(CROSS(GJTJ4,GJTJ2));DD:=GJTJ3;E:=BARSLAST(CROSS(GJTJ4,GJTJ3))>3 AND BARSLAST(CROSS(GJTJ1,GJTJ4))<3;F:=GJTJ2;B1:=A>0 AND REF(A,1)=0 AND REF(A,2)>0;VAR0004:="KDJ.K#WEEK"(9,3,3);VAR0005:="KDJ.D#WEEK"(9,3,3);周:=CROSS(VAR0004,VAR0005);周金坑KDJ:=IF(A AND B AND E AND F AND 周,50,0)COLORWHITE,LINETHICK1;KKM:="KDJ.K#MONTH";KDM:="KDJ.D#MONTH";月:=CROSS(KKM,KDM);去停牌:=DYNAINFO(8)>0;去ST:=NOT(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S'));金坑K月:IF(A AND B AND DD AND E AND F AND 去停牌AND 去ST AND 月,90,0)COLORWHITE,LINETHICK3; VARO1:=HHV(HIGH,9)-LLV(LOW,9);VARO2:=HHV(HIGH,9)-CLOSE;VARO3:=CLOSE-LLV(LOW,9);VARO4:=VARO2/VARO1*100-70;VARO5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;VARO6:=(2*CLOSE+HIGH+LOW)/4;VARO7:=SMA(VARO3/VARO1*100,3,1);VARO8:=LLV(LOW,34);VARO9:=SMA(VARO7,3,1)-SMA(VARO4,9,1);VARO11:=HHV(HIGH,34);VARO12:=EMA((VARO6-VARO8)/(VARO11-VARO8)*100,13);VARO13:=EMA(0.667*REF(VARO12,1)+0.333*VARO12,2);生命线:=EMA(VARO13,5),COLORYELLOW;太平洋XG:=IF(CROSS(VARO12,VARO13) AND VARO12>VARO13,25,0)COLORYELLOW;VAR0002:="KDJ.K#DAY"(9,3,3);VAR0003:="KDJ.D#DAY"(9,3,3);VAR0006:="KDJ.K#MONTH"(9,3,3);VAR0007:="KDJ.D#MONTH"(9,3,3);日金叉:=IF(CROSS(VAR0002,VAR0003),40,0)LINESTICK,COLORGREEN;VAR15H:=CLOSE/REF(CLOSE,1)>1.011 OR CLOSE/REF(CLOSE,1)>1.011 OR CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12));XG88:=IF(FILTER(VAR15H,28),35,0)LINETHICK1,COLORWHITE;VAR2G:=REF(LOW,1);VAR3G:=SMA(ABS(LOW-VAR2G),3,1)/SMA(MAX(LOW-VAR2G,0),3,1)*100;VAR4G:=EMA(IF(CLOSE*1.3,VAR3G*10,VAR3G/10),3);VAR5G:=LLV(LOW,30);VAR6G:=HHV(VAR4G,30);VAR7G:=IF(MA(CLOSE,58),1,0);VAR8G:=EMA(IF(LOW<=VAR5G,(VAR4G+VAR6G*2)/2,0),3)/618*VAR7G;VAR9G:=IF(VAR8G>100,100,VAR8G);底部吸筹指标:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100, , COLOR00FF00;先知:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100, , COLORFF00FF;可能放量拉升:=IF(CROSS(底部吸筹指标,-24),1,0), , COLORFFFFFF;VARK1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;VARK2:=REVERSE(VARK1);VARK3:=SMA(VARK1,3,1);波段王:=SMA(VARK3,3,1), , COLORRED,LINETHICK2;波段鬼:=SMA(波段王,2.5,1),COLORYELLOW,LINETHICK2;。
【股票指标公式下载】-【通达信】一个抄底(抄底、备钱、危机线、中间线、安全线)
【通达信】一个抄底(抄底、备钱、危机线、中间线、安全线)-指标公式源码N 1 100 12M 1 100 12RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;STICKLINE(REF(J,7)<0 AND J>1,10,0,10,0),COLOR00FF00;VAR1:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);贵:=N,COLOR00FF00;VAR4:=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);VAR5:=CROSS(VAR4,10) AND VAR3<N;抄底:IF(VAR5,90,1),COLORRED;DRAWICON(VAR5,65,1);DRAWTEXT(VAR5,30,'抄底'),COLORYELLOW;备钱:IF(CROSS(10,VAR4),40,1),COLORFF00FF;DRAWICON(CROSS(10,VAR4),45,1);DRAWTEXT(IF(CROSS(10,VAR4),1,0),20,'$备钱'),COLORWHITE;危机线: 80,COLORRED,POINTDOT,LINETHICK2;中间线: 50,COLORFFCCCC,POINTDOT,LINETHICK2;安全线: 10,COLORFF00FF,POINTDOT,LINETHICK2;VAR6:=(2*CLOSE+HIGH+LOW)/4;VAR7:=LLV(LOW,M);VAR8:=HHV(HIGH,M);VAR9:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13);VARA:=EMA(0.667*REF(VAR9,1)+0.333*VAR9,2);战术线: VAR9,COLORYELLOW,LINETHICK2;战略线: EMA(0.382*REF(VAR9,2)+0.618*VAR9,12),COLORBLUE;STICKLINE(VAR9>VARA,VAR9,VARA,6,0),COLORRED;STICKLINE(VAR9<=VARA,VAR9,VARA,6,0),COLOR00FF00;VARB:=SUM(IF(CLOSE>REF(CLOSE,7),VOL,IF(CLOSE<REF(CLOSE,7),0-VOL,0)),0 );VARC:=SUMBARS(VOL,CAPITAL);VARD:=IF(CLOSE>LLV(CLOSE,VARC),1,-1);VARE:=IF(VARB>LLV(VARB,VARC),1,-1);VARF:=VARD*VARE;VAR10:=IF(VARF=-1,1,0);关注:IF(VAR10 AND CLOSE=LLV(CLOSE,20) AND VAR3<N,70,1),COLORFFCC66; A1:=EMA(CLOSE,5);A2:=EMA(CLOSE,10);A3:=EMA(CLOSE,20);A4:=EMA(CLOSE,40);A5:=EMA(CLOSE,60);{上穿月线:IF({CROSS(A1,A2)AND }{CROSS(C,A3),50,0),COLORYELLOW,LINETHICK2;}{上穿季线:IF({CROSS(A3,A4)AND }{CROSS(C,A5),50,0),COLORRED,LINETHICK2;}I:=MA(BARSLAST(HIGH=HHV(HIGH,16))*IF(CLOSE<OPEN,VOL,1),3);R:=MA(BARSLAST(LOW=LLV(LOW,18))*IF(CLOSE>OPEN,VOL,1),4);短线逃顶:=IF(I,0,1),COLORGREEN;DRAWICON(短线逃顶,90,2);【通达信】一个抄底(抄底、备钱、危机线、中间线、安全线)-指标公式效果图(文档来源:若水财经社区)。