DMI OSCILLATOR

Optuma Forums Optuma Scripting DMI OSCILLATOR

This topic contains 3 replies, has 3 voices, and was last updated by Darren Darren 3 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #52745
    Avatar
    Ciro
    • Topics: 6
    • Replies: 9
    • Posts: 15

    Hi I like to create DMI OSCILLATOR. 

    it is just DM+ minus  DM -, and it is plotted as indicator. And i like to see different color on bar chart. So if the value of indicator is positive the bar is green or viceversa is red when the indicator is negative. 

     

    Attachments:
    #52749
    Mathew
    Mathew
    • Topics: 16
    • Replies: 1,025
    • Posts: 1,041

    Hi Ciro,

    You can add this script to a Show View tool.

    It will automatically show as green for up and red for down.

    All the best

    Mathew

    #52759
    Avatar
    Ciro
    • Topics: 6
    • Replies: 9
    • Posts: 15

    I'M GOING CRAZY

    hi Mathew, 

    i have lost 30 minutes triyng fo figure out how to replace it, but no way. 

    I have to create a script ? i tried but I got invalid script 

    “show view Tool”  where is it ?? i searched it everywhere, no way. 

     

    #52761
    Darren
    Darren
    • Topics: 37
    • Replies: 238
    • Posts: 275

    Hi Ciro,

    Try replacing the long dash in the script to a minus sign and see if that works (for some reason this can get reformatted so the software doesn’t recognise it as a valid symbol).

    Have you watched any of the scripting tutorial videos? It will take you through the basics of creating a scripting formula and understanding how / where they can be used. Sign in here:

    https://learn.optuma.com/scripting-courses/

    The Show View tool is a standard scripting tool, allowing you to create any number of custom calculations:

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

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