Hi,
I have this indicator (Relative Strength Mansfield) to compare the relative strength of one value with the S&P500
CODE:
Please log in to see this code.
It is executed in WEEKLY scale and it usually works ok, but when I try to run it against some of the futures imported from PiTrading or TradingBlox, I get one exception: The given key was not present int the dictionary.
Why can this be happening? Could I solve it somehow?
Thanks a lot,
Enrique
Size:
Color:
I'm afraid it might be slightly more than a PiTrading thing. Try this:
CODE:
Please log in to see this code.
where
ds = your DataSet containing ^GSPC.
Do you still get the error message in runtime?
The key here is that the DataSet is a non-PiTrading/non-TradingBlox one.
Size:
Color:
That seems to work!
Not many times we thank you enough for being fast and helpful, so...
Thanks a lot! You are great!
Size:
Color:
I think we might have hit an issue. Without the overload with a DataSet name, GetExternalSymbol should work properly. If you could enter a support ticket, it would be appreciated.
Size:
Color:
Ticket created :)
Size:
Color: