Reply To: TimeSinceSignal formulas

Optuma Forums Optuma Scripting TimeSinceSignal formulas Reply To: TimeSinceSignal formulas

#58335
AvatarDean
  • 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?

Many thanks,

Dean

Pin It on Pinterest

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close