{天机眼VB}
RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
VBB:=J<15 AND J>REF(J,1);
VBS:=J>95 AND J<REF(J,1);
{买卖输出信号
JSAA:=MA1<20 AND J<15 AND J>REF(J,1) AND VAR4>MA1 AND L<"BOLL.LB";
JSBB:=MA1>75 AND J>95 AND J<REF(J,1) AND H>"BOLL.UB";
IF(JSAA AND AADATE,80,0),COLORWHITE;
IF(JSBB AND AADATE,20,100),COLORGREEN;}
{买卖输出信号}
JSAA:=CROSS(VAR4,MA1) AND MA1<20 AND VAR4<20;
JSBB:=CROSS(MA1,VAR4) AND MA1>80 AND VAR4>80;
JNBUY:IF(JSAA AND AADATE,80,0),COLORWHITE;
IF(JSBB AND AADATE,20,100),COLORGREEN;
{买卖输出信号}
JSAA:=MA1<20 AND J<15 AND J>REF(J,1) AND VAR4>MA1 AND L<"BOLL.LB";
JSBB:=MA1>75 AND J>95 AND J<REF(J,1) AND H>"BOLL.UB";
IF(JSAA AND AADATE,100,-20),COLORWHITE;
IF(JSBB AND AADATE,0,120),COLORGREEN;