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 Ndakotan1313, 03-14-2024, 05:02 PM
              2 responses
              58 views
              0 likes
              Last Post blaise_code  
              Started by claxxical, 05-30-2017, 12:30 PM
              37 responses
              4,454 views
              0 likes
              Last Post Padan
              by Padan
               
              Started by SugarDefwebsite, Today, 02:18 AM
              0 responses
              4 views
              0 likes
              Last Post SugarDefwebsite  
              Started by usglucofreeze, Today, 01:19 AM
              0 responses
              7 views
              0 likes
              Last Post usglucofreeze  
              Started by f.saeidi, Today, 01:12 AM
              0 responses
              16 views
              0 likes
              Last Post f.saeidi  
              Working...
              X