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.
        Eric B.NinjaTrader Customer Service

        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 birdog, 01-25-2023, 08:10 PM
              2 responses
              158 views
              1 like
              Last Post RickAce
              by RickAce
               
              Started by stafe, 04-15-2024, 08:34 PM
              12 responses
              59 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Started by benmarkal, Today, 12:52 PM
              0 responses
              3 views
              0 likes
              Last Post benmarkal  
              Started by pechtri, 06-22-2023, 02:31 AM
              5 responses
              116 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Started by Tim-c, Today, 03:54 AM
              3 responses
              13 views
              0 likes
              Last Post NinjaTrader_BrandonH  
              Working...
              X