源码
var1:=(close-llv(low,60))/(hhv(high,60)-llv(low,60))*100;
var2:=sma(var1,5,1);
var3:=sma(var2,10,1);
var4:=cross(var3,var2);
var5:=var3>80 or var2>80;
var6:=var4 and var5;
var7:=ema(amount/vol/100,3);
var8:=ema(var7,88);
var9:=ema(var7,88)*0.85;
vara:=var9*0.87;
varb:=low<vara and close>ref(close,1)*1.02;
drawtext(filter(varb,6),low+0.1,’坚决买进’),colord0dcd0;
鱼肠剑: (ema(close,5)*7+ema(close,10)*3)/10,colorblue;
莫邪剑: ema(close,13),colorred;
青锋剑: ema(close,50),colorgreen;
stickline(3*sma((close-llv(low,60))/(hhv(high,60)-llv(low,60))*100,10,2)-2*sma(sma((close-llv(low,60))/(hhv(high,60)-llv(low,60))*100,10,2),2,1)>ref(3*sma((close-llv(low,60))/(hhv(high,60)-llv(low,60))*100,10,2)-2*sma(sma((close-llv(low,60))/(hhv(high,60)-llv(low,60))*100,10,2),2,1),10),close,open,8,0),colorffcccc;
stickline(3*sma((close-llv(low,60))/(hhv(high,60)-llv(low,60))*100,10,2)-2*sma(sma((close-llv(low,60))/(hhv(high,60)-llv(low,60))*100,10,2),2,1)>ref(3*sma((close-llv(low,60))/(hhv(high,60)-llv(low,60))*100,10,2)-2*sma(sma((close-llv(low,60))/(hhv(high,60)-llv(low,60))*100,10,2),2,1),10),high,low,0,0),colorffcccc;
stickline(vol/capital>0.015,close,open,15,1),colorblue;
stickline(vol/capital>0.05,close,open,80,1),colorred;
stickline(vol/capital>0.1,close,open,150,1),colorred;
stickline(vol/capital>0.2,close,open,250,1),colormagenta;
stickline(vol/capital>0.3,close,open,350,1),colorcyan;
stickline(3*sma((close-llv(low,60))/(hhv(high,60)-llv(low,60))*100,10,2)-2*sma(sma((close-llv(low,60))/(hhv(high,60)-llv(low,60))*100,10,2),2,1)<ref(3*sma((close-llv(low,60))/(hhv(high,60)-llv(low,60))*100,10,2)-2*sma(sma((close-llv(low,60))/(hhv(high,60)-llv(low,60))*100,10,2),2,1),10),high,low,0,0),coloryellow;
stickline(3*sma((close-llv(low,60))/(hhv(high,60)-llv(low,60))*100,10,2)-2*sma(sma((close-llv(low,60))/(hhv(high,60)-llv(low,60))*100,10,2),2,1)<ref(3*sma((close-llv(low,60))/(hhv(high,60)-llv(low,60))*100,10,2)-2*sma(sma((close-llv(low,60))/(hhv(high,60)-llv(low,60))*100,10,2),2,1),10),close,open,8,1),coloryellow;
逃顶: stickline(var6,high,high,18,1),colorgreen;
drawtext(filter(cross(75,sma(max(close-ref(close,1),0),8,1)/sma(abs(close-ref(close,1)),8,1)*100),10),high,’卖’),colorgreen;
drawtext(filter(cross(-5,ma((llv(low,45)-close)/(hhv(high,45)-llv(low,45))*100,5)),5),low,’买’),colorred;
评论(0)