RSV:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M1,1);
J:(3*K-2*D)*2.5 COLORMAGENTA;{J REF(J,M1) AND C REF(C,M1) AND}
可能顶:IF(TYP REF(TYP,N) AND CCI REF(CCI,N),180,DRAWNULL) COLORYELLOW CIRCLEDOT;
可能底:IF(TYP REF(TYP,N)AND CCI -20 AND CCI REF(CCI,N),-198,DRAWNULL) COLORLIGREEN CIRCLEDOT;
背离:STICKLINE(可能底,J,CCI,3,0),COLORYELLOW;
K顶:IF(J 148,188,DRAWNULL) COLORRED CIRCLEDOT;
J底背离:IF(J REF(J,M1) AND C REF(C,M1),CCI,DRAWNULL)COLORLICYAN CIRCLEDOT;
个股短期趋势:=(C-LLV(L,8))/(HHV(H,8)-LLV(L,8))*250 COLORYELLOW;
VAR3:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;
VAR4:=SMA(SMA(VAR3,3,1),3,1);
VAR5:=EMA(VAR4,5);
VAR6:=VAR5;
VAR7:=3*VAR4-2*VAR5;
VAR8:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
KK:=SMA(VAR8,3,1);
DD:=SMA(K,3,1);
VARA:=LLV(LOW,36);
VARB:=HHV(HIGH,30);
VARC:=EMA((CLOSE-VARA)/(VARB-VARA)*4,4)*25;
VARD:=87.5;
趋势:=VARC;
DRAWTEXT(IF(CROSS(VARD,趋势),87,0),85,'赚了'),COLORGREEN;
STICKLINE(VARC 90,200,218,20,0),COLORGREEN;
STICKLINE(VARC 10,-200,-158,7,0),COLORRED;
VARF:=SMA(VAR3,20,1);
VAR10:=SMA(VARF,15,1);
VAR11:=(3*VARF+2*VAR10)/4;
VAR12:=REF(VAR11,1);
VAR13:=SMA(MAX(VAR11-VAR12,0),2,1)/SMA(ABS(VAR11-VAR12),2,1)*100;
VAR14:=MA(VAR13,10);
VAR15:=IF(CROSS(VAR14,90),25,0);
WINER:=WINER518*2.5 COLORGREEN;
HLL:=MA(DYNAINFO(37),3)/WINNER(LLV(L,3))*100;
XDDB:=(C-LLV(L,N))/(HHV(H,N)-LLV(L,N))*250 COLORRED;
HLJH:=HLL/XDDB*-1;
获利机会:IF(HLJH -250,HLJH,-250)COLORRED;
IF(WINER 248,WINER,DRAWNULL)COLORRED;
VAR1:=CLOSE/REF(CLOSE,1);
VAR2:=INDEXC/REF(INDEXC,1);
GG:=(SUM(VAR1,60)-60)*100 COLORGREEN;
DP:=(SUM(VAR2,60)-60)*100 COLORRED;
大盘个股比:=(GG-DP)*2.5 COLORBLUE;
GGH:=COUNT(GG DP,36)COLORGRAY;
CCI底:IF(CCI -200,CCI,DRAWNULL)COLORLIMAGENTA CIRCLEDOT;
K底:IF(J 0,-188,DRAWNULL) COLORLIGREEN CIRCLEDOT;