{短线}RR1:MA(C,5),COLOR00FFFF;
{底线}RR2:(SUM(C,21)/28)*0.99,COLORGREEN;
{顶线} RR3:(SUM(CLOSE,21)/29)*1.6,COLORGREEN;
EE1:=(C-MA(C,31))/MA(C,31)*100;
EE2:=C>O AND O-L>H-C;
EE3:=REF(EE1,1)<-20 AND EE2;
EE4:=REF(EE1,1)<-20 AND C>O AND (C-REF(C,1))/REF(C,1)*100;
EE5:=FILTER(EE3 OR EE4,6);
EE6:=O>C AND H-(IF(C>O,C,O))>(IF(O
EE8:=REF(EE1,1)>ABS(-20) AND C
EE10:=REF(EE1,1)<-13 AND EE2;
EE11:=REF(EE1,1)<-13 AND C>O AND (C-REF(C,1))/REF(C,1)*100;
EE12:=FILTER(EE10 OR EE11,13);
DRAWICON(EE5>0,LOW,5);
DRAWICON(EE9>0,HIGH,6);
DRAWTEXT(EE12>0,1.02*REF(C,1),'!分批买入'),COLORGREEN;
{
选股公式:
RR1:=MA(C,5),COLOR00FFFF;
RR2:=(SUM(C,21)/28)*0.99,COLORGREEN;
RR3:=(SUM(CLOSE,21)/29)*1.6,COLORGREEN;
EE1:=(C-MA(C,31))/MA(C,31)*100;
EE2:=C>O AND O-L>H-C;
EE3:=REF(EE1,1)<-20 AND EE2;
EE4:=REF(EE1,1)<-20 AND C>O AND (C-REF(C,1))/REF(C,1)*100;
EE5:=FILTER(EE3 OR EE4,6);
EE6:=O>C AND H-(IF(C>O,C,O))>(IF(O
EE8:=REF(EE1,1)>ABS(-20) AND C
EE10:=REF(EE1,1)<-13 AND EE2;
EE11:=REF(EE1,1)<-13 AND C>O AND (C-REF(C,1))/REF(C,1)*100;
EE12:=FILTER(EE10 OR EE11,13);
选股:EE5>0;
}