趋势线:=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);
主进场:IF(crOSS(趋势线,见底信号),100,0);
笑脸选股源码:
RSV:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
FAstK:=SMA(RSV,3,1);
K:=Sma(FASTK,3,1);
D:=SMA(K,5,1);
笑脸:crOSS(K,D) AND K
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(转势 REF(转势,1),转势,DRAWNULL),COLORRED,LINETHICK3;
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 REF(VAR5,1),VAR5,0),COLORGREEN;}
洗盘:STICKLINE(VAR5 REF(VAR5,1),0,VAR5,2,0),COLORRED;
趋势线: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}{www.9m8.cn 九毛八公式指标网}
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);