• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Right Side Margin

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

    Right Side Margin

    hello,
    can we write text or draw any object which can remain in the fixed spot within the "right side margin" area?

    #2
    Hello hir04068,

    Thanks for your post.

    Yes, using OnRender, you would be able to render objects that could remain in the right side margin.

    https://ninjatrader.com/support/help.../?onrender.htm

    The margin can be adjusted in OnRender() using ChartControlProperty BarMarginRight:

    https://ninjatrader.com/support/help...properties.htm

    You could specify a certain margin size programmatically and then render your desired object in that space.

    For an example of using OnRender, look at the built in indicator "SampleCustomRender.cs" which contains many comments on the methods/properties used to create its drawing.

    Certain other indicators, such as Pivots and ZigZag also contain/use OnRender and would give you good examples as well.

    Please let us know if we may be of further assistance to you.
    Kate W.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Tiang, Today, 04:23 AM
    0 responses
    3 views
    0 likes
    Last Post Tiang
    by Tiang
     
    Started by gbux11, Today, 02:41 AM
    0 responses
    8 views
    0 likes
    Last Post gbux11
    by gbux11
     
    Started by TazoTodua, Today, 01:50 AM
    0 responses
    6 views
    0 likes
    Last Post TazoTodua  
    Started by lonestar, Today, 01:42 AM
    2 responses
    7 views
    0 likes
    Last Post lonestar  
    Started by CandySNK, Yesterday, 10:24 PM
    1 response
    21 views
    0 likes
    Last Post NinjaTrader_Marco  
    Working...
    X