DRAWGBK(c>1,colorrgb(0,0,0),colorrgb(0,0,200),1),colorf80606; VarTIME:=IF(YEAR>=2050 AND MONTH>=11 AND DAY>=07,0,1); VarDTIME:=IF(YEAR=2050 AND MONTH=11 AND DAY=06,1,0); DRAWTEXT(VarDTIME,115,''),COLOR008000; DRAWTEXT(VarDTIME,100,''),COLOR008000; DRAWTEXT(VarDTIME,85,''),COLOR008000; DRAWTEXT(VarDTIME,70,''),COLOR008000; DRAWTEXT(VarDTIME,45,''),COLOR008000; qw1:=(HIGH+LOW+CLOSE*2)/4*VarTIME; qw3:=EMA(qw1,10)*VarTIME; qw4:=STD(qw1,10)*VarTIME; qw5:=(qw1-qw3)*100/qw4*VarTIME; qw6:=EMA(qw5,5)*VarTIME; rk7:=EMA(qw6,10)*VarTIME; 涨:EMA(qw6,10)+100/2-5,linethick1,colorred; 跌:EMA(涨,4),linethick1,colorFFFF34; 多线:IF(cross(涨,跌) and 跌<-10,30,0),linethick1,COLORFF00FF; {www.gpxiazai.com 股票软件下载网_最新股票指标公式} 空线:IF(cross(跌,80),70,100),color0099ff,linethick1; 买1:ema(跌,4)*VarTIME,colorwhite; 买2:ema(买1,4)*VarTIME,colorgreen; 买m3:=ema(买2,4)*VarTIME,coloryellow; 买m4:=ema(买m3,4)*VarTIME,colorcc9900; -10,pointdot,color888888,linethick2; 80,pointdot,color888888,linethick2; STICKLINE(涨STICKLINE(涨STICKLINE(涨STICKLINE(涨STICKLINE(涨STICKLINE(涨STICKLINE(涨STICKLINE(涨STICKLINE(涨STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),0,0) ,COLOR00BBFF; STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),8,0) ,COLOR0011FF; STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),7,0) ,COLOR0022FF; STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),6,0) ,COLOR0044FF; STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),5,0) ,COLOR0066FF; STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),4,0) ,COLOR0088FF; STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),3,0) ,COLOR0099FF; STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),2,0) ,COLOR00AAFF; STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),1,0) ,COLOR00BBFF; DRAWICON(多线,30,1),COLORFF00FF; DRAWICON(cross(跌,80),70,2),colorgreen; Var811:=SUMBARS(VOL,FINANCE(7)*100)*VarTIME; Var822:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL)*VarTIME; Var883:=(CLOSE-Var822)/Var822*100*VarTIME; Var884:=HHV(Var883,Var811)*VarTIME; Var885:=LLV(Var883,Var811)*VarTIME; Var886:=(Var883-Var885)/(Var884-Var885)*100*VarTIME; K:=SMA(Var886,3,1)*VarTIME; D:=SMA(K,3,1)*VarTIME; J:=3*K-2*D; MA1:=MA(J,3)*VarTIME,colorgreen; STICKLINE(filter(J>MA1 AND J<=3,5)=1 and 跌<0,涨,涨+20,6,0),coloryellow; |