据说是当年用来抄底的王牌指标通达信指标公式源码
霸气精准追底通达信指标公式源码
霸气精准追底通达信指标公式源码通达信是一款常用的股票分析软件,拥有丰富的技术指标库。
以下是霸气精准追底指标的通达信源码,共计超过1200字:```java/**///计算底部信号double calcBottomSignal(DataArray data, int n)int len = data.length(;double bottomSignal = 0;for (int i = n; i < len; i++)double diffSum = 0;for (int j = 0; j < n; j++)diffSum += data.get(i - j) - data.get(i - j - 1);}if (diffSum <= 0)bottomSignal += 1;}}return bottomSignal / (len - n);//计算霸气指标double calcDomineering(DataArray data, int n)int len = data.length(;double domineering = 0;for (int i = n; i < len; i++)double riseRatio = (data.get(i) - data.get(i - n)) / data.get(i - n);if (riseRatio > 0)domineering += 1;}}return domineering / (len - n);//计算精准指标double calcAccuracy(DataArray data, int n)int len = data.length(;double accuracy = 0;for (int i = n; i < len; i++)double avgRiseRatio = 0;for (int j = 0; j < n; j++)avgRiseRatio += (data.get(i - j) - data.get(i - j - 1)) / data.get(i - j - 1);}avgRiseRatio /= n;if (avgRiseRatio > 0)accuracy += 1;}}return accuracy / (len - n);//主函数void mai//获取收盘价数据DataArray closePrice = GetClosePrice(;//计算底部信号double bottomSignal = calcBottomSignal(closePrice, 20);Print("底部信号:", bottomSignal);//计算霸气指标double domineering = calcDomineering(closePrice, 20);Print("霸气指标:", domineering);//计算精准指标double accuracy = calcAccuracy(closePrice, 20);Print("精准指标:", accuracy);```该源码实现了霸气精准追底指标的计算,基于通达信平台的数据数组类 DataArray。
通达信指标公式源码底部抄底和高位逃顶
一直都在用这个主图指标,抓主升浪简单明了,指标中公式出现特准三角即可买入建仓,红转绿,出现卖出信号适当减仓。
简单粗暴就是王道!AA:=REF(CLOSE,1);BBB:=SMA(MAX(CLOSE-AA,0),21,1)/SMA(ABS(CLOSE-AA),21,1)*1000;HHH:=BBB-LLV(BBB,27);CCC:=LLV(BBB,27)-BBB;QQ:=(MA(HHH,2)*3+HHH*13)/16,COLORFF00FF,LINETHICK1;SS:=(MA(CCC,2)*3+CCC*13)/16,COLORFF00FF,LINETHICK1;GG:=MA(HHH,5),LINETHICK1,COLORGREEN;MM:=MA(CCC,5),LINETHICK1,COLORGREEN;WW:=IF(QQ<GG,SS,MM),LINETHICK1,COLOR0000FF;EE:=IF(SS<MM,GG,QQ),COLORFFFFCC,LINETHICK1;★买:=IF(EE-WW<5.6,200,0);RSVV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;VARB2:=(RSVV/2+22)*1;量:=EMA(VOL,13);资金:=EMA(AMOUNT,13);过滤:=((资金/量) / 100);提纯:=(((CLOSE -过滤) / 过滤) * 100);黄金:=((提纯< (0)) AND ZXNH);买AA:=黄金AND RSVV<VARB2-2;特准:(买AA>0)*3,LINETHICK2;CM1:=EMA(C,2);CM2:=EMA(C,18);TJ1:=IF(CROSS(CM2,CM1),1,0);A1:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;TJ2:=(A1/2+22)*1;Q:=EMA(VOL,13);Y:=EMA(AMOUNT,13);S:=(Y/Q)/100;X:=((CLOSE-S)/S)*100;F:=X<0 AND ZXNH;XQ:=F AND A1<TJ2-2;阴线买入:(TJ1 AND XQ)*2;VAR2:=LLV(LOW,10);VAR3:=HHV(HIGH,25);阶段卖出: 3.2,COLORC6C600;3.5,COLOR0088FF;清仓卖出: 3.5,COLORFF75FF;动力线:= EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4);STICKLINE(动力线>REF(动力线,1) ,动力线,REF(动力线,1),3 ,1),COLORRED; STICKLINE(动力线<=REF(动力线,1) ,动力线,REF(动力线,1),3 ,1),COLOR00FF00;底部:0.2,COLOR70DB93;关注:0.5,COLORYELLOW;DRAWICON( FILTER(CROSS(动力线,关注),20),动力线+0.02 ,1);DRAWICON( FILTER(CROSS(清仓卖出,动力线),20),动力线+0.02,2);DRAWICON( FILTER(CROSS(动力线,底部),20),动力线+0.02 ,1);DRAWICON( FILTER(CROSS(阶段卖出,动力线),20),动力线+0.02,2);强弱分界线:1.75,POINTDOT,LINETHICK2,COLOR70DB93;数值:=动力线,COLORA8A8A8;MA1:=MA(C,5);MA2:=MA(C,10);MA3:=MA(C,20);MA4:=MA(C,40);MA5:=MA(C,60);MA6:=MA(C,30);MA7:=MA(C,120);P3:=ABS(MA1-MA2)+ABS(MA2-MA3)+ABS(MA1-MA3);良知之花:=IF(P3/C<6/100,2,0)COLORFF00FF,LINETHICK3;K1:=1;M1:=5;M2:=10;M3:=20;M4:=60;P:=VOL;牛波波:=IF(MA(P,M1)>MA(P,M4)*0.9,2,0)COLORFF33CC,LINETHICK3;VOLUME:=VOL;LB:=VOL/REF(MA(VOL,5),1)COLORGREEN;LONG:=26;SHORT:=12;M:=9;DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);顽强绽放:=IF(CROSS(DIFF,DEA) AND MACD>REF(MACD,1),1,0)COLORRED,LINETHICK2; 香飘世界:=IF(CROSS(DIFF,DEA) AND DIFF<0 AND DEA<0 AND MACD>REF(MACD,1),1,0)COLORRED,LINETHICK2;空依子:=IF(DIFF>0 AND DEA>0 AND CROSS(DIFF,DEA) AND MACD>REF(MACD,1),1,0)COLORRED,LINETHICK2;地量180:IF(VOL<REF(LLV(VOL,180),1),1.8,0)COLOR9999FF,LINETHICK3;地量150:IF(VOL<REF(LLV(VOL,150),1),1.5,0)COLORFFFF00,LINETHICK3;地量120:IF(VOL<REF(LLV(VOL,120),1),1.2,0)COLOR0066FF,LINETHICK3;地量90:IF(VOL<REF(LLV(VOL,90),1),0.9,0)COLORYELLOW,LINETHICK3;地量60:IF(VOL<REF(LLV(VOL,60),1),0.6,0)COLORFF00FF,LINETHICK3;地量40:=IF(VOL<REF(LLV(VOL,40),1),0.4,0)COLORGREEN,LINETHICK3;春天里:=IF(香飘世界=1 AND REF(EXIST(香飘世界=1,40),12) AND (DEA>REF(DEA,12) OR DEA>REF(DEA,13) OR DEA>REF(DEA,14)OR DEA>REF(DEA,15) OR DEA>REF(DEA,16) OR DEA>REF(DEA,17) OR DEA>REF(DEA,18) OR DEA>REF(DEA,19) OR DEA>REF(DEA,20)OR DEA>REF(DEA,21) OR DEA>REF(DEA,22) OR DEA>REF(DEA,23) OR DEA>REF(DEA,24) OR DEA>REF(DEA,25) OR DEA>REF(DEA,26)),1,0)COLORFF00FF,LINETHICK2;希望1:=IF((EXIST(地量150=1.5,12) OR EXIST(地量120=1.2,12) OR EXIST(地量90=0.9,12)) AND 顽强绽放,1,0)COLORWHITE,LINETHICK8;希望2:=IF((EXIST(地量150=1.5,12) OR EXIST(地量120=1.2,12) OR EXIST(地量90=0.9,12)) AND 顽强绽放,1,0)COLORYELLOW,LINETHICK8;希望3:=IF((EXIST(地量120=1.2,10) OR EXIST(地量90=0.9,10) OR EXIST(地量60=0.6,10) OR EXIST(地量40=0.4,10)) AND 顽强绽放,1,0)COLORYELLOW,LINETHICK8; 安全奖:IF(希望 1 AND 香飘世界AND (春天里OR REF(春天里,1)) AND LB>1,1.8,0)COLORGREEN,LINETHICK8;平和奖:IF(希望2 AND C<MA5*1.2 AND LB>2.2,1.2,0)COLORRED,LINETHICK8;WJ:=(MA5>REF(MA5,1) AND REF(MA5,1)>REF(MA5,2)) AND (MA1>REF(MA1,1) AND MA2>REF(MA2,1) AND MA3>REF(MA3,1));勇气奖:IF(希望3 AND 空依子AND (良知之花OR REF(良知之花,1)) AND WJ AND C>MA1 AND MA1>MA5 AND MA3>MA5 AND EXIST(MA1<MA3,5) AND LB>2,1,0)COLORYELLOW,LINETHICK8;。
通达信精选指标精准的顶底波段抄底逃顶指标(源码分享)
通达信精选指标精准的顶底波段抄底逃顶指标(源码分享)通达信是一款国内常用的股票行情分析软件,提供了多种技术指标供股民使用。
在这其中,有一些指标被广大股民称为“精选指标”,因为它们可以帮助投资者准确判断股票的顶底、波段、抄底和逃顶时机。
下面我将介绍一些通达信的精选指标,并分享其源码。
```LC:=REF(CLOSE,1);//前一天的收盘价RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;//计算未成熟随机值K:=SMA(RSV,M1,1);//计算K值D:=SMA(K,M2,1);//计算D值J:=3*K-2*D;//计算J值//画线Plot(K, "K", colorBlue, styleLine);Plot(D, "D", colorRed, styleLine);Plot(J, "J", colorGreen, styleLine);``````MB:=MA(CLOSE,BOLL);//计算中轨UP:=MB+STD(CLOSE,BOLL);//计算上轨DN:=MB-STD(CLOSE,BOLL);//计算下轨Plot(MB, "BOLL", colorBlue, styleLine);Plot(UP, "UP", colorRed, styleLine);Plot(DN, "DN", colorGreen, styleLine);``````RSI1:=SMA(MAX(CLOSE-REF(CLOSE,1),0),ROC);RSI2:=SMA(ABS(CLOSE-REF(CLOSE,1)),ROC);RSI:=RSI1/(RSI1+RSI2)*100;Plot(RSI, "RSI", colorRed, styleLine);``````CCI:=(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));Plot(CCI, "CCI", colorRed, styleLine);```以上是通达信精选指标的源码分享。
通达信高成功率的抄底公式,你喜欢吗?
通达信高成功率的抄底公式,你喜欢吗?效果图如下:效果图下面附上源码,喜欢学习的朋友可以复制做一下:VAR1MK:=((CLOSE > REF(CLOSE,1)) AND (CLOSE > REF(CLOSE,2)));VAR2MK:=((REF(VAR1MK,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));VAR3MK:=((REF(VAR2MK,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));VAR4MK:=((REF(VAR3MK,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));VAR5MK:=((REF(VAR4MK,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));VAR6MK:=((REF(VAR5MK,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));VAR7MK:=((REF(VAR6MK,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));VAR8MK:=((REF(VAR7MK,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));VAR9MK:=((REF(VAR8MK,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));VARAMK:=((REF(VAR9MK,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));VARBMK:=((REF(VARAMK,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));VARCMK:=((REF(VARBMK,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));VARDMK:=((CLOSE < REF(CLOSE,1)) AND (CLOSE <REF(CLOSE,2)));VAREMK:=((REF(VARDMK,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));VARFMK:=((REF(VAREMK,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));VAR10MK:=((REF(VARFMK,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));VAR11MK:=((REF(VAR10MK,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));VAR12MK:=((REF(VAR11MK,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));VAR13MK:=((REF(VAR12MK,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));VAR14MK:=((REF(VAR13MK,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));VAR15MK:=((REF(VAR14MK,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));VAR16MK:=((REF(VAR15MK,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));VAR17MK:=((REF(VAR16MK,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));VAR18MK:=((REF(VAR17MK,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));VAR19MK:=(REF((((((((((((VARDMK OR VAREMK) OR VARFMK) OR VAR10MK) OR VAR11MK) OR VAR12MK) OR VAR13MK) OR VAR14MK) OR VAR15MK) OR VAR16MK) OR VAR17MK) OR VAR18MK),1) AND VAR1MK);A6J:=SMA(((CLOSE - (LLV(LOW,9))) / ((HHV(HIGH,9)) - (LLV(LOW,9)))) * 100,3,1);A7J:=SMA(SMA(((CLOSE - (LLV(LOW,9))) / ((HHV(HIGH,9)) -(LLV(LOW,9)))) * 100,3,1),3,1);A26J:=((CLOSE - MA(CLOSE,90)) /MA(CLOSE,90)) * 100;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;KK:=SMA(RSV,3,1);DK:=SMA(KK,3,1);JK:=3*KK-2*DK;A65J:=(CROSS(KK,DK)) * 60;A106:=((CLOSE - MA(CLOSE,27)) /MA(CLOSE,27)) * 100;A107:=MA(A106,3);A149:=BARSLAST(((CROSS(-10,A107)) = 1));A151:=((A107 < -10) AND (A149 > 3));财经:=(((IF(A151,A107,0)) < 0) * -10);YAR6:=(2*CLOSE+HIGH+LOW)/4;YAR8:=LLV(LOW,34);YAR11:=HHV(HIGH,34);必胜:=EMA((YAR6-YAR8)/(YAR11-YAR8)*100,13);定律:=EMA(0.667*REF(必胜,1)+0.333*必胜,2);抄底:((((((A65J AND 财经) AND ((A6J - A7J) > 1.5)) AND (OPEN!= HIGH)) AND (A26J < -10)) OR (财经AND (CROSS(A6J,A7J)))) * 10) AND VAR19MK;测试成功股市有风险,投资需谨慎。
通达信公式源码精准抄底逃顶
通达信公式源码精准抄底逃顶抄底逃顶是投资者们经常在股市中使用的一种操作策略。
通达信是一种常用的股票分析软件,它提供了一系列的公式(也称为指标),用于帮助投资者分析和预测股票市场的走势。
在这篇文章中,我将为你介绍一些常用的通达信公式源码,以帮助你更加准确地抄底逃顶。
首先,我们先介绍一下通达信如何使用公式源码。
通达信的公式源码是一种股票分析算法,需要通过编程语言(如C语言)来实现。
这种源码通常包含一系列的计算公式和函数,用于根据特定的股票数据进行分析和预测。
为了使用这些公式源码,你需要了解一些基本的编程知识,并能够将这些源码嵌入到通达信软件中。
下面是一些常用的通达信公式源码,用于精准抄底逃顶:1.均线指标源码:均线指标是衡量股票价格趋势的重要指标之一,通过计算一段时间内的平均价格来反映股票走势的平均趋势。
均线指标在抄底逃顶中非常有用,因为它可以帮助投资者捕捉到股票价格的长期趋势。
常用的均线指标包括简单移动平均线(SMA)和指数移动平均线(EMA)等。
以下是一个简单移动平均线的通达信公式源码示例:```//计算简单移动平均线double sma(double close[], int length)double sum = 0.0;for (int i = 0; i < length; i++)sum += close[i];}return sum / length;```2. MACD指标源码:MACD指标是一个非常常用的趋势指标,它可以帮助投资者把握到股票价格的短期和长期趋势。
MACD指标主要由两条线组成,分别是DIF(Difference)线和DEA(Divergence Exponential Average)线,它们在图表中的交叉和背离可以用来识别抄底逃顶的时机。
以下是一个简单的MACD指标的通达信公式源码示例:```//计算MACD指标void macd(double close[], int length, double &dif, double&dea)double ema12 = ema(close, 12);double ema26 = ema(close, 26);dif = ema12 - ema26;dea = ema(dif, 9);```3.相对强弱指标源码:相对强弱指标(RSI)是一个广泛应用于股票分析的技术指标,它通过计算一段时间内的平均涨幅和平均跌幅来判断股票价格的强弱程度。
最强抄底通达信指标公式源码
最强抄底通达信指标公式源码抄底是股市中一种常见的交易策略,通达信是一款广泛使用的股市分析软件。
以下是一些在通达信中常用的指标公式源码,用于抄底策略。
1.均线指标源码:```MA(CLOSE,N):=AVE(CLOSE,N);```该指标计算n周期内的收盘价平均值。
2.RSI指标源码:```RSI(CLOSE,N):=BEGINLC:=REF(CLOSE,1);ROC:=CLOSE-LC;UP:=SUM(MAX(ROC,0),N);DOWN:=ABS(SUM(MIN(ROC,0),N));RSI:=UP/(UP+DOWN)*100;RSI;END;```该指标计算n周期内的相对强弱指数。
3.MACD指标源码:```EMAFast:=EMA(CLOSE, 12);EMASlow:=EMA(CLOSE, 26);DIF:=EMAFast - EMASlow;DEA:=EMA(DIF,9);MACD:(DIF-DEA)*2;```该指标由两条移动平均线和一个差离值构成,用于衡量买卖力量。
4.KDJ指标源码:```RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:=SMA(RSV,M1,1);D:=SMA(K,M2,1);J:=3*K-2*D;```该指标由三条曲线构成,用于衡量股价走势的超买超卖情况。
5.威廉指标源码:```WMS:=100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N));```该指标用于衡量股价处于过买或过卖的程度。
这些是通达信中一些常见的指标公式源码,可用于抄底策略。
当然,抄底不只依赖于指标,还需要结合其他股市因素进行分析和判断。
通达信指标公式源码精准抄底 副图源码
{稳赢剑{参数:N 1 100 12 M 1 100 20 }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;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) ANDVAR3<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);。
通达信用过都说好最好的抄底选股指标公式
通达信用过都说好最好的抄底选股指标公式编程思路破译通达信最好的赋值:(最高价 - 最低价)抄底指标公式赋值:(开盘价-收盘价)的绝对值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);注:馆内各种公式为学习编程而保存,实战使用前一定要看其成功率回测数据和风险提示或者自己亲自测试近期成功率,决不能依据公式名称的描述和形容去投资,据此入市造成投资损失由投资者自己承担。
通达信指标公式源码很实用的抄底逃顶指标
很实用的抄底逃顶指标DRAWBAND(MA(CLOSE,60),RGB(80,0,0),MA(CLOSE,120),RGB(0,91,0)); DRAWBAND(MA(CLOSE,5),RGB(155,50,50),MA(CLOSE,10),RGB(83,123,68)); DRAWKLINE(H,O,L,C);MA5:=MA(CLOSE,5),COLORWHITE;MA10:=MA(CLOSE,10),COLORYELLOW;MA30:=MA(CLOSE,30),COLORMAGENTA;MA60:=MA(CLOSE,60),COLORGREEN;MA120:=MA(CLOSE,120),COLORLIMAGENTA;MA240:=MA(CLOSE,240),COLORBLUE,NODRAW;VOL5:=MA(VOL,5),COLORWHITE;VOL10:=MA(VOL,10),COLORYELLOW;VOL40:=MA(VOL,40),COLORFF00FF ;量托:=VOL5>=VOL40 AND CROSS(VOL10,VOL40) AND REF(VOL10,1)<REF(VOL40,1); DRAWTEXT(量托,L-0.012,'量托'),COLORWHITE;AA1:=BARSLAST(MA60>MA30 AND (MA30=MA10 OR MA30>MA10));BB1:=REF(COUNT(C<MA60,AA1)=AA1,1);CC1:=CROSS(C,MA60) AND VOL>MA(VOL,5) AND (C-REF(C,1))/REF(C,1)*100>3;芙蓉出水:=BB1 AND CC1,COLOR00FF00;DRAWTEXT(芙蓉出水,H+0.3,'芙蓉出水'),COLORFF00FF;STICKLINE(芙蓉出水,H,L,1,1),COLORFF00FF;STICKLINE(芙蓉出水,O,C,3,1),LINETHICK2,COLORFF00FF;MA1:=MA(CLOSE,5);MA2:=MA(CLOSE,10);MA3:=MA(CLOSE,20);ZJ:=AMOUNT/10000;{资金}TM:=V-MA(V,10);{量填满}一穿三:=MA1>O AND MA2>O AND MA3>O AND MA1<C AND MA2<C AND MA3<C AND CLOSE>OPEN ;DRAWTEXT(一穿三,L-0.012,'一穿三'),COLORFF00FF;STICKLINE(一穿三,OPEN,CLOSE,1,0),COLORFF00FF;TY:=C;A1:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(A1,10); C1:=BACKSET(B1,10+1); HD:=FILTER(C1,10);A2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(A2,10); C2:=BACKSET(B2,10+1); LD:=FILTER(C2,10);前期高位:REF(C,BARSLAST(HD)),COLORBLUE,POINTDOT;STICKLINE(C,前期高位,前期高位,8,0),COLORBLUE;{高点:=(C/REF(C,BARSLAST(HD))-1)*100,NODRAW;STICKLINE((HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)>0.667,H,C,0.8,0),COLORBLUE;}三日不破:=MIN(MIN(L,REF(L,1)),REF(L,2))>=REF(L,3);三日量缩:=(MAX(MAX(V,REF(V,1)),REF(V,2))<REF(V,3));三日价涨A:=C>=REF(C,1);三日价涨B:=C<REF(C,1);三日价涨C:=MIN(MIN(C,REF(C,1)),REF(C,2))>=REF(L,3);TIM:=IF(DATE<1140214,1,0);缩倍柱:=(VOL*1.95<=REF(VOL,1))*TIM;百日低量:=(VOL=LLV(VOL,100))*TIM;倍量柱:=C>REF(C,1)*1.04 AND (VOL>=1.9*REF(VOL,1))*TIM;四日前倍量柱:=(REF(VOL,3)>1.9*REF(VOL,4))*TIM;四日前高量柱:=(REF(VOL,3)>=REF(VOL,4) AND REF(VOL,3)<1.9*REF(VOL,4) AND 三日量缩)*TIM;前三引用不成立:=COUNT(REF(四日前倍量柱,1) AND (REF(三日不破,1) OR REF(三日价涨C,1)),3)=0 AND COUNT(REF(四日前高量柱,1) AND (REF(三日不破,1) OR REF(三日价涨C,1)),3)=0;倍量黄金柱:=四日前倍量柱AND 三日量缩AND 三日不破AND 三日价涨A AND 前三引用不成立;高量黄金柱:=四日前高量柱AND 三日量缩AND 三日不破AND 三日价涨A AND 前三引用不成立;黄金柱:=倍量黄金柱OR 高量黄金柱;次倍量黄金柱:=NOT(黄金柱) AND 四日前倍量柱AND 三日量缩AND 三日不破AND 三日价涨B AND 前三引用不成立;次高量黄金柱:=NOT(黄金柱) AND 四日前高量柱AND 三日量缩AND 三日不破AND 三日价涨B AND 前三引用不成立;次黄金柱:=次倍量黄金柱OR 次高量黄金柱;准倍量黄金柱:=NOT(黄金柱OR 次黄金柱) AND 四日前倍量柱AND ((三日量缩AND 三日价涨C) OR (COUNT(倍量柱,3)>=1 AND 三日不破)) AND 前三引用不成立;准高量黄金柱:=NOT(黄金柱OR 次黄金柱) AND 四日前高量柱AND (三日量缩AND 三日价涨C) AND 前三引用不成立;准黄金柱:=准倍量黄金柱OR 准高量黄金柱;倍量将军柱:=NOT(黄金柱OR 次黄金柱OR 准黄金柱) AND 四日前倍量柱AND 三日不破AND 三日价涨A AND 前三引用不成立;高量将军柱:=NOT(黄金柱OR 次黄金柱OR 准黄金柱) AND 四日前高量柱AND 三日不破AND 三日价涨A AND 前三引用不成立;将军柱:=倍量将军柱OR 高量将军柱;次倍量将军柱:=NOT(黄金柱OR 次黄金柱OR 准黄金柱OR 将军柱) AND 四日前倍量柱AND 三日不破AND 三日价涨B AND 前三引用不成立;次高量将军柱:=NOT(黄金柱OR 次黄金柱OR 准黄金柱OR 将军柱) AND 四日前高量柱AND 三日不破AND 三日价涨B AND 前三引用不成立;次将军柱:=次倍量将军柱OR 次高量将军柱;准倍量将军柱:=NOT(黄金柱OR 次黄金柱OR 准黄金柱OR 将军柱OR 次将军柱) AND 四日前倍量柱AND 三日价涨C AND 前三引用不成立;准高量将军柱:=NOT(黄金柱OR 次黄金柱OR 准黄金柱OR 将军柱OR 次将军柱) AND 四日前高量柱AND 三日价涨C AND 前三引用不成立;准将军柱:=准倍量将军柱OR 准高量将军柱;BACKSET100:=BACKSET(黄金柱OR 次黄金柱OR 准黄金柱OR 将军柱OR 次将军柱OR 准将军柱,4);FILTER100:=FILTER(BACKSET100,3),NODRAW;BACKSET101:=BACKSET(黄金柱,4);FILTER101:=FILTER(BACKSET101,3);BACKSET102:=BACKSET(次黄金柱,4);FILTER102:=FILTER(BACKSET102,3);BACKSET103:=BACKSET(准黄金柱,4);FILTER103:=FILTER(BACKSET103,3);BACKSET104:=BACKSET(将军柱,4);FILTER104:=FILTER(BACKSET104,3);BACKSET105:=BACKSET(次将军柱,4);FILTER105:=FILTER(BACKSET105,3);BACKSET106:=BACKSET(准将军柱,4);FILTER106:=FILTER(BACKSET106,3);黄金线下影线:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))<=REF(L,3); 黄金线实体下端:=REF(FILTER100,3)=1 ANDMIN(MIN(L,REF(L,1)),REF(L,2))<=MIN(REF(C,3),REF(O,3)) ANDMIN(MIN(L,REF(L,1)),REF(L,2))>REF(L,3),LINETHICK0;黄金线上影线:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>=REF(H,3); 黄金线实体上端:=REF(FILTER100,3)=1 ANDMIN(MIN(L,REF(L,1)),REF(L,2))>=MAX(REF(C,3),REF(O,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))<REF(H,3);黄金线实体中间:=REF(FILTER100,3)=1 ANDMIN(MIN(L,REF(L,1)),REF(L,2))<MAX(REF(C,3),REF(O,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>MIN(REF(C,3),REF(O,3));黄金线实体中间1:=REF(FILTER100,3)=1 ANDMIN(MIN(L,REF(L,1)),REF(L,2))<MAX(REF(C,3),REF(O,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>MIN(REF(C,3),REF(O,3)) ANDREF(L,2)=MIN(MIN(L,REF(L,1)),REF(L,2));黄金线实体中间2:=REF(FILTER100,3)=1 ANDMIN(MIN(L,REF(L,1)),REF(L,2))<MAX(REF(C,3),REF(O,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>MIN(REF(C,3),REF(O,3)) ANDREF(L,1)=MIN(MIN(L,REF(L,1)),REF(L,2));黄金线实体中间3:=REF(FILTER100,3)=1 ANDMIN(MIN(L,REF(L,1)),REF(L,2))<MAX(REF(C,3),REF(O,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>MIN(REF(C,3),REF(O,3)) ANDL=MIN(MIN(L,REF(L,1)),REF(L,2));BACKSET201:=BACKSET(黄金线下影线,4);FILTER201:=FILTER(BACKSET201,3),NODRAW;BACKSET202:=BACKSET(黄金线实体下端,4);FILTER202:=FILTER(BACKSET202,3),NODRAW;BACKSET203:=BACKSET(黄金线上影线,4);FILTER203:=FILTER(BACKSET203,3),NODRAW;BACKSET204:=BACKSET(黄金线实体上端,4);FILTER204:=FILTER(BACKSET204,3),NODRAW;BACKSET205:=BACKSET(黄金线实体中间,4);FILTER205:=FILTER(BACKSET205,3),NODRAW;BACKSET2051:=BACKSET(黄金线实体中间1,4);FILTER2051:=FILTER(BACKSET2051,3),NODRAW;BACKSET2052:=BACKSET(黄金线实体中间2,4);FILTER2052:=FILTER(BACKSET2052,3),NODRAW;BACKSET2053:=BACKSET(黄金线实体中间3,4);FILTER2053:=FILTER(BACKSET2053,3),NODRAW;BT201:=IF(BARSLAST(FILTER201)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER 201));BT202:=IF(BARSLAST(FILTER202)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER 202));BT203:=IF(BARSLAST(FILTER203)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER 203));BT204:=IF(BARSLAST(FILTER204)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER 204));BT205:=IF(BARSLAST(FILTER205)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER 205));BT2051:=IF(BARSLAST(FILTER2051)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILT ER2051));BT2052:=IF(BARSLAST(FILTER2052)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILT ER2052));BT2053:=IF(BARSLAST(FILTER2053)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILT ER2053));最近黄金线:=MIN(MIN(MIN(MIN(MIN(MIN(BT201,BT202),BT203),BT204),BT2051),BT2052),BT20 53);DAY1:=SUMBARS(FILTER100,1),NODRAW;HJX1_1:=IF(SUMBARS(FILTER201,1)=DAY1,IF(DAY1=1,LOW,REF(LOW,DAY1-1)),0),NO DRAW;HJX1_2:=IF(SUMBARS(FILTER202,1)=DAY1,IF(DAY1=1,MIN(C,O),MIN(REF(C,DAY1-1),R EF(OPEN,DAY1-1))),0),NODRAW;HJX1_3:=IF(SUMBARS(FILTER203,1)=DAY1,IF(DAY1=1,HIGH,REF(HIGH,DAY1-1)),0),N ODRAW;HJX1_4:=IF(SUMBARS(FILTER204,1)=DAY1,IF(DAY1=1,MAX(C,O),MAX(REF(C,DAY1-1), REF(OPEN,DAY1-1))),0),NODRAW;HJX1_51:=IF(SUMBARS(FILTER2051,1)=DAY1,IF(DAY1=2,LOW,IF(DAY1<2,DRAWNULL, REF(LOW,DAY1-2))),0),NODRAW;HJX1_52:=IF(SUMBARS(FILTER2052,1)=DAY1,IF(DAY1=3,LOW,IF(DAY1<3,DRAWNULL, REF(LOW,DAY1-3))),0),NODRAW;HJX1_53:=IF(SUMBARS(FILTER2053,1)=DAY1,IF(DAY1=4,LOW,IF(DAY1<4,DRAWNULL, REF(LOW,DAY1-4))),0),NODRAW;黄金线:=HJX1_1+HJX1_2+HJX1_3+HJX1_4+HJX1_51+HJX1_52+HJX1_53,COLORYELLOW,N ODRAW;立桩量:=VOL=HHV(VOL,40) AND VOL>1.9*REF(VOL,1);立桩量三日突破:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(立桩量)=3 ANDCLOSE>REF(HIGH,3),1,0)));立桩量三日不破:=BARSLAST(立桩量)=3 ANDREF(LOW,3)<=MIN(MIN(C,REF(C,1)),REF(C,2));BACKSET300:=BACKSET(立桩量三日不破,4);BACKSET301:=BACKSET(立桩量三日突破,4);立桩量成立:=FILTER(BACKSET300,3) AND BACKSET301 AND 立桩量;DRAWTEXT(立桩量成立,HIGH*1.01,'↙立桩量'),COLOR00FF00;DRAWTEXT(FILTER101,LOW*0.986,'↖黄金柱'),COLORYELLOW;STICKLINE(FILTER101,OPEN,CLOSE,0.5,0),COLORYELLOW;DRAWTEXT(FILTER102,LOW*0.986,'↖次黄金柱'),COLORYELLOW;DRAWTEXT(FILTER104,LOW*0.986,'↖将军柱'),COLORYELLOW;STICKLINE(FILTER104,OPEN,CLOSE,1.5,0),COLORYELLOW;K1:=SUMBARS(FILTER104,1);STICKLINE(K1,REF(L,K1-2),REF(L,K1-2),10,0),COLORYELLOW;K2:=SUMBARS(FILTER101,1);STICKLINE(K2,REF(L,K2-2),REF(L,K2-2),10,0),COLORYELLOW;强势5:MA(C,5),LINETHICK1;生命24:MA(C,24),COLORRED,LINETHICK1;DG1:=(CROSS(强势5,生命24));DRAWICON(DG1,生命24,1);X1:=(C+L+H)/3;BB5:=ATAN(EMA(X1,7)-REF(EMA(X1,7),1))*3.1416*10;EMA3:=EMA(C,3);DRAWTEXT(FILTER(BB5>1 AND EMA(X1,7)>REF(EMA(X1,7),1),10),LOW*0.99,'★∠45'),COLORFFFFFF;涨家数:INDEXADV,NODRAW,COLORLIMAGENTA ;跌家数:INDEXDEC,NODRAW,COLORGREEN;C3:=REF(C,1);涨停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0);STICKLINE(涨停,OPEN,CLOSE,2.5,0),COLORRED;跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);STICKLINE(跌停,OPEN,CLOSE,2.5,0),COLORGREEN;。
通达信指标公式源码最牛的抄底追涨公式无未来
通达信指标公式源码最牛的抄底追涨公式无未来抄底追涨实战公式DEFDRAWICON(T1,T2,SHORT):REF(L,T1)>REF(LLV(L,T2),T1)ANDREF(L,T1)<REF(HHV(H,T2),T1)ANDC<REF(O,T1)ANDC>REF(C,T1)ANDC=HHV(H,T1)ANDC<REF(HHV(H,T2),T1)ANDSHORT>REF(MA(C,SHORT),T1)?1:01,DEFDRAWICON(T1,T2,SHORT)定义函数使用3个参数,T1,T2,SHORT。
2,REF(L,T1),取最近T1日内的最低价;3,REF(LLV(L,T2),T1),取最近T1日内,T2日内的最低价的最低价;4,REF(L,T1)>REF(LLV(L,T2),T1),判断最近T1日内的最低价是否大于最近T1日内,T2日内的最低价的最低价;5,REF(L,T1)<REF(HHV(H,T2),T1),判断最近T1日内的最低价是否小于最近T1日内,T2日内的最高价的最高价;6,C<REF(O,T1),判断当日收盘价是否小于最近T1日开盘价;7,C>REF(C,T1),判断当日收盘价是否大于最近T1日收盘价;8,C=HHV(H,T1),判断当日收盘价是否等于最近T1日内的最高价;9,C<REF(HHV(H,T2),T1),判断当日收盘价是否小于最近T1日内,T2日内的最高价的最高价;10,SHORT>REF(MA(C,SHORT),T1),判断当日SHORT均线是否大于最近T1日内当日SHORT均线;11,?1:0,符合上述条件就返回1,否则返回0。
通达信骁龙起飞低价抄底好指标适合上班族代码
通达信骁龙起飞低价抄底好指标适合上班族代码X_1:=CLOSE;X_2:=(HIGH+LOW+CLOSE)/3;X_3:=(HIGH+LOW+CLOSE+OPEN)/4;X_4:=LLV(LOW,4);X_5:=-EMA(LOW<=X_4,13);X_6:=(X_1-MA(X_1,10))/MA(X_1,9)*100<(-2);X_7:=(X_1-MA(X_1,10))/MA(X_1,12)*115>(-13);X_8:=(X_1-MA(X_1,10))/MA(X_1,12)*123>(-13);X_9:=REF(COUNT(CLOSE<OPEN,2)=2,2) AND REF(HIGH/CLOSE>CLOSE/OPEN,1);X_10:=COUNT(X_6,3)=3;X_11:=(X_1-LLV(X_1,13))/LLV(X_1,50)*123;X_12:=(X_2-MA(X_2,14))/(0.015*AVEDEV(X_2,14));X_13:=REF(X_12<(-60),1) AND REF(X_12,1)<(-92) AND X_12<(-45);X_14:=REF(X_12,1);X_15:=(X_2-MA(X_2,12))/(0.015*AVEDEV(X_2,12));X_16:=REF(X_15,1);X_17:=(X_3-MA(X_3,13))/(0.016*AVEDEV(X_3,15));X_18:=(X_1-MA(X_1,12))/(0.014*AVEDEV(X_1,10));X_19:=(X_1-MA(X_1,11))/(0.014*AVEDEV(X_1,8));X_20:=CROSS(X_18,(-200)) AND X_18>REF(X_18,1) OR (CROSS(X_19,(-200)) AND X_19>REF(X_19,1)) AND MA(CLOSE,5)/LOW>=1.07 AND VOL<REF(VOL,1)*0.66;X_21:=MA(CLOSE,14);X_22:=POW(CLOSE-X_21,2);X_23:=MA(X_22,24);X_24:=SQRT(X_23);X_25:=X_21-2*X_24;X_26:=REF(X_25,1);X_27:=CROSS(X_11,1.5) AND COUNT(X_14<REF(X_14,1),2)=2 AND X_10 AND X_8 AND X_9 AND REF(X_11=REF(X_11,1),1) AND LOW<X_26 AND MA(VOL,3)<MA(VOL,6);X_28:=CROSS(X_11,1.5) AND COUNT(X_16<REF(X_16,1),2)=2 AND X_10 AND X_8 AND X_9 AND REF(X_11=REF(X_11,1),1) AND LOW<X_26 AND MA(VOL,3)<MA(VOL,6);X_29:=REF(X_17,1)<=(-170) OR CROSS(X_17,(-170)) OR (CLOSE-MA(CLOSE,13))/MA(CLOSE,50)*100<(-6) AND REF(CLOSE,1)/REF(CLOSE,2)<0.945 AND CLOSE/REF(CLOSE,1)>1.025 AND VOL*1.58<REF(VOL,1) AND NOT(CLOSE/REF(CLOSE,1)>1.0989);X_30:=CROSS(X_11,1.5) AND X_20 AND X_9 AND X_10 AND X_8 AND MA(VOL,3)<MA(VOL,6) AND LOW<X_26;骁龙起飞:IF(X_29 OR X_30,1.5,0),COLORYELLOW,LINETHICK2;小龙出击:X_27 OR X_28,COLORRED,LINETHICK2;小龙:IF(CROSS(X_11,1.5) AND (REF(CLOSE/OPEN<1.005 AND CLOSE/OPEN>0.995 OR (CLOSE>OPEN AND (HIGH/CLOSE>CLOSE/OPEN AND HIGH/CLOSE>OPEN/LOW)),1) OR (CLOSE/OPEN<1.005 AND CLOSE/OPEN>0.995) OR CLOSE/OPEN>1.033 OR (CLOSE>OPEN AND (CLOSE/OPEN<OPEN/LOW AND OPEN/LOW>HIGH/CLOSE OR (HIGH/CLOSE>CLOSE/OPEN AND HIGH/CLOSE>OPEN/LOW)))) AND COUNT(X_6,4)>=3 AND X_7 AND X_13 AND X_9 AND REF(X_11=REF(X_11,1),1) AND MA(VOL,5)<MA(VOL,11),0.7,0),COLORGREEN,LINETHICK2;天天利:IF(X_5<=(-0.45) AND X_5>=(-0.48) ANDCOUNT(X_5<REF(X_5,1),2)=2 OR (X_5<=(-0.48) AND COUNT(X_5<REF(X_5,1),3)=3) AND CLOSE>OPEN AND REF(COUNT(CLOSE<OPEN,2)=2,1) AND MA(VOL,12)<MA(VOL,24),0.5,0),COLORMAGENTA,LINETHICK2;。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
据说是当年涨停敢死队用来抄底的王牌指标,需要说明的是这个指标是在熊市中用的,觉得不错就收藏放到熊市中慢慢验证吧,不会让你失望的。
我去年用了用,相当精准。
只是信号少了些,不过话又说回来,信号多准确度就会下降。
VAR100:=IF(DATE<=1280831,1,0);
CSS:=((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100)*VAR100; YJDD:=(EMA(CSS,3)-50)*2* VAR100;
强弱:(YJDD+100)/2* VAR100,COLORBLUE;
80*VAR100,COLORRED,POINTDOT,LINETHICK3;
20*VAR100,COLORRED,POINTDOT,LINETHICK3;
100*VAR100,COLORBLUE;
T1:=(INDEXC-MA(INDEXC,58))/MA(INDEXC,58)<-0.152;
T2:=(C-EMA(C,58))/EMA(C,58)<-0.19;
买1:=T2 AND T1;
T3:=IF(DATE<=1280831,1,0);
T4:=(C-MA(C,2))/MA(C,2)*100*T3;
T5:=INDEXC*T3;
T6:=MA(T5,13)*T3;
T7:=T6>1.050*T5*T3;
T8:=(C-REF(C,26))/REF(C,26)*10*T3;
T9:=T7*T3;
T10:=T8<-2.30 AND T3;
T11:=T4<-2.7 AND T3;
T12:=T9 AND T10 AND T11 AND T3;
T13:=CROSS(0.5,T12)*T3;
T14:=CROSS(T13,0.5)*T3;
T15:=BARSLAST(T14=1)*T3;
T16:=T15<=5 AND C<REF(C,T15) AND T3;
买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 目标;
神剑出鞘:IF(((COUNT(买1 AND 底4,6)=6 OR COUNT(买1 AND 买2,4)=4 OR COUNT(买2 AND 底4,5)=5) OR 新目标) AND
DATE<=1280831,90,0),COLORRED,LINETHICK3;
DRAWTEXT(FILTER(神剑出鞘,5),90,'买'),COLORRED;
DRAWTEXT(FILTER(神剑出鞘,5),90,'买'),COLORRED;。