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 Segwin, 05-07-2018, 02:15 PM
        14 responses
        1,788 views
        0 likes
        Last Post aligator  
        Started by Jimmyk, 01-26-2018, 05:19 AM
        6 responses
        837 views
        0 likes
        Last Post emuns
        by emuns
         
        Started by jxs_xrj, 01-12-2020, 09:49 AM
        6 responses
        3,293 views
        1 like
        Last Post jgualdronc  
        Started by Touch-Ups, Today, 10:36 AM
        0 responses
        12 views
        0 likes
        Last Post Touch-Ups  
        Started by geddyisodin, 04-25-2024, 05:20 AM
        11 responses
        62 views
        0 likes
        Last Post halgo_boulder  
        Working...
        X