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:	207
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 Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    600 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    347 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    103 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    558 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    558 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X