AQ:=EMA(C,30);
AQ1:=REF(AQ,5);
STICKLINE(AQ<AQ1,45,55,1,0),COLORGREEN,LINETHICK2;
STICKLINE(AQ>AQ1,45,55,1,0),COLORRED,LINETHICK2;
VAR1:=REF(CLOSE,3.5);
VAR2:=REF(CLOSE,1);
VAR3:=SMA(MAX(CLOSE-VAR2,0),7,1)/SMA(ABS(CLOSE-VAR2),7,1)*100;
Q2:=(CLOSE-LLV(LOW, 21))/(HHV(HIGH, 21)-LLV(LOW, 21))*100;
Q3:=SMA(Q2, 9, 1);
Q4:=SMA(Q3, 3, 1);
Q8:=HHVBARS(HIGH, 50);
Q10:=(CLOSE-REF(OPEN, Q8))/REF(OPEN, Q8)*100;
快线:=SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100,COLORFFAA66;
慢线:=EMA(Q3, 3),COLORRED;
A:=VOL*CLOSE;
B:=SUM(A,3.52)/SUM(VOL,3.82);
B11:=EMA(B,13);
主力线:=(B-B11)*191/B+50,COLORMAGENTA;
多头:3*Q3-2*Q4,COLORYELLOW;
VAR12:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
空头:=SMA(VAR12,3,1),COLORGREEN;
DRAWTEXT(CROSS(慢线, 多头) AND REF(多头,1)>80, 80, '*顶'),COLORRED,LINETHICK5;
●关注:= DRAWTEXT(REF(CROSS(空头,慢线),25) AND 空头>1.005*慢线,60,'●关注'),COLORRED,LINETHICK1;
★关注:= DRAWTEXT(REF(CROSS(慢线,多头),82) AND 慢线>1.3*多头,35,'★关注'),LINETHICK1;
★追涨: DRAWTEXT(REF(CROSS(多头,慢线),1) AND 多头>1.3*慢线,35,'★追涨'),COLORRED,LINETHICK1;
★买:IF(CROSS(多头,慢线) AND 快线>=REF(快线,1) AND 多头>=REF(多头,1)
AND 慢线<38.2 AND 慢线>=REF(慢线,1) AND COUNT(REF(快线,1)<REF(快线,2) OR REF(慢线,1)<REF(慢线,2) OR REF(多头,1)<REF(多头,2),3)>=2,30,0),COLORMAGENTA;
DRAWTEXT(CROSS(多头, 8) AND Q10<-13,20,'*大底'),COLORYELLOW,LINETHICK5;
OBV:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0);
RSV:=(OBV-LLV(OBV,34))/(HHV(OBV,34)-LLV(OBV,34))*100;
K:=SMA(RSV,5,1);
D:=SMA(K,3,1);
JJ:=3*K-2*D;
AA1:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100+50;
AA2:=EMA(AA1,9);
AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
AA4:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
AA5:=SMA(AA4,13,8);
OBV走势:=CEILING(SMA(AA5,13,8));
AA6:=SMA(AA3,21,8);
买观注:STICKLINE(OBV走势-AA6<-65,5,0,15,1);
卖观注:STICKLINE(OBV走势-AA6>85,100,95,15,1);
VAR11:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;
VAR22:=SMA(VAR11,3,1);
VAR23:=SMA(VAR22,3,1);
VAR4:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-
LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
VAR5:=CROSS(VAR4,10) AND VAR23<N;
抄底:IF(VAR5,90,0),COLORWHITE;
DRAWTEXT(VAR5,20,'抄底'),COLORYELLOW;
TJ1:=REF("CCI.CCI",1)>90 AND "CCI.CCI"<REF("CCI.CCI",1);
TJ2:=REF("KDJ.J"(9,3,3),1)>90 AND "KDJ.J"(9,3,3)<REF( "KDJ.J"(9,3,3),1);
TJ3:=REF("RSI.RSI1",1)>70 AND "RSI.RSI1"<REF("RSI.RSI1",1);
TJ4:=COUNT(TJ1,5) AND COUNT(TJ2,5) AND COUNT(TJ3,5);
大顶:=CROSS(TJ4,0.5);
DRAWICON(大顶,90,2); |