VAR5:=LLV(L,75); VAR6:=HHV(H,75); VAR7:=(VAR6-VAR5)/200; VAR8:=SMA((C-VAR5)/VAR7,20,1); VARA:=3*VAR8-2*SMA(VAR8,15,1); 主力: (100-VARA),LINETHICK2,COLOR3300FF; YYU:=EMA((C+L+H)/3,3); A8:=ABS(EMA(C,100)-EMA(C,10))/EMA((C+L+H)/3,3)*C*2+YYU; A9:=ABS(EMA(C,100)-EMA(C,10))/EMA((C+L+H)/3,3)*C+YYU; X:=(A8-YYU)/(A8+YYU)*500; XXCCC:=(X-50)*2; 天龍:STICKLINE(XXCCC<REF(XXCCC,1),100 ,110,10,0 ),COLORFFBB44; STICKLINE(XXCCC>REF(XXCCC,1),100 ,110,10,0),COLOR44AAFF; STICKLINE(XXCCC<REF(XXCCC,1),-100 ,-110,10,0 ),COLOR44AAFF; STICKLINE(XXCCC>REF(XXCCC,1),-100 ,-110,10,0 ),COLORFFBB44 ; A:=(3*C+L+O+H)/6; B:=(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; D:=MA(B,10); 持倉:STICKLINE(B>D,103 ,107,6,1 ) ,COLORRED ,LINETHICK2; 空倉:STICKLINE(B<D,103 ,107,6,1 ) ,COLORGREEN ,LINETHICK2; 中軸:50 ,COLORYELLOW ,POINTDOT; 強(qiáng)勢:80 ,COLORRED ,POINTDOT; DIFF :=( EMA(C,20) - EMA(C,90))*100; DEA :=EMA(DIFF,45); MACD :=2*(DIFF-DEA); 天時:STICKLINE(DIFF>=0,0,DIFF,8,0),COLORRED; 地利:STICKLINE(DIFF<0,0,DIFF,8,0),COLOR00FF00; STICKLINE(DEA>=0,0,DEA,8,0),COLORBLUE; STICKLINE(DEA<0,0,DEA,8,0),COLORYELLOW;
|