Ⅰ 請高手把這個公式改成通達信選股公式,選出當天出現的【黑馬起爆點】信號的股票,急需,謝謝!!!
VAR1:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;
VAR2:=(CLOSE-LLV(LOW,43))/(HHV(HIGH,43)-LLV(LOW,43))*100;
VAR3:=SMA(VAR2,2,1);
天:100+(-ABS(VAR1)),COLORRED;
下:SMA(VAR3,2,1);
無:ABS(VAR1),COLORGREEN;
敵:50,COLORFFAA00,LINETHICK3;
A:80;
B:20;
買:STICKLINE(CROSS(下,無),3,20,2,0),COLORRED,LINETHICK1;
STICKLINE(CROSS(下,無),20,25,2,0),COLORFF9900,LINETHICK1;
DRAWTEXT(CROSS(下,無),30,'黑馬起爆 '),COLORFFFFCC;
賣:STICKLINE(CROSS(下,天),70,90,2,0),COLORRED,LINETHICK1;
STICKLINE(CROSS(下,天),90,99,2,0),COLORFF9900,LINETHICK1;
DRAWTEXT(CROSS(下,天),70,'走人 '),COLORFFFFCC;
選股2:IF(CROSS(下,20),1,0);
DRAWICON((CROSS(下,20) ),20,1);
DRAWICON((CROSS(下,20) ),-20,25);
=============================
{選股}
VAR1:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;
VAR2:=(CLOSE-LLV(LOW,43))/(HHV(HIGH,43)-LLV(LOW,43))*100;
VAR3:=SMA(VAR2,2,1);
下:=SMA(VAR3,2,1);
無:=ABS(VAR1);
XG:CROSS(下,無);