Reply To: 365 day high has occurred in the last 50 days

Optuma Forums Optuma Scripting 365 day high has occurred in the last 50 days Reply To: 365 day high has occurred in the last 50 days

#65880
Matthew
  • Topics: 5
  • Replies: 421
  • Posts: 426

Hi,

The High() > V1 needs to be on its own line and assigned a different variable, the TimeSinceSignal() then needs to be wrapped around that.

Additionally, for it to run on multiple time frames but return the same result you need to set a time frame override on a few of the lines.

The final script would look like this:

Here's an example of the output...

Ex7

  • This reply was modified 1 week ago by Matthew.
1 user thanked author for this post.

Pin It on Pinterest