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 rocketman7, Today, 09:41 AM
        4 responses
        15 views
        0 likes
        Last Post rocketman7  
        Started by selu72, Today, 02:01 PM
        1 response
        9 views
        0 likes
        Last Post NinjaTrader_Zachary  
        Started by WHICKED, Today, 02:02 PM
        2 responses
        13 views
        0 likes
        Last Post WHICKED
        by WHICKED
         
        Started by f.saeidi, Today, 12:14 PM
        8 responses
        21 views
        0 likes
        Last Post f.saeidi  
        Started by Mikey_, 03-23-2024, 05:59 PM
        3 responses
        56 views
        0 likes
        Last Post Sam2515
        by Sam2515
         
        Working...
        X