操盘线:MA(C,5),COLORGREEN,LINEDOT; PARTLINE(操盘线>REF(操盘线,1),操盘线),colorf00ff0,LINETHICK2; kk:=DYNAINFO( 3); GGC:=kk*0.10; Y:=kk+GGC; U:=kk-GGC; DRAWTEXTEX(SYSPARAM(3)=BARPOS,1,30,800,' 涨停价:'+NUMTOSTR(Y,2)),Color0000CC; DRAWTEXTEX(SYSPARAM(3)=BARPOS,1,30,860,' 跌停价:'+NUMTOSTR(U,2)),Color006600; DIFF:=( EMA(CLOSE,7) - EMA(CLOSE,19)),COLORwhite; DEA:=EMA(DIFF,9),COLORf00ff0 ; MACD:=0.90*(DIFF-DEA), COLORSTICK; tj:=(diff>=dea); tj1:=(diff>=0); Var1:=(CLOSE*2+HIGH+LOW)/4; SK:= EMA(Var1,13)-EMA(Var1,73); SD:= EMA(SK,2); drawtext((cross(sk,sd) and sk<-0.04 and (c-ref(c,1))/ref(c,1)>=0.03) or (cross(sk,sd) and sk<=-0.14 ) or (cross(sk,sd) and sk<=0.05 and (v/ma(v,5)>2 or c/ref(c,1)>0.035)) ,l*0.99,'短线'),colorred; {www.gpxiazai.com 股票软件下载网_最新股票指标公式} 集中度:=(COST(85)-COST(15))/(COST(85)+COST(15))/2; 平均成本:EMA(((COST(85)+COST(15))/2+COST(50))/2,3),COLOR9900FF,LINETHICK3; PARTLINE(集中度<0.06,平均成本),ColorFFC0FF,LINETHICK2; 主力成本:ema(平均成本*(0.809),21); |