很好用的抄底指标——绝杀抄底,买入后安心持有即可!通达信指标公式源码

合集下载

精准抄底大黑马通达信指标公式源码

精准抄底大黑马通达信指标公式源码

信号出现时高点低点一目了然,好不好直接上图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;。

通达信指标公式源码底部抄底和高位逃顶

通达信指标公式源码底部抄底和高位逃顶

一直都在用这个主图指标,抓主升浪简单明了,指标中公式出现特准三角即可买入建仓,红转绿,出现卖出信号适当减仓。

简单粗暴就是王道!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;。

成功率相当高的抄底选股指标通达信指标公式源码

成功率相当高的抄底选股指标通达信指标公式源码

A1:=CROSS("MACD.DIF","MACD.DEA");A2:=CROSS("KDJ.K","KDJ.D") AND "KDJ.K"<-20;A3:="I"<-90 AND "I">-100;A4:=CROSS("RSI.RSI1","RSI.RSI2") AND "RSI.RSI1"<50;A5:=REF("WR.WR1",1)>90 AND "WR.WR1"<70;A6:=CROSS("BIAS.BIAS1",-5);A7:=REF("DMI.PDI",1)<REF("DMI.MDI",1) AND REF("DMI.PDI",1)<REF("DMI.ADX",1) AND REF("DMI.PDI",1)<REF("DMI.ADXR",1) AND "DMI.PDI">"DMI.MDI" AND "DMI.PDI">"DMI.ADX" AND "DMI.PDI">"DMI.ADXR";A8:=CROSS("MFI.MFI",20) AND REF("MFI.MFI",1)<20;MTM:=CLOSE-REF(CLOSE,20);MAMTM:=MA(MTM,60);A9:=CROSS(MTM,MAMTM);OSC:=100*(CLOSE-MA(CLOSE,20));MAOSC:=EXPMEMA(OSC,6);MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;DKX:=(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210;MADKX:=MA(DKX,20);A10:="ADTM.ADTM"<-0.8;AA1:=A1 AND A2 AND A3;AA2:=A1 AND A2 AND A4;AA3:=A1 AND A2 AND A5;AA4:=A1 AND A2 AND A6;AA5:=A1 AND A2 AND A7;AA6:=A1 AND A2 AND A8;AA7:=A1 AND A2 AND A9;AA8:=A1 AND A2 AND A10;AA9:=A1 AND A3 AND A4;AA10:=A1 AND A3 AND A5;AA11:=A1 AND A3 AND A6;AA12:=A1 AND A3 AND A7;AA13:=A1 AND A3 AND A8;AA14:=A1 AND A3 AND A9;AA16:=A1 AND A4 AND A5; AA17:=A1 AND A4 AND A6; AA18:=A1 AND A4 AND A7; AA19:=A1 AND A4 AND A8; AA20:=A1 AND A4 AND A9; AA21:=A1 AND A4 AND A10; AA22:=A1 AND A5 AND A6; AA23:=A1 AND A5 AND A7; AA24:=A1 AND A5 AND A8; AA25:=A1 AND A5 AND A9; AA26:=A1 AND A5 AND A10; AA27:=A1 AND A6 AND A7; AA28:=A1 AND A6 AND A8; AA29:=A1 AND A6 AND A9; AA30:=A1 AND A6 AND A10; AA31:=A1 AND A7 AND A8; AA32:=A1 AND A7 AND A9; AA33:=A1 AND A7 AND A10; AA34:=A1 AND A8 AND A9; AA35:=A1 AND A8 AND A10; AA36:=A1 AND A9 AND A10; AA37:=A2 AND A3 AND A4; AA38:=A2 AND A3 AND A5; AA39:=A2 AND A3 AND A6; AA40:=A2 AND A3 AND A7; AA41:=A2 AND A3 AND A8; AA42:=A2 AND A3 AND A9; AA43:=A2 AND A3 AND A10; AA44:=A2 AND A4 AND A5; AA45:=A2 AND A4 AND A6; AA46:=A2 AND A4 AND A7; AA47:=A2 AND A4 AND A8; AA48:=A2 AND A4 AND A9; AA49:=A2 AND A4 AND A10; AA50:=A2 AND A5 AND A6; AA51:=A2 AND A5 AND A7; AA52:=A2 AND A5 AND A8;AA54:=A2 AND A5 AND A10; AA55:=A2 AND A6 AND A7; AA56:=A2 AND A6 AND A8; AA57:=A2 AND A6 AND A9; AA58:=A2 AND A6 AND A10; AA59:=A2 AND A7 AND A8; AA60:=A2 AND A7 AND A9; AA61:=A2 AND A7 AND A10; AA62:=A2 AND A8 AND A9; AA63:=A2 AND A8 AND A10; AA64:=A2 AND A9 AND A10; AA65:=A3 AND A4 AND A5; AA66:=A3 AND A4 AND A6; AA67:=A3 AND A4 AND A7; AA68:=A3 AND A4 AND A8; AA69:=A3 AND A4 AND A9; AA70:=A3 AND A4 AND A10; AA71:=A3 AND A5 AND A6; AA72:=A3 AND A5 AND A7; AA73:=A3 AND A5 AND A8; AA74:=A3 AND A5 AND A9; AA75:=A3 AND A5 AND A10; AA76:=A3 AND A6 AND A7; AA77:=A3 AND A6 AND A8; AA78:=A3 AND A6 AND A9; AA79:=A3 AND A6 AND A10; AA80:=A3 AND A7 AND A8; AA81:=A3 AND A7 AND A9; AA82:=A3 AND A7 AND A10; AA83:=A3 AND A8 AND A9; AA84:=A3 AND A8 AND A10; AA85:=A3 AND A9 AND A10; AA86:=A4 AND A5 AND A6; AA87:=A4 AND A5 AND A7; AA88:=A4 AND A5 AND A8; AA89:=A4 AND A5 AND A9; AA90:=A4 AND A5 AND A10;AA92:=A4 AND A6 AND A8;AA93:=A4 AND A6 AND A9;AA94:=A4 AND A6 AND A10;AA95:=A4 AND A7 AND A8;AA96:=A4 AND A7 AND A9;AA97:=A4 AND A7 AND A10;AA98:=A4 AND A8 AND A9;AA99:=A4 AND A8 AND A10;AA100:=A4 AND A9 AND A10;AA101:=A5 AND A6 AND A7;AA102:=A5 AND A6 AND A8;AA103:=A5 AND A6 AND A9;AA104:=A5 AND A6 AND A10;AA105:=A5 AND A7 AND A8;AA106:=A5 AND A7 AND A9;AA107:=A5 AND A7 AND A10;AA108:=A5 AND A8 AND A9;AA109:=A5 AND A8 AND A10;AA110:=A5 AND A9 AND A10;AA111:=A6 AND A7 AND A8;AA112:=A6 AND A7 AND A9;AA113:=A6 AND A7 AND A10;AA114:=A6 AND A8 AND A9;AA115:=A6 AND A8 AND A10;AA116:=A6 AND A9 AND A10;AA117:=A7 AND A8 AND A9;AA118:=A7 AND A8 AND A10;AA119:=A7 AND A9 AND A10;AA120:=A8 AND A9 AND A10;XG:=AA1 OR AA2 OR AA3 OR AA4 OR AA5 OR AA6 OR AA7 OR AA8 OR AA9 OR AA10 OR AA11 OR AA12 OR AA13 OR AA14 ORAA15 OR AA16 OR AA17 OR AA18 OR AA19 OR AA20 OR AA21 OR AA22 OR AA23 OR AA24 OR AA25 OR AA26 OR AA27 ORAA28 OR AA29 OR AA30 OR AA31 OR AA32 OR AA33 OR AA34 OR AA35 OR AA36 OR AA37 OR AA38 OR AA39 OR AA40 ORAA41 OR AA42 OR AA43 OR AA44 OR AA45 OR AA46 OR AA47 OR AA48 OR AA49 OR AA50 OR AA51 OR AA52 OR AA53 ORAA54 OR AA55 OR AA56 OR AA57 OR AA58 OR AA59 OR AA60 OR AA61 OR AA62 OR AA63 OR AA64 OR AA65 OR AA66 ORAA67 OR AA68 OR AA69 OR AA70 OR AA71 OR AA72 OR AA73 OR AA74 OR AA75 OR AA76 OR AA77 OR AA78 OR AA79 ORAA80 OR AA81 OR AA82 OR AA83 OR AA84 OR AA85 OR AA86 OR AA87 OR AA88 OR AA89 OR AA90 OR AA91 OR AA92 ORAA93 OR AA94 OR AA95 OR AA96 OR AA97 OR AA98 OR AA99 OR AA100 OR AA102 OR AA103 OR AA104 OR AA105 ORAA106 OR AA107 OR AA108 OR AA109 OR AA110 OR AA112 OR AA113 OR AA114 OR AA115 OR AA116 OR AA117 ORAA118 OR AA119 OR AA120;选股:=IF(XG,1,0),COLORRED;STICKLINE(FILTER(选股>=1,5),60,0,3,0),COLORRED;VARA3:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55 ))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);趋势:=EMA(VARA3,3)-10;VARB7:=LLV(LOW,30);VARA11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*20;VARA12:=HHV(VARA11,30)*20;火焰山:=EMA(IF(LOW<=VARB7 AND 趋势<40,(VARA11+VARA12),0),3)/618,COLORRED,LINETHICK2;火焰:=STICKLINE(火焰山>0,0,火焰山,3,1);今量:=火焰山;STICKLINE(火焰山>0,0,今量*1.2,2,0),COLORLIRED;DRAWTEXT( 选股,35,'抄底'),COLOR00FF00;。

通达信公式源码精准抄底逃顶

通达信公式源码精准抄底逃顶

通达信公式源码精准抄底逃顶抄底逃顶是投资者们经常在股市中使用的一种操作策略。

通达信是一种常用的股票分析软件,它提供了一系列的公式(也称为指标),用于帮助投资者分析和预测股票市场的走势。

在这篇文章中,我将为你介绍一些常用的通达信公式源码,以帮助你更加准确地抄底逃顶。

首先,我们先介绍一下通达信如何使用公式源码。

通达信的公式源码是一种股票分析算法,需要通过编程语言(如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)是一个广泛应用于股票分析的技术指标,它通过计算一段时间内的平均涨幅和平均跌幅来判断股票价格的强弱程度。

通达信指标公式源码趋势操盘抄底副图指标

通达信指标公式源码趋势操盘抄底副图指标

通达信指标公式源码趋势操盘抄底副图指标{趋势操盘}VAR1:=(EMA(C,12)-EMA(C,26))*100+50;VAR2:=EMA(VAR1,9);VAR3:=((HHV(H,21)-C)/(HHV(H,21)-LLV(L,21)))*100-10;VAR4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;VAR5:=SMA(VAR4,13,8);VAR6:=SMA(VAR3,21,8);VAR7:=MA(C,80)-MA(C,10)/7;VAR8:=EMA(C,5);VAR9:=MA((LLV(C,9))*1.1,14);VAR10:=2*VAR9-VAR8-C*0.1;VAR11:=IF(((VAR8-VAR10)*5>0),(POW((VAR8-VAR10)*5,2))/10,(-1*(POW((VAR8-VAR10)*(5),2)))/(10));VAR12:=IF((VAR11>0),VAR11-0,12);VAR13:=SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100;趋势线:CEILING(SMA(VAR5,13,8)),LINETHICK2,COLOR0000FF;操盘线: MA(3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1),5),LINETHICK2,COLORBLUE;STICKLINE(FILTER(CROSS(趋势线,VAR12)AND 趋势线>REF(C,1) OR CROSS(趋势线,操盘线) AND 趋势线<20 OR 趋势线>REF(趋势线,1)AND 趋势线<35 AND C>REF(C,1),5),5,20,2,2),COLOR00FF00;底部:IF((趋势线-VAR6<(-65)),20,40),COLORF0F000;顶部:IF((趋势线-VAR6>85),80,100),COLORF0F000;DRAWICON(IF(VAR13<15,15,0),20,1);黄金区:IF(VAR13<15,15,0),COLORYELLOW;强弱分界:50,POINTDOT,COLORAABBDD,LINETHICK2;{抄底不败参数:P1:-20 20 -6}P1:=-6;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,24)*100;MM:=(BIAS1+2*BIAS2+3*BIAS3)/6;股价趋势:=MA(MM,3),COLORRED;买入信号:=EMA(股价趋势,2);抄底:IF(股价趋势<P1,20,0),COLORFFCCCC;DRAWTEXT(CROSS(股价趋势,买入信号) AND COUNT(买入信号<P1,2)>1,50,'┻'),COLORRED,L INETHICK3;STICKLINE((股价趋势<-9),0,0,4,0 ),COLORCC0033;STICKLINE((股价趋势<-9),0,5,4,0 ),COLORFF9966;底部预警信号:=STICKLINE( (股价趋势<-9),0,2,4,0) ,COLORFFCC66;STICKLINE( (股价趋势<-9),0,8,4,0 ),COLORFFFF66;XY1272:=STICKLINE((股价趋势<-12),10 ,-15,4,0) ,COLOR0066FF;STICKLINE((股价趋势<-12),10 ,-5,4,0 ),COLOR0099FF;STICKLINE((股价趋势<-12),10 ,0,4,0 ),COLOR00CCFF;STICKLINE((股价趋势<-12),10 ,3,4,0),COLOR00FFFF;风险提示:本指标公式仅作为知识分享,不构成任何投资建议,投资有风险,交易需谨慎。

通达信——安全边际非常高的抄底公式

通达信——安全边际非常高的抄底公式

通达信——安全边际非常高的抄底公式
通达信——安全边际非常高的抄底公式
稳赢公式出现白色柱子关注出现红色建仓标志介入!股票是随便找的5个挨着的大家可以自己看希望诸君量力而行在行情趋势向好的情况下中短线持有行情较差时最好快进快出!公式好用不在复杂直接简单明了可靠!才最重要!本公式无未来无漂移收盘时啥样子以后就啥样子!
指标源码
N:=5; VAR1:4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)- 3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-
LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK0;
VAR2:8,COLORGREEN,LINETHICK0;稳赢池: IF(CROSS(VAR1,VAR2),80,0),STICK,COLOR0000CC,LINETHICK2;专吸庄血: IF(VAR1<=8,80,0),STICK,COLORWHITE,LINETHICK2;。

通达信指标公式源码很实用的抄底逃顶指标

通达信指标公式源码很实用的抄底逃顶指标

很实用的抄底逃顶指标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;。

精品抄底通达信指标公式源码

精品抄底通达信指标公式源码

精品抄底通达信指标公式源码网上有个不错的公示,我修改了一下,感觉还不错,发出来给大家。

x_1:=6;x_2:=80;x_3:=ref(close,1);x_4:=sma(max(close-x_3,0),18,1)/sma(abs(close-x_3),13,1)*100;x_5:=sma(max(close-x_3,0),24,1)/sma(abs(close-x_3),20,1)*100;x_6:=barslast(x_5<48)<=3andcross(x_4,x_5);x_7:=(close-ma(close,48))/ma(close,20)*100x_10:=ema((close-x_8)/(x_9-x_8)*100,4);x_11:=ema(0.667*ref(x_10,1)+0.333*x_10,2);x_12:=1011131;x_13:=if(date<=x_12,x_7,0)orif(date<=x_12,x_2,0);x_14:=ref(close,1);x_15:=sma(max(close-x_14,0),7,1)/sma(abs(close-x_14),7,1)*100;x_16:=sma(max(close-x_14,0),13,1)/sma(abs(close-x_14),13,1)*100;x_17:=barslast(x_16<43)<=3andcross(x_15,x_16);x_18:=(close-ma(close,43))/ma(close,20)*100x_21:=ema((close-x_19)/(x_20-x_19)*100,4);x_22:=ema(0.667*ref(x_21,1)+0.333*x_21,2);x_23:=1011131;x_24:=if(date<=x_23,x_18,0)orif(date<=x_23,x_2,0);x_25:=0-(-1)*x_17andx_18andcross(x_21,x_22)andx_21<=25;x_26:=ref(close,1);x_27:=sma(max(close-x_26,0),7,1)/sma(abs(close-x_26),7,1)*100;x_28:=sma(max(close-x_26,0),13,1)/sma(abs(close-x_26),13,1)*100;x_29:=barslast(x_28<33)<=3andcross(x_27,x_28);x_30:=(close-ma(close,33))/ma(close,20)*100x_33:=ema((close-x_31)/(x_32-x_31)*100,4);x_34:=ema(0.667*ref(x_33,1)+0.333*x_33,2);x_35:=1011131;x_36:=if(date<=x_35,x_30,0)orif(date<=x_35,x_2,0);x_37:=0-(-1)*x_29andx_30andcross(x_33,x_34)andx_33<=25;x_38:=ref(close,1);x_39:=sma(max(close-x_38,0),7,1)/sma(abs(close-x_38),7,1)*100;x_40:=sma(max(close-x_38,0),13,1)/sma(abs(close-x_38),13,1)*100;x_41:=barslast(x_40<23)<=3andcross(x_39,x_40);x_42:=(close-ma(close,23))/ma(close,20)*100x_45:=ema((close-x_43)/(x_44-x_43)*100,4);x_46:=ema(0.667*ref(x_45,1)+0.333*x_45,2);x_47:=1011131;x_48:=if(date<=x_47,x_42,0)orif(date<=x_47,x_2,0);x_49:=0-(-1)*x_41andx_42andcross(x_45,x_46)andx_45<=25;x_50:=(ma(close,60)-low)/ma(close,20)*200;x_51:=(ma(close,60)-low)/ma(close,60)*200;x_52:=(ma(close,30)-low)/ma(close,60)*200;x_53:=ref(close,1);x_54:=sma(max(close-x_53,0),7,1)/sma(abs(close-x_53),7,1)*100;x_55:=filter(ref(x_54,1)<20andx_54>ref(x_54,1),5);x_56:=close/m a(close,40)<0.74;x_57:=5;x_58:=ema(close,x_57);x_59:=ema(x_58,x_57);x_60:=x_58-ref(x_58,1);x_61:=x_59-ref(x_59,1);x_62:=abs(x_58-x_59);x_63:=(high-low)/ref(close,1)>0.05;x_64:=(x_60+x_61)/2;x_65:=pow(x_62,1)*pow(x_64,3);x_66:=x_65/hhv(abs(x_65),x_57*3);x_67:=count(x_6 3,5)>1;x_68:=x_56andx_63andx_67;x_69:=cross(x_66,(-0.9));x_70:=filter(x_55andx_52>20orclose>ref(close,1)andref(x_68,1),10);x_71:=filter (ref(x_68,1)and(x_69orclose>ref(close,1))andmacd.macd>(-1.5),10);x_72:=count(x_71,13)>=1andx_70;x_73:=x_72;x_74:=x_37;x_75:=x_49;xg:if(x_73andx_74,x_73andx_74,0)orif(x_73andx_75,x_73andx_75,0);。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
相关文档
最新文档