example: Add("XXX",PeriodType.Minute,1);
When I reload this indicator (after editing or when opening a workspace which includes it), I often get the following error message (outside of extended market hours):
TDA: ERROR:BACKFILL "XXX" response too short {2D}{20}{2D}{20}{2D}
(My data connection is TDA).
I was wondering if there was a way to limit the processing of this script to certain hours of the day so as to avoid these very annoying error messages?
Can the "Add" instrument lines reside somewhere besides the Initialize section? Or somehow be time-restricted in the Initialize section? Or can the Initialize section be delayed from initialzing until a certain time criteria? Etc...???
Thanks.
Comment