股票只做多不做空 /ParamsNumeric capital(50000);Numeric length1(11);Numeric length2(42);Numeric length3(53);Numeric length4(178);Varsbool condition1;bool condition2;Numeric maxPrice;Numeric minPrice;Numeric lots;Begin//If(!CallAuctionFilter) Return;lots=Ceiling(capital/(Close*100),1);condition1= close[2] > close[length1] and close[9] > close[length4] and close[1] > open[1] and close[138]>open[length2] and close[1] > open[length3];
zijin:=50000;
length1:=11;
length2:=42;
length3:=53;
length4:=178;
lots:=zijin/Close;
condition1:= close[2] > close[length1] and close[9] > close[length4] and close[1] > open[1] and close[138]>open[length2] and close[1] > open[length3];