多:ema(c,3),coloryellow;
空:ema(c,5),color00ff00;
均衡:ema(空,5),colorwhite,;
varf1:=count(cross(多,均衡),2)=1;
varf2:=count(cross(空,均衡),2)=1;
zai:=filter(varf1 and varf2,2);
drawtext(zai,均衡,' →◆●¤主升行情'),colorff00ff;
vv2:=ref(close,1);
vv3:=SMA((close-vv2),6,1)/sma(abs(close-vv2),6,1)*100;
drawicon(ref(vv3,1)>81 and vv3<80,high,2);
drawtext(ref(vv3,1)>81 and vv3<80,high,' →◆●沽空↓'),coloryellow;
vf1:=ma(close,60)-ma(close,5)/3.2;
drawtext(if(close<vf1 and vol/240>ma(VOL,5)/240 and close>=ref(close,1)*1.08 and close<ma(close,13)*1.3,1,0),low,'☆'),colorred;
vara:=(close-ref(open,29))/ref(open,29)*100;
varb:=ema(0.667*ref(vara,1)+0.333*vara,5);
{ _最新股票指标公式}
drawtext(if(vol>=1.3*ma(vol,5) and count(vara>=varb and vara<-17,3) and ref(low,1)=llv(low,120),1,0),low,'★注意买入');
varr1:=sma(max(close-ref(c,1),0),6,1)/sma(abs(close-ref(c,1)),6,1)*100;
drawicon(cross(82,varr1),high,2);
drawtext(cross(82,varr1),high,'短空↓'),coloryellow;
var1:=(high+low+open+2*close)/5;
var2:=ref(var1,1);
var3:=sma(max(var1-var2,0),10,1)/sma(abs(var1-var2),10,1)*100;
hy3:=if(count(var3<20,5)>=1 and count(var1=llv(var1,10),10)>=1 and close>=open*1.038 and vol>ma(vol,5)*1.2,1,0);
drawtext(hy3,low,' →◆●▲注意买入'),colorred;
s:=ma(vol,5)/ma(vol,60),colorred,,linethick2;
a:=ma(s,5),colorgreen,,linethick2;
bias:=(close-ma(close,5))/ma(close,5)*100;
f:=ma(s,121);
rsv:=(close-llv(low,45))/(hhv(high,45)-llv(low,45))*100;
k:=sma(rsv,15,1);
d:=sma(k,15,1);
j:=3*k-2*d;
lc:=ref(close,1);
rsi:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100;
drawtext(cross(84,rsi) , high,' →◆● 逃顶!!◆● '),coloryellow ;
s1:=if((j<11 and bias>-11 and cross( s,f) and (s-f)>0.010),2,0),linethick3,colorgreen;
drawtext(s1=2,low,' →◆● 关注!! ◆● '), colorgreen;
趋势:llv(ma(h,13),1),colorgreen,linethick2;
中轨:hhv(ma(h,13),13),colorred,linethick2;