請問要如何使用XS警示腳本撰寫"RSI"大於50
編譯出現錯誤無法使用outputfield
input: RSILength(13), uservalue(50);
settotalbar(200);
SetInputName(1, "RSI期數");
SetInputName(2, "數值");
value1 = RSI(Close, RSILength);
if value1 > uservalue
then ret = 1;
outputfield1(value1,"RSI");
outputfield2(uservalue);
1 評論