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 JoMoon2024, Today, 06:56 AM
        0 responses
        6 views
        0 likes
        Last Post JoMoon2024  
        Started by Haiasi, 04-25-2024, 06:53 PM
        2 responses
        17 views
        0 likes
        Last Post Massinisa  
        Started by Creamers, Today, 05:32 AM
        0 responses
        5 views
        0 likes
        Last Post Creamers  
        Started by Segwin, 05-07-2018, 02:15 PM
        12 responses
        1,786 views
        0 likes
        Last Post Leafcutter  
        Started by poplagelu, Today, 05:00 AM
        0 responses
        3 views
        0 likes
        Last Post poplagelu  
        Working...
        X