在线检测未来函数

同花顺牛二线指标公式

来源:Internet,编辑:股旁网,2018-09-13

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;

同花顺牛二线指标公式

相关文章