{副图指标源码}
VAR13:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K1:SMA(VAR13,3,1),COLORMAGENTA;
D1:SMA(K1,3,1),COLORFF8800,LINETHICK2;
VAR21:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
K2:SMA(VAR21,3,1),COLORFF8800;
D2:SMA(K2,3,1),COLORMAGENTA,LINETHICK2;
VAR34:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
K3:SMA(VAR34,3,1),COLORFF8800;
D3:SMA(K3,3,1),COLORFFFFFF,LINETHICK2;
VAR55:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
K55:=SMA(VAR55,3,1),COLOR00FF00;
D55:=SMA(K55,3,1),COLOR008000;
DIBU:= K1<20 AND D1<20 AND K2<20 AND D2<20 AND K3<20 AND D3<20 AND D55<20;
TOBU:= K3>80 AND K2>80 ;
DD:=-10;公:DRAWNULL,COLORCCCCCC;
众:DRAWNULL,COLORCCCCCC;
号:DRAWNULL,COLORCCCCCC;
股市客栈:DRAWNULL, COLORFF00FF;
A1:=COUNT(DIBU,10)=10;
DRAWTEXT(A1,K1,'买入');
A2:=COUNT(TOBU,5)=5;
DRAWTEXT(A2,K1,'见顶了,快跑');
STICKLINE(A2,100,95,1,0) ,COLORGREEN;
STICKLINE(A1,-2,5,1,0),COLORRED;
{选股指标源码}
VAR13:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K1:=SMA(VAR13,3,1);
D1:=SMA(K1,3,1);
VAR21:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
K2:=SMA(VAR21,3,1);
D2:=SMA(K2,3,1);
VAR34:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
K3:=SMA(VAR34,3,1);
D3:=SMA(K3,3,1);
VAR55:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
K55:=SMA(VAR55,3,1);
D55:=SMA(K55,3,1);
DIBU:= K1<20 AND D1<20 AND K2<20 AND D2<20 AND K3<20 AND D3<20 AND D55<20;
A1:=COUNT(DIBU,10)=10;
买入:A1;
联系客服