Create The Arms Index Calculation

Optuma Forums Optuma Scripting Create The Arms Index Calculation

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #65103
    Louis
    • Topics: 3
    • Replies: 3
    • Posts: 6

    Hi,

    I am trying to use the Show View tool to display a custom script, calculating the Arms Index for the S&P1500. I cannot get Optuma to recognize this as a valid script. Please let me know what I am doing incorrectly. Many thanks!

    #65106
    Matthew
    • Topics: 5
    • Replies: 381
    • Posts: 386

    Hi Louis,

    Thank you for your post.

    From what I can see there are two small issues with the scripts syntax.

    The first is on the D variable, you have an open bracket before the first GETDATA function, but no close bracket.  You can delete this open bracket, it is not needed.

    Secondly, you create a variable called plot, but don’t set it as the output.   Unless you plan to show multiple plots on the script you can reduce the last line display as N / D.

    After making these adjustments the script appears to work as expected.

    Ex3

    1 user thanked author for this post.
    #65107
    Louis
    • Topics: 3
    • Replies: 3
    • Posts: 6

    Thank you, Matthew!!! Works perfectly!

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

Pin It on Pinterest