- Topics: 1
- Replies: 2
- Posts: 3
Thanks everyone at Optuma for all of the help with the scripting. These forums really are incredibly useful.
I have a basic script where i am looking for ADX > 14 and DM+ > DM-. I am trying to create a TimeSinceSignal script to return the number of days since these conditions were met. Strangely the script is returning 0 for all stocks where the signal is currently live, and a value for stocks where it is not.
I see the logic in that the script is returning the number of days since the signal ended, how would I correct this to return the number of days since it was triggered?