I have the piece of code below that always worked fine but I don't know why isn't working anymmore. I am a bit confused about that, hope you can help me finding a solution.
CODE:
Please log in to see this code.
Running the strategy, whatever ticker I put (I am using Bloomberg) in this expression:
Index = GetExternalSymbol("SX5E", true).Close;
I obtained this error (on the instruction above):
Runtime Error:Object reference not set to an instance of an object at WealthLab.Strategies.QuantitativeBehaviour.Execute() etc etc
Can someone explain where I am wrong ?