Hello all, I draft a very simple script to scan the market as below: # Russell 3000 Index (RUA), S&P500 index (SPX) def close2 = close( "SPX" ); def MA1 = SimpleMovingAvg("price" = close2, "length" = 20)."SMA"; def MA2 = SimpleMovingAvg("price" = close2, "length" = 200)."SMA"; def Rul = (close2 > MA1) or (cloby Sonima - Trading Discussion
Hi all, I am wondering if it is possible to get the calendar date of earning? GetEventOffset(Events.EARNINGS) this gives date (bars) to earning and skip the weekends, so not possible to add today to the value generated by the above code to get the earning date. Any solution would be appreciated.by Sonima - Trading Discussion
Hi all, I have a script which I use to screen for stocks that are fit into criteria. The code is a bit long and I got this error: The complexity of the expression suggests that it may not be reliable with real-time data. Is there any solution to overcome this error/warning? Thanks.by Sonima - Trading Discussion