macd2:(expma(CLOSE,55)-REF(EXPMA(CLOSE,55),1))/REF(EXPMA(CLOSE,55),1)*100,COLORSTICK;
转势:EMA(SUM(MacD2,2),5),COLORBLUE,LINETHICK3;
入1:IF(转势>REF(转势,1),转势,DRAWNULL),COLORGREEN,LINETHICK4;
沽2:IF(转势DEA2:MA(转势,10),COLORWHITE;
0,COLORRED;
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(Abs(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,10);
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
主力进场:STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2,0),COLORGREEN;
{洗盘:IF(VAR5洗盘:STICKLINE(VAR5趋势线: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);
趋势:EMA(EMA(趋势线,3),1); 见底信号:2; 买点准备:IF(趋势线<=10,50,0);
买入时间:IF(crOSS(趋势线,见底信号),100,0),COLORGREEN;
主进场:IF(VAR5>REF(VAR5,1),1,0),COLORGREEN;
卖出警戒:STICKLINE(趋势线>=85,100,80,2,1),COLORRED;
止损出局:STICKLINE(CROSS(90,趋势线),100,70,3,0),COLORYELLOW;
{Skd CURVE}
RSV:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
FASTK:=SMA(RSV,3,1);
K:SMA(FASTK,3,1),NODRAW;
D:SMA(K,5,1),NODRAW;
DRAWICON(CROSS(K,D) AND K<=20,D,5);
DRAWICON(CROSS(D,K) AND K>=80,D,6);