Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to add Scroll-Bar in SharpDX window/object

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

    How to add Scroll-Bar in SharpDX window/object

    Hi.
    NT support, can you please test this script, and tell me, how to add scroll bar to the window where the lines appear?
    because it is impossible to show all lines in chart window, without scroll bar:



    here code:
    Attached Files

    #2
    Hello TazoTodua,

    Thanks for your inquiry.

    As you are doing this with custom rendering, the solution would have to be applied to your custom rendering in OnRender(). It may be just as complicated to incorporate a WPF scroll bar to work with your custom rendered text as it would be to create your own scroll bar with custom rendering and capture mouse events when you click within the coordinates of your scroll up and scroll down buttons.

    Here are some documentation links and sample code that may provide further direction.

    MouseDownPoint - https://ninjatrader.com/support/help...edownpoint.htm

    NinjaTrader_Jesse's SampleDrawBitmap example - https://ninjatrader.com/support/foru...19&postcount=2

    Please let me know if I may be of further assistance.
    Attached Files

    Comment


      #3
      many thanks! can you refer me to any available indis, that does something similar (i mainly need to draw WPF form, like you said, which gets some info from net and lists on chart, within form). I know such indi for NT7 (called ecoNewsIndicator), but not for NT8...

      Comment


        #4
        Hello TazoTodua,

        Happy to assist.

        I do not have any sample code or am aware of any specific indicators for NinjaTrader 8 that do this and can be used as an example.

        I will leave this question to other members of the forums if they have any available examples or would like to share their experiences.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        630 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        364 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        105 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        566 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        568 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X