input:P1(1.5); setinputname(1,"急拉幅度%");
settotalbar(3);
IF close > close[1]*(1+P1/100) and close=high and volume>volume[1]
then
Print(file("c:\print\print.log"), "急拉",currenttime,symbolname,symbol,close,GetQuote("PriceChangeRatio"));
請問版主
,我執行上述策略時,在print端遇到幾個問題,可否請大大幫忙協助?
1.為何在啟動策略後,策略指定商品會全部run過一次,然後print,這該如何解決?
2.我選擇「k棒單次」觸發,但是觸發時會有同一檔會出現好幾筆「重複」的print,這該如何解決?
1 評論