%> 同花顺牛二线指标公式_股票教程网
同花顺牛二线指标公式 1541

VAR255:=LLV(LOW,5);

VAR355:=HHV(HIGH,50);

动力线:EMA((CLOSE-VAR255)/(VAR355-VAR255)*5,5)*20,POINTDOT,;

STICKLINE(动力线>REF(动力线,1) ,动力线 ,REF(动力线,1),8,1),colorlired;

STICKLINE(动力线<=REF(动力线,1) ,动力线 ,REF(动力线,1),8,1),COLOR00FF00;

LC:=REF(CLOSE,1);

RSI6:=SMA(MAX(CLOSE-LC,0),4,1)/SMA(ABS(CLOSE-LC),4,1)*100;

MA6 :MA(RSI6,3),colorgreen;

STICKLINE(MA6>REF(MA6,1) ,MA6 ,REF(MA6,1),2,1),COLOR0000FF;

STICKLINE(动力线>MA6,动力线,MA6,2,0),coloryellow,LINETHICK3;

B:=ZIG(3,51/5)*100,colorwhite;

G:=MA(B,2),coloryellow;

D:=CROSS(B,G)*1000,colorred;

W:=CROSS(G,B)*1000,colorblue;

A30:=MA(C,30);

angleA30:=ATAN((A30/REF(A30,1)-1)*100)*57.3;

angle30:=angleA30>40 OR angleA30<-48;

A10:=MA(C,10);

angleA10:=ATAN((A10/REF(A10,1)-1)*100)*57.3;

angle10:=angleA10>20 OR angleA10<-25 AND CLOSE>MA(CLOSE,20) ;

A3010:=angle30 OR angle10;

aazt:=COUNT(CLOSE>REF(CLOSE,1)*1.097 ,20)>0;

DRAWGBK( W=1000 ),colorcyan;

DRAWGBK( D=1000 ),color0099FF;

DRAWGBK( W=1000 AND aazt),colorgreen;

DRAWGBK( D=1000 AND aazt),colorred;

F1:=ZIG(3,18);

方向:=IF((F1> REF(F1,1)),-14,99);

STICKLINE(方向>90,-14,-2,10,1),COLOR00FF00;

STICKLINE(方向<0,88,99,10,1),colorred;



 

{股票教程网-http://gwgz.net/承接通达信软件和公式破解,普通加密破解,完全加密破解,导入密码破解,时间限制破解,公式编写,可按您的要求写公式指标,价格按难度不同报价,有需要可以找我们}