Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Removing leftside margin on chart

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

    Removing leftside margin on chart

    Support,

    Is there a way to add/remove left-side margin on a Ninja chart? Is this in Ninja chart properties?

    Can you please post a screenshot of adding/removing the leftside margin.

    Please note, I am not asking regarding leftside price axis.

    Thanks
    mmtrader

    #2
    Hello,

    Thank you for your post.

    It is not possible to add a left side margin in NinjaTrader's charts by default however this is something which could be achieved through custom programming.
    KyleNinjaTrader Customer Service

    Comment


      #3
      MM, Kyle.

      A while ago I created an indicator (with a little help from friends here) that produces a colored stripe either to the left or to the right side of the chart. I further refined it. The conditions can be inserted by the user (in the code attached it is a rising falling LinReg). The stripe can either be placed to the left or right side of the chart. The width of the stripe can be chosen by the user. And the colors for up and down condition can be further fine tuned through opacity settings (1-254).

      (I love the opacity settings as the color renditions are different from computer to computer).

      MM. Insert the indicator and set the colors to transparent. Chose any width you would want and you would thus create a left sided margin in your chart..

      sandman
      Attached Files

      Comment


        #4
        Hello sandman,

        Thank you for taking the time to post this, also feel free to share it in the NinjaScript File Sharting section of the forum if you'd like.

        Comment


          #5
          Eric. Thanks. I could do so but would feel better if someone really knowledgeable with code would look it over once more to see if there's something wrong. Not that there is as I have used it all the time since its creation and have found it turns colors right on the mark. But still.

          sandman

          Comment


            #6
            Hello sandman,
            I have reviewed the code and tested it on my end and I do not see any errors.
            If we can be of any other assistance please let us know.
            Cody B.NinjaTrader Customer Service

            Comment


              #7
              Thanks Cody. I have put it up. sandman

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by argusthome, 03-08-2026, 10:06 AM
              0 responses
              116 views
              0 likes
              Last Post argusthome  
              Started by NabilKhattabi, 03-06-2026, 11:18 AM
              0 responses
              61 views
              0 likes
              Last Post NabilKhattabi  
              Started by Deep42, 03-06-2026, 12:28 AM
              0 responses
              40 views
              0 likes
              Last Post Deep42
              by Deep42
               
              Started by TheRealMorford, 03-05-2026, 06:15 PM
              0 responses
              44 views
              0 likes
              Last Post TheRealMorford  
              Started by Mindset, 02-28-2026, 06:16 AM
              0 responses
              82 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Working...
              X