Optuma Forums › Optuma Scripting › Increase Script Speed › Reply To: Increase Script Speed
December 11, 2020 at 11:38 am
#61668

- Topics: 5
- Replies: 326
- Posts: 331
Hi,
You have too many close brackets on that line, the way it’s setup now it does not register as a valid script. Once it was adjusted to:
1 2 3 |
BSDailyOff = (S1> 5) or (S2 == 0) or (EC == 0); |
The rest of the script worked.
I applied it to the S&P100 codes in a Watchlist, trying different outputs (EC, BS, etc) and it worked without crashing once the change was made.