var1:=ema(sma(((close - llv(low,19))/(hhv(high,19) - llv(low,19)))*(100),8,1),3);
stickline((var1 > 20) and (var1 < 80),var1,var1,10,1),colorred;
stickline((var1 < ref(var1,1)),var1,var1,10,1),colorffcc66;
stickline((var1 > 80),var1,var1,8,1),color00ff00;
stickline((var1 < 20),var1,var1,8,1),coloryellow;
ema13:=ma(close,13);
ema30:=ema(close,30);
ema60:=ema(close,60);
ema90:=ema(close,90);
ema120:=ema(close,120);
ema250:=ema(close,250);
aa:=(ema30 + ema60 + ema90 + ema120)/(4);
sx:=(aa)*((1)/(100)) + aa;
xx:=aa - (aa)*((1)/(100));
中粘一:=count(between(ema30,sx,xx) and between(ema60,sx,xx) and between(ema90,sx,xx) and between(ema120,sx,xx),5);
ua:=中粘一 and cross(close,xx) and cross(close,sx);
uaa:=ua and filter(ua,10);
中粘二:=count(between(ema30,sx,xx) and between(ema60,sx,xx) and between(ema90,sx,xx) and between(ema120,sx,xx),5);
ub:=中粘二 and (ema120 >= ref(ema120,1)) and cross(close,ema120) and cross(close,sx);
ubb:=ub and filter(ub,10);
中粘三:=count(between(ema60,xx,sx) and between(ema90,xx,sx) and between(ema120,xx,sx),5);
uc:=中粘三 and cross(close,xx) and cross(close,ema120);
ucc:=uc and filter(uc,10);
中粘四:=count(between(ema30,xx,sx) and between(ema60,xx,sx) and between(ema90,xx,sx) and between(ema120,xx,sx),5);
ud:=中粘四 and cross(ema30,ema120);
udd:=ud and filter(ud,10);
中粘:if(uaa or ubb or ucc,65,0),pointdot,coloryellow;
stickline(中粘,65,0,4,0),coloryellow;
中金叉:if(udd,60,0),pointdot,color6accc8;
stickline(中金叉,60,0,4,0),color6accc8;
aal:=(ema60 + ema90 + ema120 + ema250)/(4);
sxl:=(aal)*((2)/(100)) + aal;
xxl:=aal - (aal)*((2)/(100));
长粘一:=count(between(ema60,xxl,sxl) and between(ema90,xxl,sxl) and between(ema120,xxl,sxl) and between(ema250,xxl,sxl),5);
wa:=长粘一 and cross(close,xxl) and cross(close,sxl);
waa:=wa and filter(wa,10);
长粘二:=count(between(ema60,xxl,sxl) and between(ema90,xxl,sxl) and between(ema120,xxl,sxl),5);
wb:=长粘二 and cross(ema30,ema250);
wbb:=wb and filter(wb,10);
长粘三:=count(between(ema60,xxl,sxl) and between(ema90,xxl,sxl) and between(ema120,xxl,sxl),5);
wc:=长粘三 and cross(close,sxl) and cross(close,ema250);
wcc:=wc and filter(wc,10);
长粘四:=count(between(ema60,xxl,sxl) and between(ema90,xxl,sxl) and between(ema120,xxl,sxl),5);
wd:=长粘四 and cross(close,ema60) and cross(close,ema90) and cross(close,ema120) and cross(close,ema30) and cross(close,sxl);
wdd:=wd and filter(wd,10);
长粘:if(waa or wcc or wdd,55,0),pointdot,colorff00ff;
stickline(长粘,55,0,4,0),colorff00ff;
长金叉:if(wbb,50,0),pointdot,coloree98db;
stickline(长金叉,50,0,4,0),coloree98db;
ar1:=(ema13 < ema30) and (ema13 < ema60) and (ema13 < ema90);
ar2:=barslast(ref(cross(close,ema13),1));
ar3:=(ema13 >= ref(ema13,1));
ar4:=ar1 and ar2 and ar3 and cross(close,ema13);
拐点:if(ar4 and filter(ar4,10),45,0),pointdot,colorffffff;
stickline(拐点,45,0,4,0),colorffffff;
rr8:=ma(close,27);
rr9:=((close - rr8)/(rr8))*(100);
rra:=ma(rr9,2);
rrb:=barslast((cross((-10),rra) = 1));
rrd:=(rra < (-10)) and (rrb > 3);
黄金坑:if(rrd,10,0),pointdot,coloryellow;
stickline(黄金坑,10,0,4,0),coloryellow;
风险线:80,pointdot,coloryellow;
牛熊线:50,pointdot,colorffffff;
安全线:20,pointdot,colorffcccc;
vva:=((amount)/(vol))/(100);
vvb:=((3)*(high) + low + open + (2)*(close))/(7);
vvc:=((sum(amount,7))/(vva))/(100);
vvd:=dma(vvb,(vol)/(vvc));
vve:=((close - vvd)/(vvd))*(100);
vvf:=((close - llv(low,34))/(hhv(high,34) - llv(low,34)))*(100);
vvj:=ma(vve,20) + std(vve,20);
bias18:=((close - ma(close,18))/(ma(close,18)))*(100);
kv:=sma(vvf,3,1);
stickline((ref(bias18,1) >= 5) and cross(vvj,vve) and (kv > 79),风险线,风险线 - 5,4,0),color00ff00;
llc:=ref(close,1);
rrsi:=((sma(max(close - llc,0),6,1))/(sma(abs(close - llc),6,1)))*(100);
stickline(cross(84,rrsi),风险线,风险线 - 5,4,0),color00ff00;
多方趋势:=(7)*(sma(((close - llv(low,27))/(hhv(high,27) - llv(low,27)))*(30),4,1)) - (3)*(sma(sma(((close - llv(low,27))/(hhv(high,27) - llv(low,27)))*(30),4,1),3,1)) - sma(sma(sma(((close - llv(low,27))/(hhv(high,27) - llv(low,27)))*(30),4,1),3,1),2,1);
天线:=78.89;
stickline(cross(天线,多方趋势),风险线,风险线 - 5,4,0),color00ff00; |