Time Price Measure

Optuma Forums Optuma Scripting Time Price Measure

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #55993
    AvatarMario
    • Topics: 16
    • Replies: 23
    • Posts: 39

    Hi There,

    I am trying to add a script to the Time Price Measure tool , to take th cumulative Volume and divide it by the current price, but when I reference Cumulative Vol, I just see text in the Label.  What function do I need to reference to pull in the cumulative volume?

     

    Thanks a mil

    Mario

    #55995
    AvatarMario
    • Topics: 16
    • Replies: 23
    • Posts: 39

    PriceTime MeasureTool

    #56001
    MatthewMatthew
    • Topics: 4
    • Replies: 217
    • Posts: 221

    Hi,

    You’d wrap the accumulation function ACC() around the VOL() function.

    You can then adjust the ACC look back period to be the number of bars you want to add the volume for.

    EDIT: My script is for items like Show View and other areas where scripting is used.  Time Price Measure does not use scripting, it’s an older tool that uses simple mathematical formulas. What you’re trying to achieve can’t be done with the TPM tool.

    The Time Price Labels (TPL) tool does include a label option for cumulative volume you can use: https://help.optuma.com/kb/faq.php?id=387

    #56131
    AvatarMario
    • Topics: 16
    • Replies: 23
    • Posts: 39

    Thanks Matthew

    I was hoping I could use the Cumulative Volume in the screen shot (See Below),  which is already defined in the label.  I tried the Vol() and it does not seem to work, the label just shows “Vol()” instead of showing a volume value, in the same way the label shows Cumulative Volume, am I entering the function in the label incorrectly? (See Level 19).

    Thanks a mil

    Mario

     

    PriceTime MeasureTool2

     

     

    #56133
    AvatarMario
    • Topics: 16
    • Replies: 23
    • Posts: 39

    Cumulative Vol Label – use

    Thanks Matthew

    I was hoping I could use the Cumulative Volume in the screen shot (See Below),  which is already defined in the label.  I tried the Vol() and it does not seem to work, the label just shows “Vol()” instead of showing a volume value, in the same way the label shows Cumulative Volume, am I entering the function in the label incorrectly? (See Level 19).

    Thanks a mil

    Mario

     

    PriceTime MeasureTool2

     

     

    #56137
    MatthewMatthew
    • Topics: 4
    • Replies: 217
    • Posts: 221

    Hi,

    The Time Price Measure doesn’t use scripting, it uses functions.  If you click here and go to the bottom of the article you will see a list of functions that are supported by the TPM, however i do not believe you can create a cumulative volume value using these, you need to use a script tool or the Time Price Label instead (which already has cumulative volume available).

    Ex2

    #56141
    AvatarMario
    • Topics: 16
    • Replies: 23
    • Posts: 39

    Aaahh 🙂 Thank you!

Viewing 7 posts - 1 through 7 (of 7 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