Hello,
I want to screen for a certain event and display the results according to the date. I keep getting “20.2M” as”Date” [see code below].
Any idea, what I am doing wrong ?
The test code to show this:
bt = 10
TIMEFRAME(daily)
tmp = (Close[bt] > Open[bt])
dbt= Date[bt]
c1 = (tmp > 0)
SCREENER[c1 ] ( (dbt ) AS “Date”)
Date are in YYYYMMDD format. You can try to divide the dbt variable by 1000 (?) to decay the decimals.. (not tested).