下面是內建指標--買賣力的程式:
if symbolexchange <> "TW" and symbolexchange <> "TF" then raiseruntimeerror("不支援此商品");
if SymbolType <> 2 and SymbolType <> 3 and SymbolType <> 5 then raiseruntimeerror("不支援此商品");
if barfreq <> "Min" and barfreq <> "D" and barfreq <> "AD" then
raiseruntimeerror("僅支援分鐘與日頻率(含還原)");
value91 = GetField("外盤量");//僅提供給有權限的用戶使用
value1 = GetField("外盤量","D");
value2 = GetField("內盤量","D");
value3 = value1 - value2;
plot1(value3,"買賣力");
plot2(value1,"外盤量",checkbox:=0);
plot3(value2,"內盤量",checkbox:=0);
上面程式,我把value1 = GetField("外盤量","D");改成value1 = GetField("外盤量","M");
程式中 GetField("外盤量");//僅提供給有權限的用戶使用
但我的帳號JusrXQ004是有權限的,,但為什麼編譯結果出現("外盤量" 在指標腳本中,目前不支援頻率"M" )的訊息??
5 評論