I have a script to scan candlestick pattern on multiple symbols. When I run the script in the morning, it always gives me candlestick pattern the day before.
After I run it again, it gives me today's pattern. Seems that the first run did not download the symbols price data.
How do I force download all symbols data in script?
The first time you run and try to access another symbol/timeframe
I have a script to scan candlestick pattern on multiple symbols. When I run the script in the morning, it always gives me candlestick pattern the day before.
After I run it again, it gives me today's pattern. Seems that the first run did not download the symbols price data.
How do I force download all symbols data in script?
The first time you run and try to access another symbol/timeframe
Maybe, but try to delete it from code above then you see problem.
The first time you run and try to access another symbol/timeframe
I'm getting error 4066
But how do I use this get last error in my code?