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.