通达信实用抄底逃顶源码副图

2016-12-23 23:21:00来源:本站整理浏览:284

{实用抄底逃顶}

VARA:=(2*CLOSE+HIGH+LOW)/4;

VARB:=LLV(LOW,34);

VARC:=HHV(HIGH,34);

VARD:=EMA((VARA-VARB)/(VARC-VARB)*100,13);

VARE:=EMA(0.667*REF(VARD,1)+0.333*VARD,2);

STICKLINE(VARD-VARE > 0,VARD,VARE,3,0),COLORRED;

STICKLINE(VARD-VARE < 0,VARD,VARE,3,0),COLOR00FF0F;

生命:EMA(VARE,5), COLORGRAY,NODRAW;

出击:IF(CROSS(VARD,VARE) AND VARD > VARE AND VARD < 18,20,0), STICK,COLORGREEN;

DRAWICON(出击 > 0,5,1);

卖出:IF(CROSS(VARE,VARD) AND VARD < VARE AND VARD > 60,VARE,88),POINTDOT,COLORWHITE;

STICKLINE((CROSS(VARE,VARD) AND VARD < VARE AND VARD > 60),VARE,88,2,0),COLORBLUE;

DRAWICON(卖出 < 88,卖出,4);

逃顶:90;

AA:=LLV(LOW,34);

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),45,0),COLOR6633FF;

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

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

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

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

波: VAR3,LINETHICK1.5,COLORYELLOW;

段: VAR4,LINETHICK1.5,COLORFF99FF;

VAR6:=CROSS(VAR3,VAR4) AND VAR3<20;

DRAWTEXT(FILTER(VAR6,10)=1,35,'抄底'),LINETHICK1;

STICKLINE(FILTER(VAR6,10)=1,0,30,3,0),COLORFF00FF;

VAR7:=CROSS(VAR4,VAR3) AND VAR3>80;

STICKLINE(FILTER(VAR7,5)=1,80,100,3,0),COLORYELLOW , ;

DRAWTEXT(FILTER(VAR7,5)=1,75,'逃顶'),LINETHICK1 ,COLORYELLOW, ;

VAR8:=CROSS(VAR2,VAR3) AND VAR3>80 AND VAR3>VAR4;

STICKLINE(VAR8,85,100,3,0);

90;

0;


 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式