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 itrader46, Today, 09:04 AM
        0 responses
        1 view
        0 likes
        Last Post itrader46  
        Started by timmbbo, Today, 08:59 AM
        0 responses
        1 view
        0 likes
        Last Post timmbbo
        by timmbbo
         
        Started by bmartz, 03-12-2024, 06:12 AM
        5 responses
        33 views
        0 likes
        Last Post NinjaTrader_Zachary  
        Started by Aviram Y, Today, 05:29 AM
        4 responses
        14 views
        0 likes
        Last Post Aviram Y  
        Started by algospoke, 04-17-2024, 06:40 PM
        3 responses
        28 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Working...
        X