Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Smooth WPF movement (custom x-axis)

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

    Smooth WPF movement (custom x-axis)

    Hi, I'm trying to create custom x-axis with WPF. The issue is that the movement of the lines (and text) is a bit laggy (there is a little delay between the chart and WPF line). I've tried many things and the best so far is adjusting the position in OnRender. Can someone please give me any advice? I'll gladly even pay for it if there is someone who can help me with that. Thank you

    #2
    Hello Marty125,

    The issue is likely from the 250ms refresh rate of the chart. I'm not certain there is a workaround for this. (Note the crosshairs included with NinjaTrader are on a separate layer and not rendered with the rest of the chart rendering)

    This thread will remain open for any community members that would like to provide experience or direction.

    You can also contact a professional NinjaScript Consultant who would be eager to create or modify this script at your request or assist you with your script. The NinjaTrader Ecosystem has affiliate contacts who provide educational as well as consulting services. Please let me know if you would like a list of affiliate consultants who would be happy to create this script or any others at your request or provide one on one educational services.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    553 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    324 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    100 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    543 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    546 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X