{两板回涨主图源码如下}
VAR1:=CLOSE/REF(CLOSE,1)>1.0993 AND CLOSE=HIGH;
VAR2:=CLOSE/REF(CLOSE,1)<0.913 AND CLOSE=LOW;
VAR3:=CLOSE>REF(CLOSE,1)*1.091 AND CLOSE=HIGH;
VAR4:=REF(VAR3,5) AND REF(VAR3,4) AND CLOSE>OPEN;
VAR7:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(OPEN,5);
VAR8:=VAR4 AND VAR7 AND REF(VAR3,6)=0;
MA3:MA(CLOSE,3),COLORRED,LINETHICK1;
MA7:MA(CLOSE,7),COLORYELLOW,LINETHICK1;
MA10:MA(CLOSE,10),COLORGREEN,LINETHICK1;
STICKLINE(VAR1,OPEN,CLOSE,2,0),COLORRED;
STICKLINE(VAR2,OPEN,CLOSE,2,0),COLORGREEN;
DRAWICON(VAR8,LOW-0.2,1);
DRAWICON(VAR8,LOW-0.5,9);
{两板回涨副源码如下}
VAR1:=CLOSE/REF(CLOSE,1)>1.0993 AND CLOSE=HIGH;
VAR2:=CLOSE/REF(CLOSE,1)<0.913 AND CLOSE=LOW;
VAR3:=CLOSE>REF(CLOSE,1)*1.091 AND CLOSE=HIGH;
VAR4:=REF(VAR3,5) AND REF(VAR3,4) AND CLOSE>OPEN;
VAR7:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(OPEN,5);
VAR8:=VAR4 AND VAR7 AND REF(VAR3,6)=0;
MA3:=MA(CLOSE,3),COLORRED,LINETHICK1;
MA7:=MA(CLOSE,7),COLORYELLOW,LINETHICK1;
MA10:=MA(CLOSE,10),COLORGREEN,LINETHICK1;
STICKLINE(VAR8,0,1,3,0),COLORRED;
DRAWICON(VAR8,1,9);
DRAWICON(VAR8,1.3,1);
DRAWTEXT(VAR8,1,' 两板回涨'),COLORYELLOW;