QQQ:=((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20)))*(100); VAR2:=SMA(QQQ,20,1); VAR3:=SMA(VAR2,15,1); VAR4:=100-(3)*(VAR2)+(2)*(VAR3); VAR5:=((3)*(VAR2)+(2)*(VAR3))/(4); VAR6:=ABS(ABS(VAR5)-ABS(VAR4)); VAR7:=ABS(ABS(VAR5)-ABS(VAR6)); VAR8:=REF(VAR5,1); 主力轨迹:VAR4-VAR7,COLORGREEN; PARTLINE(主力轨迹[0,主力轨迹),COLORRED,LINETHICK2;] A:=(3*C+L+O+H)/6; X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+REF(A,20))/210; 中线★:=EMA(X,13); 短线成本★:=EMA(CLOSE,17); 危险:BARSLAST(短线成本★>中线★),COLORGREEN; 安全:BARSLAST(短线成本★<中线★),COLORRED; QQ:=BARSLAST(CROSS(C,MA(C,9))); WW:=BARSLAST(CROSS(MA(C,9),C)); N5:=BARSLAST(CROSS(C,MA(C,26))); N6:=BARSLAST(CROSS(MA(C,26),C)); 黑马:IF(N5>N6,N6+21,0),COLORGREEN; 启动:IF(N5BIAS20:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100; Q7:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100; 持股:=BARSLAST((BARSLAST(BIAS20>0 AND REF(BIAS20,1)>0))>0); 持股天数:BARSLAST((BARSLAST(BIAS20>0 AND REF(BIAS20,1)>0))>0),STICK,COLORRED; STICKLINE(持股天数>0,持股天数+0,-1,4,0),COLORRED; DIFF:=(EMA(CLOSE,9) - EMA(CLOSE,12)); DEA:=EMA(DIFF,9),COLORFF00FF,LINETHICK1; CD:=2*(DIFF-DEA),COLORSTICK,LINETHICK1; 起涨:IF(DIFF<0,0,20),COLORRED,LINETHICK1; HZ:=EMA(CLOSE,13); 短波:=EMA(HZ,1); 中波:=EMA(HZ,26); 均线148天:=EMA(C,148); 成本:=SUM(AMOUNT,0)/SUM(VOL,0)/100; HZ2:=EMA(HZ,8); 起涨出现:CROSS(短波,HZ2),COLORRED; {www.gpxiazai.com 股票软件下载网_最新股票指标公式} STICKLINE(CROSS(短波,HZ2),1,40,4,0),COLORRED; VAR11:=EMA(CLOSE,8); VAR22:=EMA(VAR11,20); VAR33:=CROSS(VAR11,VAR22); VAR44:=VAR11< EMA(CLOSE,120); 黑马出现: IF(VAR33 AND VAR44,60,0),COLORRED; DRAWTEXT(黑马出现,60,'←黑马出现'),COLORRED,LINETHICK2; 加权移平均:=WMA(C,5); A1:=EMA(加权移平均,3); A2:=EMA(加权移平均,5) ; A3:=EMA(加权移平均,7); A4:=EMA(加权移平均,9); A5:=EMA(加权移平均,11); A:=BARSLAST(CROSS(A5,A1)); B:=BARSLAST(CROSS(A1,A5)); AA:=BARSLAST(CROSS(A,B)); BB:=BARSLAST(CROSS(B,A)); STICKLINE(B>A,-1*BB,0,10,0),COLORGREEN; STICKLINE(C>=A5 AND B>A,-1*BB,0,10,0),COLORGREEN; STICKLINE(CROSS(REF(A1,1),A1) AND B>A,-1*BB,0,10,0),COLORGREEN; DRAWTEXTEX(1,1,0,880,' 耐 心 等 待 '),COLORYELLOW; |