咨询内容:
最近准备把图表的改成后台程序化交易请教如何在后台实现反手啊图表是这样写的sellshort(pk,holding,thisclose);buy( kd and holding<=0 ,1,thisclose);sell(pd,holding,thisclose);BUYSHORT(kk and holding>=0 ,1,thisclose ); 改成后台sellshort(pk,1,thisclose);buy( kd and tholding<=0 ,1,thisclose);sell(pd,1,thisclose);BUYSHORT(kk and tholding>=0 ,1,thisclose );在模拟测试的时候平仓没有问题 开仓开不出来请各位大虾指教