var1:=ma(close,5);
var2:=ma(close,17);
var3:=ma(close,37);
var4:=ma(close,77);
var5:=ema(cost(85),7);
var6:=ema(cost(15),7);
var7:=sum(close*vol*100,4)/sum(vol*100,4);
var8:=intpart(var7*100)/100;
var9:=sum(close*vol*100,7)/sum(vol*100,7);
vara:=intpart(var9*100)/100;
varb:=sum(close*vol*100,28)/sum(vol*100,28);
varc:=intpart(varb*100)/100;
vard:=ema(close,5)-ema(close,10);
vare:=ema(vard,9);
varf:=(-100)*(hhv(close,5)-close)/(hhv(close,5)-llv(low,5))+100;
var10:=(-100)*(hhv(close,10)-close)/(hhv(close,10)-llv(low,10))+100;
var11:=(-100)*(hhv(close,20)-close)/(hhv(close,20)-llv(low,20))+100;
var12:=(-100)*(hhv(close,30)-close)/(hhv(close,30)-llv(low,30))+100;
var13:=ref(vare,1);
var14:=vare;
var15:=var14-var13;
var16:=ref(vard,1);
var17:=vard;
var18:=var17-var16;
var19:=open;
var1a:=close;
黄金柱抓板:200*(var19<=var1 and var19<=var2 and var19<=var3 and var1a>=var1 and var1a>=varc and var15>0 and var18>0),linethick0;
stickline(黄金柱抓板,15,0,4,10),coloryellow;
drawtext(黄金柱抓板,15,'黄金柱抓板'); |