Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Display problem

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

    Display problem

    Hi

    I have customers that have problems with my indicator display.
    My indicator is a Market Profile.
    On a small number of PCs the letters overlap and the display is wrong.
    Playing with screen resolution fix the error but not for all.

    What can be causing that ?
    Is there a permanent fix for this ?

    Thank you

    #2
    Hi blar58 thanks for your post.

    This seems to be an issue with the OnRender method in your script. It seems similar to this thread:

    In an indicator I use a copy of the chart control font. Example: SimpleFont baseFont = (SimpleFont)ChartControl.Properties.LabelFont.Clone(); SharpDX.DirectWrite.TextFormat textFormat = new SharpDX.DirectWrite.TextFormat(Core.Globals.DirectWriteFactory, baseFont.Family.ToString(), SharpDX.DirectWrite.FontWeight.Normal,


    In this case, the problem was a Windows.Media font was being used and not a SharpDX font.

    If you can still have trouble pinpointing the issue I would need a test script reduced to the most basic level that still reproduces the issue.

    I look forward to hearing of your results.
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      Chris

      If that was the problem It would be wrong for all PC.
      It happens on about 1% of my customers



      Comment


        #4
        Hi blar58, thanks for your reply.

        If you can not reproduce the problem on most computers then the clients Windows environment might be causing the issue. There specific Windows setup would need to be tested to see what is different than a regular Windows installation (Graphics card drivers, Windows/NinjaTrader DPI settings, resolution settings, third party applications).

        Please let me know if I can assist any further.
        Chris L.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Segwin, 05-07-2018, 02:15 PM
        14 responses
        1,788 views
        0 likes
        Last Post aligator  
        Started by Jimmyk, 01-26-2018, 05:19 AM
        6 responses
        837 views
        0 likes
        Last Post emuns
        by emuns
         
        Started by jxs_xrj, 01-12-2020, 09:49 AM
        6 responses
        3,293 views
        1 like
        Last Post jgualdronc  
        Started by Touch-Ups, Today, 10:36 AM
        0 responses
        13 views
        0 likes
        Last Post Touch-Ups  
        Started by geddyisodin, 04-25-2024, 05:20 AM
        11 responses
        63 views
        0 likes
        Last Post halgo_boulder  
        Working...
        X