咨詢內容:month_c:CALLSTOCK('',vtOPEN,30,0);//調用周期數據 sellshort(c>month_C and holding<0,1,market);//平空buy(c>month_C and holding=0,1,market);//開多sell(c< month_C and holding>0,holding,market);//平多buyshort(c<month_C and holding<0,1,market);//開空 這是一個雙向交易系統:小周期收盤價上穿月開盤價平空開多,小周期收盤價下穿月開盤價平多開空。測試時,圖表顯示是以5均線為信號(詳見附件圖片),進行開多、平多。沒有開空和平空信號。請問這是怎么回事? 此主題相關圖片如下:qq圖片20200712091525.png
?
金字塔客服:
?buyshort(c<month_C and holding<0,1,market);//開空改成= 試下。