欢迎使用金字塔普通技术服务论坛,您可以在相关区域发表技术支持贴。我司技术服务人员将优先处理 VIP客服论坛 服务贴,普通区问题处理速度慢,请耐心等待。谢谢您对我们的支持与理解。
a:自定义;b:自定义if c>a and c>b then
begin
sellshort(holding<0,holding,market);
buy(holding=0,1,market);end
if (c<a or c<b)and holding>0, then sell(holding>0,1,market);if C<a and C<b then
sell(holding>0,holdiing,market);
buyshort(holding=0,1,market);end
if (c>a or c>b)and holding<0, then sellshort(holding<0,1,market);
框架而已,