Hello!
I'm wondering if anyone else is running into issues with the stock screener and using custom studies that use multiple timeframes (using calculateValues to populate their values)
I can see the resulting values looking correct in the study, but when I run the screener it is as if the returning values are random/fail. Further, its as if the debug output I have is being skipped or never called for the study. Without being able to share the study, I'm mostly wondering if others have run into problems like this with the Screener.
Simple custom studies have no issue, but as soon as I start screener for an advanced study that cares about more than one timeframe (ex: checking daily and weekly) it does't work.
example: running my custom study on apple returns a value of 50.0-- but checking if that value is greater than zero doesn't pass. I can see the study result for the latest bar and it's clearly above my threshold. It seems that whether it runs my logic or not depends on the value of Minimum Bars -- but it's also not returning valid values.
Thanks in advance for any thoughts/pointers
I'm wondering if anyone else is running into issues with the stock screener and using custom studies that use multiple timeframes (using calculateValues to populate their values)
I can see the resulting values looking correct in the study, but when I run the screener it is as if the returning values are random/fail. Further, its as if the debug output I have is being skipped or never called for the study. Without being able to share the study, I'm mostly wondering if others have run into problems like this with the Screener.
Simple custom studies have no issue, but as soon as I start screener for an advanced study that cares about more than one timeframe (ex: checking daily and weekly) it does't work.
example: running my custom study on apple returns a value of 50.0-- but checking if that value is greater than zero doesn't pass. I can see the study result for the latest bar and it's clearly above my threshold. It seems that whether it runs my logic or not depends on the value of Minimum Bars -- but it's also not returning valid values.
Thanks in advance for any thoughts/pointers
Last edited: