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 llanqui, Today, 03:53 AM
        0 responses
        5 views
        0 likes
        Last Post llanqui
        by llanqui
         
        Started by burtoninlondon, Today, 12:38 AM
        0 responses
        10 views
        0 likes
        Last Post burtoninlondon  
        Started by AaronKoRn, Yesterday, 09:49 PM
        0 responses
        15 views
        0 likes
        Last Post AaronKoRn  
        Started by carnitron, Yesterday, 08:42 PM
        0 responses
        11 views
        0 likes
        Last Post carnitron  
        Started by strategist007, Yesterday, 07:51 PM
        0 responses
        14 views
        0 likes
        Last Post strategist007  
        Working...
        X