指标源码: R1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1); R2:=SMA(ABS(LOW-R1),13,1)/SMA(MAX(LOW-R1,0),10,1); R3:=EMA(R2,10); R4:=LLV(LOW,33); R5:=EMA(IF(LOW <=R4,R3,0),3); 90,COLORFFFF80; 主力进场:STICKLINE(R5 > REF(R5,1),0,R5,2,0),COLORRED; 洗盘:STICKLINE(R5 < REF(R5,1),0,R5,2,0),COLORGREEN; 趋势线: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),COLORCYAN; 主进场:IF(R5 > REF(R5,1),1,0),COLORRED; 卖出警戒:STICKLINE(趋势线 >=85,100,80,2,1),COLORMAGENTA; 止损出局:STICKLINE(CROSS(90,趋势线),100,70,3,0),COLORFFF666;
选股源码:
R1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1); R2:=SMA(ABS(LOW-R1),13,1)/SMA(MAX(LOW-R1,0),10,1); R3:=EMA(R2,10); R4:=LLV(LOW,33); R5:=EMA(IF(LOW <=R4,R3,0),3); 主力进场:=STICKLINE(R5 > REF(R5,1),0,R5,2,0),COLORRED; 洗盘:=STICKLINE(R5 < REF(R5,1),0,R5,2,0),COLORGREEN; 趋势线:=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); 见底信号:=2; 买入:IF(CROSS(趋势线,见底信号),100,0),COLORCYAN;
|