N:=18;M:=32;
单阳:=C>O*1.03 AND vol>REF(VOL,1)*1.5;
不破价:cross(C,REF(L,BArslAST(单阳))),COLORCYAN;
量:=(CLOSE - LLV(LOW,M)) / (HHV(HIGH,M) - LLV(LOW,M)) * 1.2 * CLOSE;
DRAWTEXTAbs(5,5,' '),linethick1,COLOR00EEff;
量1:=EMA(量,3);
HH:FILTER(HHV(量1,N)=量1 ,3);
LL:FILTER(LLV(量1,N)=量1,3);
选股:CROSS(C,REF(C,BARSLAST(量1<=REF(LL,1))));