var2:=(close-llv(low,24))/(hhv(high,24)-llv(low,24))20010; 买卖力度: sma(var2,5,1),colorgreen; 异常区: 1500,coloryellow; var3:=vol/((high-low)2-abs(close-open)); var4:=(if(close>open,var3(high-low),if(close< open,var3*(high-open close-low),vol/2))/(if(close>open,0-var3*(high-close open-low),if(close< open,0-var3*(high-low),0-vol/2))(-1))-if(close>open,0-var3(high-close open-low),if(close< open,0-var3*(high-low),0-vol/2))(-1)/if(close>open,var3(high-low),if(close< open,var3*(high-open close-low),vol/2))); var5:=amount/(100vol); var6:=ma(var5,40); var7:=100(close-var6)/var6; 底部追击: if(var4>0 and var7< -12 and close/open>1.08,300,200),colorgreen; stickline(var4>0 and var7< -12 and close/open>1.08,1200,200,10,0) , colorgreen; 买进300: if(var4>0 and var7< -12 and close/open>1.05,300,200),colormagenta; stickline(var4>0 and var7< -12 and close/open>1.05,800,200,6,1),colormagenta; var8:=(close-llv(low,34))/(hhv(high,34)-llv(low,34))*100; var9:=sma(var8,3,1); vara:=sma(var9,3,1); d: sma(vara,5,1)*20, colorcyan;
紫色柱选股公式如下 :
var3:=vol/((high-low)2-abs(close-open)); var4:=(if(close>open,var3(high-low),if(close< open,var3*(high-open close-low),vol/2))/(if(close>open,0-var3*(high-close open-low),if(close< open,0-var3*(high-low),0-vol/2))(-1))-if(close>open,0-var3(high-close open-low),if(close< open,0-var3*(high-low),0-vol/2))(-1)/if(close>open,var3(high-low),if(close< open,var3*(high-open close-low),vol/2))); var5:=amount/(100vol); var6:=ma(var5,40); var7:=100(close-var6)/var6; 紫色柱:var4>0 and var7< -12 and close/open>1.05;