RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);
LD:=(REF(LOW,1) - LOW);
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);
MDI:=((DMM * 100) / TR);
WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));
介入吃货:CROSS(趋势线,0) AND C/REF(C,1)>1.02;
STICKLINE(介入吃货,0,-20,5,0),COLORYELLOW;
选股公式如下:
RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);
LD:=(REF(LOW,1) - LOW);
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);
MDI:=((DMM * 100) / TR);
WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));
CROSS(AA,0) AND C/REF(C,1)>1.02;