Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

StringFormat Error

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

    StringFormat Error

    Please, the attached MASlopeBoxMulti NT8 indicator converted from an old NT7 indicator, shows the attached screenshot errors on compilation. Could any member please help to correct the missing "links" ?

    Lolu

    [ATTACH]n1081237[/ATTACH]

    Click image for larger version

Name:	StringFormat Error.png
Views:	212
Size:	331.6 KB
ID:	1081238

    #2
    Hello omololu,

    Thank you for the post.

    The error is caused by the type being used. StringFormat is from the System.Drawing namespace which is no longer used in NT8. From what I can see this conversion was not done correctly as it still is trying to use the System.Drawing syntax. This should instead be migrated to using SharpDX (OnRender) or the newer Drawing tools.



    Using the older System.Drawing namespaces and objects is no longer something we can assist with in contrast to NT8, we can assist with questions related to the newer drawing frameworks such as sharpDX in OnRender or the drawing tools. If you want to continue using the code as is you would need to make the necessary modifications to point to the specific types you needed from System.Drawing and also reference that dll.


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

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    67 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    95 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    53 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    108 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    63 views
    0 likes
    Last Post PaulMohn  
    Working...
    X