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 geddyisodin, 04-25-2024, 05:20 AM
        8 responses
        61 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by jxs_xrj, 01-12-2020, 09:49 AM
        4 responses
        3,288 views
        1 like
        Last Post jgualdronc  
        Started by Option Whisperer, Today, 09:55 AM
        0 responses
        5 views
        0 likes
        Last Post Option Whisperer  
        Started by halgo_boulder, 04-20-2024, 08:44 AM
        2 responses
        22 views
        0 likes
        Last Post halgo_boulder  
        Started by mishhh, 05-25-2010, 08:54 AM
        19 responses
        6,189 views
        0 likes
        Last Post rene69851  
        Working...
        X