指标源码: 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); QUSHI: 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),9,1),COLOR0000FF; JIANDI: 1; MAIRU: IF(CROSS(QUSHI,JIANDI),100,0),COLORRED,LINETHICK2; VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3); STICKLINE(VAR5>REF(VAR5,1),0,VAR5,4,0 ),COLOR00FF55; STICKLINE(VAR5<REF(VAR5,1),0,VAR5,4,0),COLOR0000FF; DADI:IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,100,0),LINETHICK2,COLORRED; DRAWICON(DADI=100,100,1),LINETHICK0,COLORRED; DRAWTEXT(CROSS(100,QUSHI),100,'注意'); 分界线:100;
选股源码: 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); QUSHI:= 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),9,1),COLOR0000FF; JIANDI:= 1; MAIRU: IF(CROSS(QUSHI,JIANDI),100,0);
|