A few Scripting questions

Optuma Forums Optuma Scripting A few Scripting questions

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #68373
    André
    • Topics: 2
    • Replies: 5
    • Posts: 7

    Is there a complete scripting manual?
    How do you get the maximum value of a plot over a certain range?
    When I multiply a plot by 2, it does not seem to multiply each data point by 2. Instead, certain positive values will be negative and certain negative values will be positive and I cannot really tell what is happening. Any guidance on this?

    #68374
    Matthew
    • Topics: 5
    • Replies: 616
    • Posts: 621

    Hi,

    We have a series of free scripting courses available here: https://learn.optuma.com/optuma-courses/

    We also have over 100 articles here covering scripting and specific scripting functions: https://help.optuma.com/kb/faq.php?cid=73

    With regards to your specific question, HighestHigh() is what you would use to find the max value over a specific range:

    https://help.optuma.com/kb/faq.php?id=920

    With regards to multiplying a value by two, usually you’d just use  * 2 to achieve the result.

    For example, using a simple oscillator:

    This script takes the standard oscillator values (both positive and negative, and doubles them).

    Ex3

    If you are seeing a different result I’d need to see the script you were using to provide further advice.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Pin It on Pinterest