Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

PriceOscillator Modification

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    PriceOscillator Modification

    Hi,
    I am looking for Price Oscillator Histogram with Green(or any Optional) above zero and Red below zero. I just started learning C# and I looked into the code but I couldn't figure out how to do it.
    Any help is appreciated.

    Attaching the screenshot of how it should look like except colors.

    thx
    Attached Files

    #2
    vk279,

    Please use DrawRegion() to fill in the space between your line to the zero line.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Thanks Josh. I have no idea how to use DrawRegion. Could you point me to some examples.
      Thanks

      Comment


        #4
        Please see the example here: http://www.ninjatrader-support.com/H...rawRegion.html
        Josh P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        129 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        74 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        116 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        111 views
        1 like
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        89 views
        0 likes
        Last Post CarlTrading  
        Working...
        X