Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Scaling problem

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

    Scaling problem

    I was working on a multi-color version of volume and discovered the histogram bars cross the upper threshold of the panel and the y axis is below 1. All bars are the same visible size since I cannot see the tops.Thinking I did something wrong I made a copy of the VolumeUpDown indicator, removed one of the plots and handling of the plot (reminiscent of NT6.5) and attempted to change the colors of the single plot with PlotBrushes. The new indicator performs exactly the same as the original project. What am I doing wrong?

    Dan
    Attached Files
    eDanny
    NinjaTrader Ecosystem Vendor - Integrity Traders

    #2
    Originally posted by eDanny View Post
    I was working on a multi-color version of volume and discovered the histogram bars cross the upper threshold of the panel and the y axis is below 1. All bars are the same visible size since I cannot see the tops.Thinking I did something wrong I made a copy of the VolumeUpDown indicator, removed one of the plots and handling of the plot (reminiscent of NT6.5) and attempted to change the colors of the single plot with PlotBrushes. The new indicator performs exactly the same as the original project. What am I doing wrong?

    Dan
    I am thinking that the:
    AddPlot(new Pen(Brushes.Transparent, 2), PlotStyle.Bar, "UpDnVolume");

    Line should not use a transparent color to start. Try using a visable color as your over-write it in the OnBarUpdate, but NT8 may have decided to ignore scaling since it sees the chart might be transparent(doesn't check for this to change later after historical/realtime data starts to flow).

    Change it to:
    AddPlot(new Pen(Brushes.Red, 2), PlotStyle.Bar, "UpDnVolume");

    and try again.

    Comment


      #3
      Nice thinking outside of the box. I don't know where my head is sometimes. I guess I just assume if it worked ok in NT7 why would it not now? Thanks.

      Dan
      eDanny
      NinjaTrader Ecosystem Vendor - Integrity Traders

      Comment


        #4
        NJA_MC was correct, but that behavior is not expected-> we'd expect NT7 behavior.

        This will be fixed in B3 - #8378
        MatthewNinjaTrader Product Management

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Waxavi, Today, 02:10 AM
        0 responses
        2 views
        0 likes
        Last Post Waxavi
        by Waxavi
         
        Started by TradeForge, Today, 02:09 AM
        0 responses
        4 views
        0 likes
        Last Post TradeForge  
        Started by Waxavi, Today, 02:00 AM
        0 responses
        2 views
        0 likes
        Last Post Waxavi
        by Waxavi
         
        Started by elirion, Today, 01:36 AM
        0 responses
        4 views
        0 likes
        Last Post elirion
        by elirion
         
        Started by gentlebenthebear, Today, 01:30 AM
        0 responses
        4 views
        0 likes
        Last Post gentlebenthebear  
        Working...
        X