各位大大, 新手小弟, 有以下問題
網上範例學習 plot畫線顏色設定
inputs:len1(5),len2(20);
vars:ma1(0),ma2(0); ma1=average(close,len1);
ma2=average(close,len2); if absvalue(ma1-ma2)>100 then SetPlotColor(1, white); plot1(ma1);
plot2(ma2);
結果編譯錯誤 setplotcolor is not applicable to this type of study line 0, column 0 Keyword "Plot**" can't been used in this type of study line 0, column 0
可否指點錯在哪裡? 感激
|