通达信趋势扭转指标公式源码副图

VAR1:=MA(CLOSE,6);
VAR2:=MA(CLOSE,5);
VAR3:=EMA(MEMA(CLOSE,14),14);
VAR4:=EMA(MEMA(CLOSE,84),84);
VAR5:=MA(CLOSE,10);
VAR6:=MA(CLOSE,20);
VAR7:=MA(CLOSE,54);
VAR8:=FILTER(((REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5),10);
VAR9:=REF(HIGH,(BARSLAST(VAR8))+2);
VAR10:=REF(HIGH,(BARSLAST(VAR8))+1);
VAR11:=REF(HIGH,(BARSLAST(VAR8)));
VAR12:=MAX((MAX(VAR9,VAR10)),VAR11);
VAR13:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
VAR14:=(BARSLAST(VAR8))<150;
VAR15:=(OPEN-VAR12)/VAR12*100<30;
VAR16:=(CLOSE-LLV(LOW,(BARSLAST(VAR8))))/LLV(LOW,(BARSLAST(VAR8)))*100<50;
VAR17:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;
VAR18:=vol/MA(VOL,5)<3.5;
VAR19:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;
VAR20:=VAR13 AND VAR14 AND VAR15 AND VAR16 AND VAR17 AND VAR18 AND VAR19;
VAR21:=(((CLOSE-VAR7)/VAR7)<0.1);
VAR22:=(((CLOSE-VAR5)/VAR5)<0.3);
VAR23:=(((VAR21=1) AND (VAR22=1))*0.2);
VAR24:=((((VAR23=0) AND (REF(VAR23,1)=0.2)) AND (REF((COUNT((VAR23=0.2),10)=10),1)=1))*-0.1);
VAR25:=(FILTER(VAR20,15)) OR VAR24=-0.1;
VAR26:=DYNAINFO(7)/(REF(CLOSE,1))>1.05 AND (DYNAINFO(7)/O>1.05);
VAR27:=(V/REF(V,1)>1.2 AND COUNT(C>O,1)) OR (L>REF(H,1) AND COUNT(O>C,1) AND V/REF(V,1)>1.2);
VAR28:=VAR25 AND C/REF(C,1)>1.095 AND VAR27 AND VAR26;
VAR29:=REF(C<O,1) AND C>REF(O,1);
VAR30:=REF(C>O AND C<REF(C,1),1) AND C>REF(C,1);
VAR31:=(BARSLAST(VAR28))>=1 AND (BARSLAST(VAR28))<=20 AND (VAR29 OR VAR30);
VAR32:=(C/REF(C,1)*100-100)>6;
VAR33:=MAX(C,O)/MIN(C,O)*100-100;
VAR34:=BARSLASTCOUNT(VAR33<5);
VAR35:=VAR34>=2 AND VAR34<=4;
VAR36:=BARSLAST((REF(VAR32,1) AND VAR33<5));
VAR37:=C/REF(C,1)>1.095 AND H=O AND L=H;
VAR38:=REF(VAR35,1) AND (C/REF(C,1)*100-100)>2 AND VAR36<8 AND NOT(VAR37);
VAR39:=IF(CLOSE>=VAR2,1,-1);
VAR40:=IF(CLOSE>=VAR5,1,-1);
VAR41:=IF(CLOSE>=VAR6,1,-1);
VAR42:=IF(VAR2>=REF(VAR2,1),1,-1);
VAR43:=IF(VAR5>=REF(VAR5,1),1,-1);
VAR44:=IF(VAR6>=REF(VAR6,1),1,-1);
VAR45:=(VAR39+VAR40+VAR41+VAR42+VAR43+VAR44)/6*100;
VAR46:=(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S'));
VAR47:=(CLOSE*2+HIGH+LOW)/4*10;
VAR48:=EMA(VAR47,13)-EMA(VAR47,34);
VAR49:=2*(VAR48-(EMA(VAR48,5)))*5.5;
VAR50:=(H-REF(C,1))/REF(C,1)*100;
VAR51:=VAR46 AND VAR50>=4.945;
VAR52:=C=ZTPRICE(REF(C,1),0.1) OR VAR51;
VAR53:=BARSLAST((HHV(V,10))=VOL);
VAR54:=crOSS(C,REF(C,VAR53)) AND VAR52 AND NOT(DYNAINFO(4)=0);
VAR55:=VAR49>=VAR54;
VAR56:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
VAR57:=SMA((SMA(VAR56,21,1)),5,1);
VAR58:=3*(SMA(VAR56,21,1))-2*VAR57;
VAR59:=VAR58>=(SMA(VAR56,21,1)) AND (SMA(VAR56,21,1))>=VAR57;
VAR60:=VAR45>=50 AND REF(VAR45,1)<50 AND VAR55 AND VAR49>=REF(VAR49,1);
VAR61:=VAR60 AND VAR59 AND VAR2>VAR5;
VAR62:=VAR31 AND VAR38 AND C<VAR3 AND C>VAR1 AND VAR4>VAR3 AND VAR3>VAR1 AND VAR61;
VAR63:=VAR61 AND VAR38 AND VAR53;
VAR64:=C=ZTPRICE(REF(C,1),0.1) OR (NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S'));
VAR65:=VAR64 AND (H-REF(C,1))/REF(C,1)*100>=4.945;
VAR68:=C=ZTPRICE(REF(C,1),0.2);
VAR69:=(VAR62 OR VAR63 ) AND NOT((VAR65 OR VAR68));
STICKLINE(VAR69,1.6,2.2,0,0),COLORWHITE;
STICKLINE(VAR69,0.8,1.6,2,0),COLORRED;
STICKLINE(VAR69,0,0.8,2,0),COLORBLUE;
DRAWTEXT(VAR69,0.8,' ←趋势扭转'),COLORYELLOW;



未来函数检测结果如下:
该公式包含未来函数:DYNAINFO
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图