DRAWGBK(C>0,COLORRGB(50,50,170),COLORRGB(50,50,170),1);
va:=ema(c,2);
va1:=ema(ref(c,3),5);
j:=sum(AMOUNT/100,2)/sum(v,2);
vok:=if(cross(va,va1),1,0);
vok1:=if(ref(c,1)ref(c,1) and l>ref(l,1) and c>ref(c,1)or ref(c,1)ref(c,1) and l>ref(l,1) and c>ref(c,1),1,0);
vsj1:=BArslAST(vok=1 or vok1=1);
mma2:=sum(AMOUNT/100,2)/sum(vol,2);
zs:if(vok=1 or vok1=1,l,ref(l,vsj1)),colorred,LINETHICK3;
多:=EMA(C,3);
空:=EMA(C,5);
均衡:=EMA(空,5);
中:=HHV(MA(H,13),13);
Var4a:=(LOW+HIGH+CLOSE)/3;
操作:MA(Var4a,5),colorred,linethick2;
拉升:=HHV(操作,13);
拉升买:HHV(操作,13)*1,coloryellow,linethick0;
强弱分界:=eMA(CLOSE,60);
f0:=ema(c,20),linethick0;
f1:=SMA(f0,3,1);
f2:=sma(f0,5,1);
drawicon(f0>f2,f2,10);
STICKLINE(拉升买,拉升买+0.05,拉升买,7,0),colorgreen,linethick2;
STICKLINE(操作=拉升买,操作,操作+0.05,7,0),colorred,linethick3;
STICKLINE(操作<拉升买,操作,拉升买,12,1),COLORgreen;
STICKLINE(中>拉升买,拉升,拉升+0.05,12,1),colorgreen;
STICKLINE(拉升>ref(拉升,1),拉升,拉升*1.02,7,0),coloryellow,linethick4;
STICKLINE(F0
{ _最新股票指标公式}
买入基础:=EMA(C,5)>REF(EMA(C,5),1) AND EMA(C,10)>=REF(EMA(C,10),1);
VAR1:=EMA(INDEXC,5);
VAR2:=EMA(INDEXC,10);
VAR3:=EMA(INDEXC,20);
VAR4:=VAR1>=REF(VAR1,1) AND 买入基础;
VAR5:=VAR2>=REF(VAR2,1) AND 买入基础;
VAR6:=VAR3>=REF(VAR3,1) AND 买入基础;
VAR7:=EMA(INDEXV,5);
VAR8:=EMA(INDEXV,10);
VAR9:=EMA(INDEXV,20);
VAR10:=VAR7>=REF(VAR7,1) AND 买入基础;
VAR11:=VAR8>=REF(VAR8,1) AND 买入基础;
VAR12:=VAR9>=REF(VAR9,1) AND 买入基础;
gg:abs(o/f0-1),linethick0;
STICKLINE(VAR4 and VAR5 and VAR6 and VAR10 and VAR11 and VAR12 and 买入基础 and gg<0.05 and 操作>ref(操作,1),操作,操作*1.03,12,0),colorred,linethick1;
STICKLINE(VAR4 and VAR5 and VAR6 and VAR10 and VAR11 and VAR12 and 买入基础,zs,zs*1.02,12,1),coloryellow,linethick1;