Hello i created this little scan to get the runners for yesterday(01.05.2024). Today is 01.06.2024.
“SCREENER(close as “close”)
c1=(close-close[1])/close[1]*100>10 and volume>1000000 and close>3
idate=20240105
if c1 and date=idate then
test=1
endif
Screener[test]”
The screener works so far, but it seems the scanner scans 01.04.2024 and not 01.05.2024.
This also happens when using another date. The screener seems always to calculate the date before idate and not for idate.
This is quite strange. Has someone an idea? Thanks
The expression idate i got from a Nicholas´post. Would it be possible
to enter date=20240105 or has the date be defined before by idate=20240105?
If you are using the free version, it’s 1-bar behind. If not, try replacing DATE with OPENDATE.