Runtime error "Value cannot be null" when accessing external symbol on Weekly/Monthly
Author: WEALTHPRO25
Creation Date: 12/12/2017 10:26 PM
profile picture

WEALTHPRO25

#1
i have attached at file that shows the error, this code works on daily chart but not on weekly or monthly chart, it use to work on weekly and monthly chart and suddenly it gives me an error

CODE:
Please log in to see this code.
profile picture

Eugene

#2
You can use this GetExternalSymbol overload to specify the DataSet name with ^DJI (warning: Case Sensitive!) to fix the error on Weekly/Monthly:

CODE:
Please log in to see this code.
profile picture

WEALTHPRO25

#3
thank you it works
profile picture

Eugene

#4
Good to know that.
profile picture

WEALTHPRO25

#5
this script was working fine now all of a sudden i have this run time error on this script

CODE:
Please log in to see this code.


Runtime error: Value cannot be null, i have attached the runtime error, please help
profile picture

Eugene

#6
Please review post #2 above.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).