Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

leave empty space on a plot on the left of scrren

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

    leave empty space on a plot on the left of scrren

    Hello,

    I'm building a sort of pivot indicator with plots as lines.

    I'd like to leave an open space on the left of my screen on the left of the levels plotted as lines. It should be left empty wherever you browse through historical data.

    I tried this code (interesting part in bold). But can't make it work. Can you help me ? Thank you


    Code:
    if (CurrentBar<1) return;
                AAA.Set(1);
    [B] for (int i=CurrentBar-ChartControl.FirstBarPainted;i>CurrentBar-ChartControl.FirstBarPainted-7;i--) PlotColors[0][i] = Color.Empty; [/B]
            }
            #region Properties
            [Browsable(false)]
            [XmlIgnore()]
            public DataSeries AAA
            {
                get { return Values[0]; }
            }
    Last edited by SARdynamite; 07-11-2010, 02:09 PM.

    #2
    I need that because I have labels on the left of my levels and I don't want to offset them vertically because when you zoom out labels + levels become a mess.

    I just need a trick to solve this problem, whatever it might be.

    Last edited by SARdynamite; 07-11-2010, 02:09 PM.

    Comment


      #3
      Hello SARdynamite,

      Unfortunately this is beyond our level of support. Hopefully another community member has a solution to this for you.
      Ryan M.NinjaTrader Customer Service

      Comment


        #4
        OKI DOKI

        I hope someone can help me.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by pibrew, Today, 06:37 AM
        0 responses
        0 views
        0 likes
        Last Post pibrew
        by pibrew
         
        Started by rbeckmann05, Yesterday, 06:48 PM
        1 response
        12 views
        0 likes
        Last Post bltdavid  
        Started by llanqui, Today, 03:53 AM
        0 responses
        6 views
        0 likes
        Last Post llanqui
        by llanqui
         
        Started by burtoninlondon, Today, 12:38 AM
        0 responses
        10 views
        0 likes
        Last Post burtoninlondon  
        Started by AaronKoRn, Yesterday, 09:49 PM
        0 responses
        15 views
        0 likes
        Last Post AaronKoRn  
        Working...
        X