飞狐多空动力线副图指标
源码
MV:=6;SM:=12;LM:=65;
Var1:=CLOSE-REF(CLOSE,34); Var2:=(MA(VOL,5)-MA(VOL,15))/MA(VOL,10)/MV; Var3:=(MA(INDEXV,5)-MA(INDEXV,15))/MA(INDEXV,10); Var4:=Var1+Var2; Var5:=MA(Var1,SM); Var6:=MA(Var1,LM); Var7:=1340601; Var8:=(MV+2)*30; M: IF(DATE<Var7,Var4,1.1)*Var8; SJ: IF(DATE<Var7,Var5,-1.1)*Var8; LJ: IF(DATE<Var7,Var6,0)*Var8; Var9:=MA(Var1,MV/2+1); VarA:=MA(Var1,MV/2+3); ENE: IF(DATE<Var7,Var9-VarA-(Var9-Var4),0)*Var8*2, COLORSTICK; VarB:=IF(DATE<Var7,INDEXC-REF(INDEXC,34)+Var3,1.1); IND: IF(CLOSE<90,VarB,0); DRAWTEXT(DATE>Var7,100,'试'); DRAWTEXT(DATE>Var7,50,'用'); DRAWTEXT(DATE>Var7,0,'期'); DRAWTEXT(DATE>Var7,-50,'已'); DRAWTEXT(DATE>Var7,-100,'过'); DRAWTEXT(DATE>Var7,-150,'!');
移动端首页 | PC端
© by Gszb.com Mobile Web
飞狐多空动力线副图指标
源码
MV:=6;SM:=12;LM:=65;
Var1:=CLOSE-REF(CLOSE,34);
Var2:=(MA(VOL,5)-MA(VOL,15))/MA(VOL,10)/MV;
Var3:=(MA(INDEXV,5)-MA(INDEXV,15))/MA(INDEXV,10);
Var4:=Var1+Var2;
Var5:=MA(Var1,SM);
Var6:=MA(Var1,LM);
Var7:=1340601;
Var8:=(MV+2)*30;
M: IF(DATE<Var7,Var4,1.1)*Var8;
SJ: IF(DATE<Var7,Var5,-1.1)*Var8;
LJ: IF(DATE<Var7,Var6,0)*Var8;
Var9:=MA(Var1,MV/2+1);
VarA:=MA(Var1,MV/2+3);
ENE: IF(DATE<Var7,Var9-VarA-(Var9-Var4),0)*Var8*2, COLORSTICK;
VarB:=IF(DATE<Var7,INDEXC-REF(INDEXC,34)+Var3,1.1);
IND: IF(CLOSE<90,VarB,0);
DRAWTEXT(DATE>Var7,100,'试');
DRAWTEXT(DATE>Var7,50,'用');
DRAWTEXT(DATE>Var7,0,'期');
DRAWTEXT(DATE>Var7,-50,'已');
DRAWTEXT(DATE>Var7,-100,'过');
DRAWTEXT(DATE>Var7,-150,'!');