飞狐牛熊虾米指标公式

[复制链接]
查看151 | 回复0 | 2021-8-21 12:50:42 | 显示全部楼层 |阅读模式

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;

202108211228.jpg

202108211228.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则