飞狐时间之窗副图指标
源码
var1:=ma(close,15);
var2:=var1+(2)*(std(close,20));
var3:=var1-(2)*(std(close,20));
var4:=((close-var3)/(var2-var3))*(100);
var5:=(var4-ema(var4,2))*(100);
var6:=((ema(var5,22))*(10))*(100);
var7:=ema(((0.4)*(var5))*((-1)),300);
var8:=((((-1))*(ema(var5,20)))*(10))*(100);
var9:=(var6>10);
vara:=(var8>100);
varb:=ma(var9,300);
varc:=ma(var9,5);
vard:=ma(var9,10);
vare:=ma(var9,20);
varf:=ma(var9,30);
var10:=ma(var9,40);
var11:=ma(var9,50);
var12:=min(var9,varc);
★:min(var12,vard),colorffccff;
红:min(★,vare),color0000ff;
色:min(红,varf),colorffff00;
上:min(色,var10),color00ff00;
升:min(上,var11),color00ff00;
var13:=(ma(vara,300))*(100);
var14:=ma(vara,5);
var15:=ma(vara,10);
var16:=ma(vara,20);
var17:=ma(vara,30);
var18:=ma(vara,40);
var19:=ma(vara,50);
(黄:min(vara,var15),color00ffcc;
min(vara,var13),color33ffcc;
min(vara,var14),color66ffcc;
色):min((黄,var16),color99ffff;
下:min(色),var17),color55ffff;
降:min(下,var18),color33ffff;
min(降,var19),color00ffff;
var1a:=forcast(close,2);
var1b:=(high+(4)*(low)+open+var1a)/(7);
var1c:=ema(var1b,13)-ema(var1b,34);
var1d:=ema(var1c,5);
var1e:=(var1c-var1d)*(5);
var1f:=if((var1e>=1000),1000,if((var1e<=var1b),var1b,var1e));
var20:=(forcast(forcast(var1f,14),10))/(1.007);
(时间之窗):min(vara,var20),color0066cc;
min((时间之窗),var20),color0066cc;