最强抄底通达信指标公式源码
通达信高精抄底指标公式
通达信高精抄底指标公式BIAS1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;BIAS2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;BIAS3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,11)*100;底1:BIAS1<-10 AND BIAS2<=-10 AND BIAS3<0;DIF:=EMA(CLOSE,12)-EMA(CLOSE,150);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;底2:MACD<0 AND MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD ,2)AND REF(MACD,2)<REF(MACD,3)AND REF(MACD,3)<REF(MACD,4);VAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;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);底3:VAR6<=-10;VAR11:=CLOSE/MA(CLOSE,20)*100<80;VAR12:=CLOSE/MA(CLOSE,40)*100<78;VAR13:=CLOSE/MA(CLOSE,60)*100<72;VAR14:=HIGH>LOW*1.051;VAR15:=VAR14 AND COUNT(VAR14,5)>1;底4:VAR15 AND (VAR11 OR VAR12 OR VAR13);趋势线:=(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));底5:BB;A:=SMA((CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100,4,1);B:=SMA((CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100,4,1);MB:=SMA((B-50)*2,3,1)+SMA((A-50)*2,3,1)/2;金底:MB<-90;综合选股:IF(金底AND COUNT(底5,5)>=1 AND COUNT(底4,3)>=1 AND COUNT(底1,3)>=1 AND 底 3 AND 底2,1,0),COLORMAGENTA,LINETHICK3;。
波段抄底逃顶通达信指标公式源码
波段抄底逃顶通达信指标公式源码以下是一个简单的波段抄底逃顶指标的通达信公式源码:```c/*************************************************************************【十字星抄底逃顶指标】原理:当市场出现大幅度波动时,十字星形态往往是行情反转的信号,可用于波段抄底逃顶。
公式:条件一:收盘价小于开盘价,并且收盘价小于前一日收盘价;条件二:实体部分长度小于前一日K线实体部分长度;条件三:当前K线最高价小于前一日K线最高价;条件四:当前K线最低价大于前一日K线最低价。
信号:当以上条件均满足时,出现十字星抄底逃顶信号。
**************************************************************************//***************************************收盘价小于开盘价,并且收盘价小于前一日收盘价***************************************/C<LANDREF(C,1)>C/***************************************实体部分长度小于前一日K线实体部分长度***************************************/ABS(C-O)<ABS(REF(C-O,1))/***************************************当前K线最高价小于前一日K线最高价***************************************/HIGH<REF(HIGH,1)/***************************************当前K线最低价大于前一日K线最低价***************************************/LOW>REF(LOW,1)/***************************************以上条件均满足时,出现十字星抄底逃顶信号***************************************/AND(AND(AND(C<L,REF(C,1)>C),ABS(C-O)<ABS(REF(C-O,1))),AND(HIGH<REF(HIGH,1),LOW>REF(LOW,1))) ```以上是一个简单的波段抄底逃顶指标的通达信公式源码,根据波段抄底逃顶的原理和条件编写。
精准抄底大黑马通达信指标公式源码
信号出现时高点低点一目了然,好不好直接上图VAR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70; VAR2:=SMA(VAR1,9,1)+100;VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR4:=SMA(VAR3,3,1);VAR5:=SMA(VAR4,3,1)+100;VAR6:=VAR5-VAR2;趋势:IF(VAR6>45,VAR6-45,0);0,COLOR00FFFF;20,POINTDOT,COLORFFAA66,LINETHICK1;80,POINTDOT,COLORFFAA66,LINETHICK1;100,COLORFFFF33;V1:=LLV(LOW,10);V2:=HHV(H,25);价位线:=EMA((C-V1)/(V2-V1)*4,4);DRAWTEXT(CROSS(价位线,0.3),20+4,'●买'),COLORRED;DRAWTEXT(CROSS(3.5,价位线),100-4,'●卖'),COLORGREEN;VAR2Q:=REF(LOW,1);VAR3Q:=SMA(ABS(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)*100; VAR4Q:=EMA(IF(CLOSE*1.3,VAR3Q*10,VAR3Q/10),3);VAR5Q:=LLV(LOW,30);VAR6Q:=HHV(VAR4Q,30);VAR7Q:=IF(MA(CLOSE,58),1,0);VAR8Q:=EMA(IF(LOW<=VAR5Q,(VAR4Q+VAR6Q*2)/2,0),3)/618*VAR7Q;VAR9Q:=IF(VAR8Q>100,100,VAR8Q);STICKLINE(VAR9Q>-120,0,VAR9Q,6.1,0),COLOR0000AA;STICKLINE(VAR9Q>-120,0,VAR9Q,4.9,0),COLOR0000BB;STICKLINE(VAR9Q>-120,0,VAR9Q,3.8,0),COLOR0000CC;STICKLINE(VAR9Q>-120,0,VAR9Q,2.7,0),COLOR0000DD;STICKLINE(VAR9Q>-120,0,VAR9Q,1.6,0),COLOR0000EE;STICKLINE(VAR9Q>-120,0,VAR9Q,0.4,0),COLOR4444FF;STICKLINE(趋势,(REF(趋势,1)),趋势,3.2,0) ,COLOR0044FF;STICKLINE(趋势,(REF(趋势,1)),趋势,2.7,0) ,COLOR0066FF;STICKLINE(趋势,(REF(趋势,1)),趋势,2.1,0) ,COLOR0088FF;STICKLINE(趋势,(REF(趋势,1)),趋势,1.5,0) ,COLOR00AAFF;STICKLINE(趋势,(REF(趋势,1)),趋势,0.9,0) ,COLOR00CCFF;STICKLINE(趋势,(REF(趋势,1)),趋势,0.2,0) ,COLOR00FFFF;粉红持有:=REF(趋势>REF(趋势,1),1);STICKLINE(粉红持有,(REF(趋势,1)),趋势,3.2,0),COLOR770077; STICKLINE(粉红持有,(REF(趋势,1)),趋势,2.7,0),COLOR990099; STICKLINE(粉红持有,(REF(趋势,1)),趋势,2.1,0),COLORBB00BB; STICKLINE(粉红持有,(REF(趋势,1)),趋势,1.5,0),COLORDD00DD; STICKLINE(粉红持有,(REF(趋势,1)),趋势,0.9,0),COLORFF00FF; STICKLINE(粉红持有,(REF(趋势,1)),趋势,0.2,0),COLORFF66FF;绿色减仓:=趋势<REF(趋势,1);STICKLINE(绿色减仓,(REF(趋势,1)),趋势,3.2,0 ),COLOR003300; STICKLINE(绿色减仓,(REF(趋势,1)),趋势,2.7,0 ),COLOR006600; STICKLINE(绿色减仓,(REF(趋势,1)),趋势,2.1,0 ),COLOR009900; STICKLINE(绿色减仓,(REF(趋势,1)),趋势,1.5,0 ),COLOR00CC00; STICKLINE(绿色减仓,(REF(趋势,1)),趋势,0.9,0 ),COLOR00FF00; STICKLINE(绿色减仓,(REF(趋势,1)),趋势,0.2,0 ),COLORCCFF66;AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;AA5:=SMA(AA4,13,8);走势:=CEILING(SMA(AA5,13,8));AA6:=SMA(AA3,21,8);卖临界:STICKLINE(走势-AA6>85,103,100,15,1),COLOR0000FF,LINETHICK2; N:=21;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;E:=CROSS(83,RSI);STICKLINE( E,E,55,2.7,0),COLORFF6600;STICKLINE( E,E,55,2.1,0),COLORFF8800;STICKLINE( E,E,55,1.5,0),COLORFFAA00;STICKLINE( E,E,55,0.9,0),COLORFFCC00;STICKLINE( E,E,55,0.2,0),COLORFFFF00;DRAWTEXT(E,50,' 逃顶'),COLORFF9966;TYP:=(HIGH+LOW+CLOSE)/3;VAR11:=3;VAR21:=(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));股价准备启动:IF(CROSS(VAR21,VAR11),100,0),COLORRED,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),LINETHIC K1,POINTDOT;超短线:(((主力线-LLV(主力线,21))/(HHV(主力线,21)-LLV(主力线,21)))*(4))*(25),LINETHICK0,COLORLIRED;轴:0,COLORFFFFFF;。
通达信高成功率的抄底公式,你喜欢吗?
通达信高成功率的抄底公式,你喜欢吗?效果图如下:效果图下面附上源码,喜欢学习的朋友可以复制做一下: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;测试成功股市有风险,投资需谨慎。
通达信成功率很好的抄底逃顶指标公式编程思路破译
通达信成功率很好的抄底逃顶指标公式编程思路破译编程思路破译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注:馆内各种公式为学习编程而保存,实战使用前一定要看其成功率回测数据和风险提示或者自己亲自测试近期成功率,决不能依据公式名称的描述和形容去投资,据此入市造成投资损失由投资者自己承担。
最强抄底通达信指标公式源码
最强抄底通达信指标公式源码抄底是股市中一种常见的交易策略,通达信是一款广泛使用的股市分析软件。
以下是一些在通达信中常用的指标公式源码,用于抄底策略。
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));```该指标用于衡量股价处于过买或过卖的程度。
这些是通达信中一些常见的指标公式源码,可用于抄底策略。
当然,抄底不只依赖于指标,还需要结合其他股市因素进行分析和判断。
通达信神奇的抄底指标公式
通达信神奇的抄底指标公式通达信神奇的抄底指标公式DIFF :=( EMA(CLOSE,12) - EMA(CLOSE,26))*100;DEA :=EMA(DIFF,9);MACD :=2*(DIFF-DEA);绿柱消失买入:STICKLINE(DIFF<0,0,DIFF,2,0),COLOR00FF00;红柱消失卖出:STICKLINE(DIFF>=0,0,DIFF,2,0),COLORRED;STICKLINE(DEA>=0,0,DEA,2,0),COLORBLUE;STICKLINE(DEA<0,0,DEA,2,0),COLORYELLOW;DRAWICON(CROSS(DIFF,DEA),DEA*1.1,1);DRAWICON(CROSS(DEA,DIFF),DEA*1.1,2);强1:IF(DIFF>DEA,DIFF,DRAWNULL),COLORRED;强2:IF(DEA<DIFF,DEA,DRAWNULL),COLORMAGENTA;抄底:=ABS((CROSS("MACD.DIF","MACD.DEA")&&"MACD.DEA"<=-0.07)*"MACD.DIF")*1.09,COLORLIMAGENTA,LINETHICK2;DRAWTEXT(ABS(抄底)>0,抄底, 抄底),COLORFFFF00;DRAWICON(ABS(抄底)>0,抄底,9);DIFF :=( EMA(CLOSE,12) - EMA(CLOSE,26))*100;DEA :=EMA(DIFF,9);MACD :=2*(DIFF-DEA);绿柱消失买入:STICKLINE(DIFF<0,0,DIFF,2,0),COLOR00FF00;红柱消失卖出:STICKLINE(DIFF>=0,0,DIFF,2,0),COLORRED;STICKLINE(DEA>=0,0,DEA,2,0),COLORBLUE;STICKLINE(DEA<0,0,DEA,2,0),COLORYELLOW;DRAWICON(CROSS(DIFF,DEA),DEA*1.1,1);DRAWICON(CROSS(DEA,DIFF),DEA*1.1,2);强1:IF(DIFF>DEA,DIFF,DRAWNULL),COLORRED;强2:IF(DEA<DIFF,DEA,DRAWNULL),COLORMAGENTA;抄底:=ABS((CROSS("MACD.DIF","MACD.DEA")&&"MACD.DEA"<=-0.07)*"MACD.DIF")*1.09,COLORLIMAGENTA,LINETHICK2;DRAWTEXT(ABS(抄底)>0,抄底, 抄底),COLORFFFF00;DRAWICON(ABS(抄底)>0,抄底,9);。
通达信指标公式源码最牛的抄底追涨公式无未来
通达信指标公式源码最牛的抄底追涨公式无未来抄底追涨实战公式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。