Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Big screen return fuzzy text

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

    Big screen return fuzzy text

    Hello,

    I have a problem when applying my custom indicator with big screen display.

    I have a simple script that describes the Font Size :

    LettersFontSize = (ChartPanel.H/((chartScale.MaxMinusMin/compression)/TickSize));

    Could that be the problem ?
    Should I adjust that someway to adjust to big screen pixels ?

    thank you


    #2
    Hello blar58, thanks for writing in.

    I'm not sure what it looks like on a big screen, so you would need to test different code on the screen you are seeing the issue with. In the SampleCustomRender indicator there is an example on how to render text see the sections "// 1.6 - Simple Text Rendering" and // 1.7 - Advanced Text Rendering

    Best regards.

    Comment


      #3
      Thanks Chris.

      Finally your support team fixed the issue with my customer.

      Here is their comments :

      Thank you very much for connecting with me today.
      During our call, we were able to track down what was causing the 'zoom in' on the chart.

      It seems the third-party indicator uses the scaling setting of the screen marked as primary, and would then overlap the letters, even if the current screen has a lower setting.

      After we changed the primary screen to the right one (which had a 125% scaling over the 175% on the left one), the indicator would then scale correctly.

      Is there a way that I can fix my code to correct the issue.


      Thank you very much for your help

      Comment


        #4
        Hello blar58, thanks for your reply.

        The issue is not necessarily caused by your OnRender method, but the way the graphics card is drawing onto the render target (i.e. the screen) If the Windows scaling is set to a non-recommended font scale and causing render issues, make sure the client is closing out of NinjaTrader (or even resetting the whole computer), then try it again. If you are able to consistently reproduce a rendering issue please export your reduced test script and send it to me at scriptingsupport at ninjatrader.com, reference "Attn ChrisL" in the email body as well. Please make sure the script is reduced down to only recreate the scaling issue.

        Best regards.

        Comment

        Latest Posts

        Collapse

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