通达信长牛趋势线指标公式

2019-05-28    作者:股匠网整理    来源:本站整理

VAR1:=1;
趋势线: ((3*SMA((CLOSE-LLV(LOW27))/(HHV(HIGH27)-LLV(LOW27))*10051)-2*SMA(SMA((CLOSE-LLV(LOW27))/(HHV(HIGH27)-LLV(LOW27))*10051)31)-50)*1.032+50)COLORRED;
VAR2:=(2*CLOSE+HIGH+LOW+OPEN)/5;
VAR3:=LLV(LOW34);
VAR4:=HHV(HIGH34);
SK: EMA((VAR2-VAR3)/(VAR4-VAR3)*10013)*VAR1COLORWHITE;
SD: EMA(SK2)COLORYELLOW;
VAR5:=EMA(CLOSE12)-EMA(CLOSE26);
VAR6:=EMA(VAR59);
VAR7:=VAR1*CLOSE*1.236<MA(CLOSE60);
VAR8:=CLOSE/REF(CLOSE1)>1.021;
VAR9:=(HIGH-CLOSE)*1.36<=CLOSE-OPEN;
VARA:=(MA(CLOSE120)-CLOSE)/CLOSE*100;
VARB:=ABS(VAR5-VAR6);
VARC:=STD(CLOSE90)*10;
VARD:=COUNT((REF(CLOSE15)-CLOSE)/CLOSE*100>455);
买:IF( VAR1*VAR7 AND VAR8 AND VAR9 AND VARC<25 AND CLOSE<8 AND VARA<114 AND VARB<=0.23*40550)COLORRED;
VARE:=SLOPE(CLOSE40);
VARF:=COUNT((CLOSE-REF(CLOSE1))/REF(CLOSE1)<-0.09890);
VAR10:=(MA(CLOSE120)-CLOSE)/CLOSE*100;
VAR11:=STD(CLOSE63)*10;
VAR12:=(MA(CLOSE76)-MA(CLOSE13)/3);
VAR13:=MA((CLOSE-VAR12)/VAR121);
VAR14:=MA(CLOSE5);
VAR15:=MA(CLOSE10);
VAR16:=MA(CLOSE20);
VAR17:=MA(CLOSE30);
VAR18:=MA(CLOSE60);
VAR19:=MA(CLOSE150);
VAR1A:=MA(CLOSE250);
VAR1B:=VOL/CAPITAL*100;
VAR1C:=(CLOSE-VAR1A)/VAR1A*100;
VAR1D:=(CLOSE/REF(CLOSE1)-1)*100;
VAR1E:=PWINNER(1CLOSE);
VAR1F:=IF(VAR1>0.75 AND VAR1<0.9010.6181);
牛: IF(VAR14>VAR15 AND VAR15>VAR16 AND VAR16>VAR17 AND VAR16>VAR18 AND VAR19>VAR1A AND (VAR1E>=0.9 OR VAR1E>0.76 AND VAR1E<0.901 AND VAR1D>5 AND VAR1B>5) AND VAR1D>1.8 AND VAR1C<40 AND CLOSE>3 AND (CLOSE-VAR18)/VAR18<0.25 AND VAR1B<=6 AND VAR4*VAR1B>=1 AND CLOSE<18.5350) COLORF00F00;
VAR20:=(MA(CLOSE3)+MA(CLOSE6)+MA(CLOSE12)+MA(CLOSE24))/4;
VAR21:=(MA(CLOSE48)+MA(CLOSE6)+MA(CLOSE12)+MA(CLOSE24))/4;
VAR22:=VAR1*(MA(CLOSE12)+MA(CLOSE24)+MA(CLOSE48)+MA(CLOSE96))/4;
VAR23:=VAR1*MA(CLOSE250);
VAR24:=MA(CLOSE125);
VAR25:=CLOSE/MA(CLOSE3)>=1.05 AND CLOSE=HHV(CLOSE3) AND MA(VOL2)/MA(VOL40)>=3 AND MA(VOL2)=HHV(MA(VOL2)3) AND VOL>REF(VOL1) AND CLOSE>REF(CLOSE1);
VAR26:=REF(CLOSE1);
VAR27:=SMA(MAX(CLOSE-VAR260)51)/SMA(ABS(CLOSE-VAR26)51)*100;
VAR28:=VAR1*COUNT(VAR27<2520)>=1;
VAR29:=(HIGH-LOW)/HIGH*100+(CLOSE-VAR26)/VAR26*100;
VAR2A:=EMA(MA(VAR2941)6);
VAR2B:=VAR2A>LLV(VAR2A6)*1.02 AND REF(VAR2A1)<REF(LLV(VAR2A6)1)*1.02 AND LLV(VAR2A29)=LLV(VAR2A6);
VAR2C:=VAR1*LLV(LOW6)=LLV(LOW41) AND LLV(LOW6)<HHV(LOW41)*71/100;
VAR2D:=HIGH>LOW*1.033;
涨势确立: VAR1*(VAR2C>0 AND VAR2D*16+81.5)*VAR1COLOR80FFFF ;
买入:IF(CROSS(趋势线21)5018.5)LINETHICK1COLORAAA0FF;
卖出:IF(CROSS(87趋势线)6081.5 )COLORFFAA00;
DRAWTEXT(VAR2C>0 AND VAR2D88'↑')COLORWHITE;
VAR2E:=IF(CROSS(SKSD)2518.5);
VAR2F:=IF(CROSS(SDSK)7581.5);
卖线: VAR2F COLORWHITE;
买线: VAR2ECOLORRED;
VAR13<0.06*(-10)+81.5COLORWHITE;
VAR30:0-SQRT(SQRT(FLOOR(SQRT(MA(1/WINNER(CLOSE)*1004)/10000))))*5;
STICKLINE(VAR30<-20VAR301.51);
DRAWTEXT(买入>VAR2E61'短买')COLORAAAAFF;
DRAWTEXT(卖出<VAR2F58'短卖')COLORFFAA00;
DRAWTEXT(买>1.065'长买')COLORRED;
DRAWTEXT(牛>1.040'长牛')COLORF00F00;

阅读:304    评论:0

联系我们 - 关于我们 - 网站地图

声明:站内所有文章、公式均来自互联网或网友分享提供,如侵犯您的权利请告知,我们会在24小时内及时删除! 


【电脑版】  【回到顶部】