在线检测未来函数

飞狐长短线指标公式

来源:Internet,编辑:股旁网,2014-05-27

M:=25;
N:=7;
VAR1:=AMOUNT/VOL/7;
VAR2:=(HIGH+LOW+OPEN+2*CLOSE)/5;
VAR3:=SUM(AMOUNT,7)/VAR1/7;
VAR33:=SUM(AMOUNT,M)/VAR1/7;
VAR44:=DMA(VAR2,VOL/VAR33);
长线:(VAR2-VAR44)/VAR44*100,COLORRED ;
FILLRGN(长线>0,长线,0),COLOR32329B;
FILLRGN(0>长线,0,长线),COLOR326400;
长均:EMA(长线,N),COLORYELLOW,PRECISION2;
VAR4:=DMA(VAR2,VOL/VAR3);
短线:=(VAR2-VAR4)/VAR4*100;
短均:=ema(短线,5);
PD:=if(短线>短均,1,0);
STICKLINE(PD=1,-0.8,0.8,6,0),COLORMAGENTA;
STICKLINE(PD=0,-0.8,0.8,6,0),COLORBLUE;
-30,LINEDOT;-20,LINEDOT;-10,POINTDOT;10,POINTDOT;20,LINEDOT;30,LINEDOT;

飞狐长短线指标公式

 

相关文章