DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
macd:=(DIF-DEA)*2;
MacD2:=MACD;
A1:=IF(MACD2 0,1,-1);
TJ:=MACD2
T:=MACD2
A9:=LLV(MACD2,50)=MACD2;
买点出现:=A9 AND FILTERX(A9,20)COLORWHITE,LINETHICK5,STICK;
STICKLINE(FILTER(买点出现 =1,5),0.8,0,2,0),COLORWHITE;
买点:0,COLORWHITE;
VAR01:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5);
VAR02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);
VAR03:=crOSS(VAR02,VAR01);
VAR04:=REF(VAR02,2) REF(VAR02,1) AND VAR02 REF(VAR02,1);
VAR05:=COUNT(VAR03,7) 0 AND VAR04;
龙头出现:=VAR05 AND COUNT(VAR05,5)=1,COLORLIGREEN,LINETHICK5,STICK;
STICKLINE(FILTER(龙头出现 =1,5),0.5,0,2,0),COLORLIGREEN;
龙头:0,COLORLIGREEN;
X_1:=IF(CLOSE REF(CLOSE,1),88,0);
X_2:=IF(CLOSE/REF(CLOSE,1) 1.05 AND HIGH/CLOSE 1.01 AND X_1 0,91,0);
X_4:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
X_5:=SMA(X_4,3,1);
X_6:=SMA(X_5,3,1);
X_7:=3*X_5-2*X_6;
X_8:=REVERSE(X_7);
X_9:=REF(MA(CLOSE,1),10) REF(MA(CLOSE,60),10);
XGGGG:=(CROSS(X_7,X_8) AND X_9)COLORDBDB70,LINETHICK5,STICK;
STICKLINE(FILTER(XGGGG =1,5),0.2,0,2,0),COLORDBDB70;
庄显:0,COLORDBDB70;