短线买入副图-精品通达信指标公式源码分享

通达信免费指标 12-03 阅读:10 评论:0

image.png

P1:=5;   

主力资金增减: IF(DATE<1500601,WINNER(CLOSE*(120-P1)/120)*120,0),COLORRED;   

VAR1:=IF(DATE>=1990601,0,1);   

VAR2:=TROUGHBARS(3,15,1)<10;   

VAR3:=PEAKBARS(3,15,1)<10;   

VAR4:=IF(VAR2=1,50,0),LINETHICK2;   

VAR5:=IF(VAR3=1,50,0);   

VAR6:=EMA(LLV(LOW,90),21);   

VAR7:=EMA((VAR4*0.96+VAR5*0.96+VAR6*0.96+VAR1*0.558+VAR2*0.558+VAR3*0.558)/6,21); VAR8:=EMA((VAR4*1.25+VAR5*1.23+VAR6*1.2+VAR1*0.55+VAR2*0.55+VAR3*0.65)/6,21);    

VAR9:=EMA((VAR4*1.3+VAR5*1.3+VAR6*1.3+VAR1*0.68+VAR2*0.68+VAR3*0.68)/6,21);    

VARA:=EMA((VAR7*3+VAR8*2+VAR9)/6*1.738,21);    

VARB:=REF(LOW,1);    

VARC:=SMA(ABS(LOW-VARB),3,1)/SMA(MAX(LOW-VARB,0),3,1)*100;   

VARD:=EMA(IF(CLOSE*1.35<=VARA,VARC*10,VARC/10),3);    

VARE:=LLV(LOW,30);    

VARF:=HHV(VARD,30);    

VAR10:=IF(MA(CLOSE,58),1,0);    

VAR11:=EMA(IF(LOW<=VARE,(VARD+VARF*2)/2,0),3)/618*VAR10;    

VAR12:=IF(VAR11>40,10,VAR11);    

STICKLINE(VAR12>8,0,VAR12,4,1), , COLORFF00FF;   

VAR13:=HHV(HIGH,30);   

VAR14:=LLV(LOW,30);    

底部逢低买入: IF(VAR4=50,10,0),STICK,COLOR009090;   

顶部逢高卖出: IF(VAR5=50,80,0),STICK,COLOR00FF00;   

短线趋势:EMA((CLOSE-VAR14)/(VAR13-VAR14)*97,5),COLORWHITE;    

中线趋势:EMA((CLOSE-VAR14)/(VAR13-VAR14)*100,15),LINETHICK2,COLORFF9933;   

DRAWTEXT(CROSS(短线趋势,中线趋势),8,'金叉'),COLORYELLOW;   

DRAWTEXT(CROSS(短线趋势,中线趋势),15,'●'),COLORYELLOW;   

VAR15:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;   

VAR16:=SMA(VAR1,3,1);   

VAR17:=SMA(VAR2,3,1);   

VAR18:=SMA(VAR3,3,1);   

VAR19:=CROSS(VAR17,VAR18) AND VAR17<20;   

DRAWICON(FILTER(VARF=1,3),50,1);   

DRAWTEXT(FILTER(VAR19,10)=1,40,'短线买入'),COLORYELLOW;   

STICKLINE(FILTER(VAR19,10)=1,0,30,10,0),COLORRED;   

VAR20:=CROSS(VAR16,VAR17) AND VAR17>80 AND VAR17>VAR18;   

AA:=LLV(LOW,36);   

BB:=HHV(HIGH,30);   

DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);   

股海:=(((DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21)))*(4))*(25);   

注意拉升:IF(CROSS(股海,90) AND (DD<40),70,0),COLORRED;   

DRAWTEXT(CROSS(股海,90) AND (DD<40),25,'注意拉升'),COLORRED;


版权声明

本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!

服务热线

18020657357

微信客服

微信客服