Momentum Shading Prob

Optuma Forums Optuma Scripting Momentum Shading Prob

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #51371
    Gerard
    • Topics: 2
    • Replies: 2
    • Posts: 4

    I’m trying to shade step between High & Low so looks more like a bar chart. please help.
    ma1= MA(BARS=40, CALC=Close);
    ma2= (High() -ma1)/ABS(ma1);
    ma3= (Low() – ma1)/ABS(ma1);
    ma4= (Close() -ma1)/ABS(ma1);

    Plot1= ma2;
    Plot1.Colour = Green;
    Plot1.Plotstyle = Step;
    plot2= ma3;
    Plot2.Colour = Red;
    Plot2.Plotstyle = Step;
    Plot3= ma4;
    Plot3.Colour = White;
    Plot3.Plotstyle = Step;

    #51375
    Matthew
    • Topics: 5
    • Replies: 487
    • Posts: 492

    Hi,

    You can add a shaded zone between two plots using the Shade() function…

    For more information on using Shading between two plots please refer to the following article: https://help.optuma.com/kb/faq.php?id=901

    • This reply was modified 2 years ago by Matthew.
    #51619
    Gerard
    • Topics: 2
    • Replies: 2
    • Posts: 4

    Thanks mate

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

Pin It on Pinterest