AA:=DRAWTEXT(HIGH REF(HIGH,1) AND REF(HIGH,2) REF(HIGH,1)
AND LOW REF(LOW,1) AND REF(LOW,2) REF(LOW,1)
AND MA(CLOSE,5) MA(CLOSE,10),L-0.4,'B'),COLORMAGENTA;
B:IF(AA,1,0);
BB:=DRAWTEXT(HIGH REF(HIGH,1) AND LOW REF(LOW,1)
AND REF(HIGH,2) REF(HIGH,1)
AND REF(LOW,2) REF(LOW,1)
AND MA(CLOSE,5) MA(CLOSE,10)
,H*1.05,'S'), COLORYELLOW;
S:IF(BB,2,0);
{
选股公式:
AA:=HIGH REF(HIGH,1) and REF(HIGH,2) REF(high,1)
and LOW REF(LOW,1)
and REF(LOW,2) REF(LOW,1)
and MA(CLOSE,5) MA(close,10);
B:IF(AA,1,0);
}
