I also experience the same problem. I just made a simple code scanning for stocks that crosses over MA 10 on a weekly timeframe.
It works fine when using daily timeframe but not weekly. When running the scanner with the weekly timeframe, the scanner shows a list with stocks that crosses over MA10 the week before the last week. I expected it to show stocks that crosses Ma10 on the very last bar (week).
I have used the scanner on the Swedish stocks with this result.
The code I used for the scanning was:
indicator1 = close
indicator2 = Average[10](close)
c1 = (indicator1 CROSSES OVER indicator2)
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue