This is how it works
I have imported 3000 stock symbols for the U.S. exchange and put them into a list
Then I create a condition as a strategy and then run this condition(strategy) on the strategy analyser and if the conditions are met it prints the instrument name
Example :
If (price is above SMA200)
Print(instrument. Full name )
Seems to be working good but there is a one problem, as there is over 3000 stocks on my list some of the symbols are dead (don't trade no more) (also using latest up to date stock list)
So when the strategy analylizer reaches the first of the these stocks it gets stuck and doesn't proceed thus not letting the scan complete it just writes "loading ABC " in the corner and stays on it.
Is there any way that I can tell the strategy that if there is no data available skip the symbol and print(instrument.fullname + "dead symbol") and continue scanning
Btw how do I delete a thread from NT forum?
Comment