-- 作者:dylinbin
-- 发布时间:2013/9/9 14:53:02
-- 想选出均线30.60.120.240日成多头排列的股票
程序代码:
input:ss(1,1,100,1);
input:A(5,1,20,1);
input:B(20,3,30,1);
maa:=ma(close,a);
mab:=ma(close,b);
buycond:cross(maa,mab);
sellcond:cross(mab,maa);
if holding=0 and buycond then
begin
buy(1,ss,thisclose);
end
if holding> and sellcond then
begin
sell(1,ss,thisclose);
end
当SS:手数调成大于10时,在图表交易时最大只能显示为9 ,实盘交易下单的数量也是9,请问是啥原因造成的 ? 是个BUG....还是别的?
|