Positive/Negative Barrier

Optuma Forums Optuma Feature Requests Positive/Negative Barrier

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #61065
    Thomas
    • Topics: 130
    • Replies: 169
    • Posts: 299

    Hi Optuma team,

    the Show View tool has in the Properties settings the option to change the Colour Scheme to Positive/Negative and then set the colours for Positive and Negative values as well as the Positive/Negative Barrier. That is a really good option.

    As you can see on my screenshot below I have set the Positive/Negative Barrier to “40” so that all values below “40” are colored red and the rest of the values are colored blue.

    barrier

    I would recommend a feature that allows to colour not only the values below “40” but also the values above “80”. So the values above “80” would have e.g. the colour green, the values between “40” and “80” are blue, and the values below “40” are red.

    This would require a “Second” Positive/Negative Barrier option and a colour setting for the “Second” Positive/Negative Barrier.

    Hope this is possible.

    Thanks,
    Thomas

    #61080
    Matthew
    • Topics: 5
    • Replies: 625
    • Posts: 630

    Hi Thomas,

    You can do this using the Custom colour scheme rather than Positive / Negative.

    In the following example i have a script setup to show Blue when the value is > 50 and red when it is < -50, with the values in between showing black.

    Ex4

    More information on custom colours can be found here: https://help.optuma.com/kb/faq.php?id=862

    1 user thanked author for this post.
    #67025
    Louis
    • Topics: 38
    • Replies: 65
    • Posts: 103

    Hi,

    Building on this thread. I would like to script a custom color scheme into a custom indicator so I do not have to load the tool, change the color scheme to custom, and then add the scripts each time I open the tool. Please take a look at the attached picture. You can see the CCI tool I scripted adding a few colored horizontal plots. Plot1 is the actual CCI, and it is a solid black line with a width of 3. I would the line to turn green above +100 and red below -100. I have tried many things without success. I would appreciate your input here.

    Thank you,
    Louis

    #67044
    Matthew
    • Topics: 5
    • Replies: 625
    • Posts: 630

    Hi,

    If you want to use custom colours, don’t reference the plots colour specifically in the script the way you have for V1 in your example image.

    Once done, setup the custom colour rules in the tools properties, then save that tool to your custom tool bar for quick use in the future.  The custom colours will be remembered as part of the tools properties and will appear automatically each time it is applied from the tool bar.

    #67057
    Thomas
    • Topics: 130
    • Replies: 169
    • Posts: 299

    Hi Mathew,

    I have the following script:

    The script works fine, so with the script there is no problem.

    I have then changed the colour settings of the plots using the properties settings of Plot1 Style, Plot2 Style, Plot3 Style, Plot4 Style, and Plot5 Style. That too worked fine BUT when I close the workbook and reopen it all my colour settings are gone.

    What can I do so all my colour settings are saved. I know of course that I can script the Plot.Linestyle, Plot.LineWidth, and Plot.Color but using the properties settings allows more colour settings.

    Thanks,
    Thomas

    #67059
    Louis
    • Topics: 38
    • Replies: 65
    • Posts: 103

    I have the same issue with the colors not saving. This happens when I save it as a custom tool and when I save the settings as s default. That is why I was trying to script the colors. I am running Optuma 2.0, build 99.

    #67068
    Matthew
    • Topics: 5
    • Replies: 625
    • Posts: 630

    Hi,

    I’ll run some tests today to see if I can repeat it the issue and log it with the dev team.  If not I’ll come back to find out if there are any specific steps i might be missing.

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

Pin It on Pinterest