MID:=(3*CLOSE+LOW+OPEN+HIGH)/6; 牛线:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED; 马线:MA(牛线,6),COLORGREEN; xs1:=MA(HIGH,5)*(1+5/100); {www.gUPaNg.com 股票软件下载网_最新股票指标公式} DRAWTEXT(cross(xs1,c),xs1*1.1,'开盘逃'),colorwhite; varC:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100; DRAWICON(CROSS(82,varC),HIGH,2); DRAWTEXT(CROSS(84,varC),H*1.01,'逃顶'),COLORYELLOW ; DP:=(INDEXC-REF(INDEXC,1))/REF(INDEXC,1); GG:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1); VAR1:=IF(DP>0.01,0.9,IF(DP<-0.05,1,1.2)); VAR2:=VAR1*(GG-DP)*100; 核心拉力:=SUM(VAR2,5); DRAWICON(核心拉力>REF(核心拉力,1) AND REF(核心拉力,1) |