var2:=ref(low,1);
var3:=sma(abs(low-var2),3,1)/sma(max(low-var2,0),3,1)*100;
var4:=ema(if(close*1.2,var3*10,var3/10),3);
var5:=llv(low,38);
var6:=hhv(var4,38);
var7:=if(llv(low,90),1,0);
var8:=ema(if(low =var5,(var4+var6*2)/2,0),3)/618*var7;
有庄的影子: stickline(var8,0,var8,6,1) , colorffaaff;
趋势线: (close-ma(close,40))/ma(close,40)*100 , coloraabbdd;
aa:=((ref(趋势线,1) ref(趋势线,2) and 趋势线 -30) and 趋势线 =ref(趋势线,1)) or (ref(cross(-30,趋势线),1) and cross(趋势线,-30)) or 趋势线=-30;
drawtext(aa,500,'砸锅卖田买'),coloryellow;
砸锅卖田买:if(aa,500,-30),coloryellow;
bb:=((ref(趋势线,1) ref(趋势线,2) and 趋势线 -20 and 趋势线 -25) and 趋势线 =ref(趋势线,1)) or (ref(cross(-20,趋势线),1) and cross(趋势线,-20));
drawtext(bb,300,'见底信号'),colorred;
见底信号:if(bb,300,-20),colorred;
cc:=((ref(趋势线,1) ref(趋势线,2) and 趋势线 -25 and 趋势线 -30) and 趋势线 =ref(趋势线,1)) or (ref(cross(-25,趋势线),1) and cross(趋势线,-25));
drawtext(cc,400,'莫错失机会'),color00ff00;
莫错失机会:if(cc,400,-25),color00ff00;
等等等:if(cross(-20,趋势线),100,-20),linethick2,colorf0f000;
drawtext(cross(-20,趋势线),120,'★'),colorf0f000;
{www.9m8.cn 九毛八公式指标网 股票软件下载网_最新股票指标公式}
等等:if(cross(-25,趋势线),150,-25),linethick2,colorf00ff0;
drawtext(cross(-25,趋势线),170,'★'),colorf00ff0;
等:if(cross(-30,趋势线),200,-30),linethick2,colorwhite;
drawtext(cross(-30,趋势线),220,'★'),colorwhite;
{见底信号:}-20,colorred,pointdot;
{莫要错失机会:}-25,colorlime,pointdot;
{砸锅卖田等着你:}-30,coloryellow,pointdot;