New Members: Be sure to confirm your email address by clicking on the link that was sent to your email inbox. You will not be able to post messages until you click that link.
Automatic warning is a little yellow triangle on the left side of the scan
When I use a one day offset ( 1 Day ago ) instead of the word ( yesterday's ) a little yellow triangle appears on the left side of the scan telling me that "There is a mismatch between the time periods or offsets. The scan results seem to be the same either way that I write the scan but I am curious to know if it really does affect the results and I just haven't seen it yet? The reason that it is important to me is because I write some very long scans and I am repetative so every character is precious in some of my scans.
0
Comments
The documentation says the warning indicates you "may" not get the intended results. If you can live with that, it's not a problem. I don't know in detail how the scan engine works, so I can't say whether results would be inconsistent. If it's critical, the safe thing to do is write code that generates no errors.
https://support.stockcharts.com/doku.php?id=scans:advanced_scan_workbench
If many of your lines are repetitive, it may be possible to condense the code by reconsidering how you group your ands and ors, or whether to break up the scan into several more manageable smaller ones.