Script for showing Rate of Change over period

Optuma Forums Optuma Scripting Script for showing Rate of Change over period

This topic contains 1 reply, has 2 voices, and was last updated by Matthew Matthew 2 months, 2 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #53521
    Avatar
    Tonia
    • Topics: 4
    • Replies: 4
    • Posts: 8

    Hi Guys

    I have created a watchlist which displays the default Change (%) column in 1 year timeframe. However, I want to write a script that allows me to create a column in my watchlist that displays the Rate of Change (%) of each stock listed over the last 100 day period.  Could you help me please

    #53523
    Matthew
    Matthew
    • Topics: 4
    • Replies: 172
    • Posts: 176

    Hi Tonia,

    You can use the ROC() funciton to achieve the result you’re after.

    In the case of a 100 bar ROC you can use the following script in a Watchlist:

    The result would look like the following:

    Ex2

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

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