副图公式源码支持 手机/电脑
短期趋势线:((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)-50)*1.032+50),COLORRED;
GUP2:=(2*CLOSE+HIGH+LOW+OPEN)/5;
GUP3:=LLV(LOW,34);
GUP4:=HHV(HIGH,34);
长期趋势线:EMA((GUP2-GUP3)/(GUP4-GUP3)*100,13),COLOR00FF00;
底部研判:SQRT(SQRT(FLOOR(SQRT(MA(1/WINNER(CLOSE)*100,4)/10000))))*5;
GUP5:=CROSS(短期趋势线,长期趋势线)AND 长期趋势线<25;
STICKLINE(GUP5,0,50,8,0),COLORRED;
DRAWICON(GUP5 AND 底部研判>0,60,1);
DRAWTEXT(COUNT(短期趋势线<10 AND 底部研判>0,8) AND GUP5,50,'买入');
GUP6:=CROSS(短期趋势线,长期趋势线)AND 长期趋势线<50;
DRAWTEXT(COUNT(短期趋势线<30 AND 底部研判>0,5) AND GUP6,30,'抄底');
选股公式源码
{选股公式一:买入}
短期趋势线:=((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)-50)*1.032+50),COLORRED;
GUP2:=(2*CLOSE+HIGH+LOW+OPEN)/5;
GUP3:=LLV(LOW,34);
GUP4:=HHV(HIGH,34);
长期趋势线:=EMA((GUP2-GUP3)/(GUP4-GUP3)*100,13),COLOR00FF00;
底部研判:=SQRT(SQRT(FLOOR(SQRT(MA(1/WINNER(CLOSE)*100,4)/10000))))*5;
GUP5:=CROSS(短期趋势线,长期趋势线)AND 长期趋势线<25;
买入:COUNT(短期趋势线<10 AND 底部研判>0,8) AND GUP5;
{选股公式二:抄底}
短期趋势线:=((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)-50)*1.032+50),COLORRED;
GUP2:=(2*CLOSE+HIGH+LOW+OPEN)/5;
GUP3:=LLV(LOW,34);
GUP4:=HHV(HIGH,34);
长期趋势线:=EMA((GUP2-GUP3)/(GUP4-GUP3)*100,13),COLOR00FF00;
底部研判:=SQRT(SQRT(FLOOR(SQRT(MA(1/WINNER(CLOSE)*100,4)/10000))))*5;
GUP6:=CROSS(短期趋势线,长期趋势线)AND 长期趋势线<50;
抄底:COUNT(短期趋势线<30 AND 底部研判>0,5) AND GUP6;
|