您好,想請問
我試著用RSI 高檔背離警示 改成指標 給台指5分鐘使用
但是沒有顯示出來
請問我哪裡需要修改?
// RSI由高檔區往下, 與價格趨勢背離
//
Input: RSILength(6), Threshold(80), Region(5);
variable: rsiValue(0);
settotalbar(maxlist(RSILength,6) * 8 + 8);
SetInputName(1, "期數");
SetInputName(2, "高檔值");
SetInputName(3, "日期區間");
RSIValue = RSI(Close, RSILength);
If RSIValue Crosses Below Threshold and
RSIValue < Lowest(RSIValue, Region) and
Close >= Highest(Close, Region) then
begin plot1(1,"RSI高檔背離");
end;
1 評論