GH:=HHV(MAX(C,0),30)/LLV(MIN(C,O),30)<=1.15;{30天内的平台整理,波动区间在15%}
GH1:=CLOSE>REF(CLOSE,1)*1.03 AND V>=HHV(V,5);{成交量是5天的最大量且当天的收盘价大于前一天的收盘价3个点}
GH2:=REF(MA(V,3),1);{均线大于3日前的均线}
GH3:=CROSS(MACD.MACD,0) AND C>MA(C,5) AND CROSS(C,MA(C,30));{站上5日均线,上穿30均线}
GH4:=V>=2*GH2; GH5:=(H-C)/C*100<1;{上影线小于1}
GH6:=CAPITAL<6000000 ;{流通盘小于6个亿}
GH7:=100*VOL/CAPITAL>2;{当天换手率大于2}
GH AND GH1 AND GH4 AND GH3 AND GH5 AND GH6 AND GH7;{所有的条件都综合起来}
GH:=HHV(MAX(C,0),30)/LLV(MIN(C,O),30)<=1.15;
GH1:=CLOSE>REF(CLOSE,1)*1.03 AND V>=HHV(V,5);
GH2:=REF(MA(V,3),1);
GH3:=CROSS(MACD.MACD,0) AND C>MA(C,5) AND CROSS(C,MA(C,30));
GH4:=V>=2*GH2; GH5:=(H-C)/C*100<1;
GH6:=CAPITAL<6000000 ;
GH7:=100*VOL/CAPITAL>2;
突破战法:GH AND GH1 AND GH4 AND GH3 AND GH5 AND GH6 AND GH7;