指标源码:
天:99; 阶段卖:90,COLORRED; RSV:=(((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20)))*100); 趋势:3*SMA(RSV,5,1)-2*SMA(SMA(RSV,5,1),3,1); 准备:IF(趋势<=10,36,0),COLORYELLOW; 买入:IF(CROSS(趋势,10),36,0),COLORRED; 卖出警戒:IF(趋势>=90,68,100),COLORGREEN; DRAWTEXT(趋势<=10,40,'备'),COLORYELLOW; DRAWTEXT(CROSS(趋势,10),38,'买入'),COLORRED; TYP:=(HIGH+LOW+CLOSE)/3; CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),LINETHICK1,COLORWHITE; 卖:CCI>174,COLORRED; STICKLINE(CCI>174,100,70,2,0),COLORRED; DRAWTEXT(CCI>174,60,'卖'),COLORRED;
选股源码:
天:=99; 阶段卖:=90,COLORRED; RSV:=(((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20)))*100); 趋势:=3*SMA(RSV,5,1)-2*SMA(SMA(RSV,5,1),3,1); 准备:=IF(趋势<=10,36,0),COLORYELLOW; 买入:=IF(CROSS(趋势,10),36,0),COLORRED; 卖出警戒:=IF(趋势>=90,68,100),COLORGREEN; DRAWTEXT(CROSS(趋势,10),38,'买入'),COLORRED;
|