在线检测未来函数

飞狐日内成交指标公式

来源:Internet,编辑:股旁网,2014-11-29

VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
成交:VOL,POINTDOT,LINETHICK0;
成交1:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,POINTDOT,LINETHICK0;
成交2:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLOR00FF00,POINTDOT,LINETHICK0;
成交3:成交1+成交2,COLORRED;
STICKLINE(成交3> 0,成交3,0,15,0),color0000FF;
STICKLINE(3< 0,成交3,0,15,0),colorFF0000,COLOR00FF00;
N:=125;M:=250;
N日内成交4:=SUM(成交3,N),LINETHICK0,COLOR00ff00;
流入:=IF(N日内成交4>REF(N日内成交4,1),N日内成交4,0),COLORRED,LINETHICK0;
连红天:BARSLAST(成交3<1);
走牛:BARSLAST(n日内成交4>0),COLORRED;

飞狐日内成交指标公式

 

相关文章