Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Duplicating Strategy erases Drawn Object tags

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

    Duplicating Strategy erases Drawn Object tags

    I noticed a some of the time that if I want to duplicate a strategy, by right clicking and choosing save as > new name

    Then inside the new document immediately save, I'm often confused as to why the strategy doesn't work. But it seems like NT sometimes(not always) deletes part of the tag names from draw.text etc...

    for example:

    RemoveDrawObject("V7 LongHL" + (SymbolCtr - SymbolMax)); //NEW

    in the new file becomes

    RemoveDrawObject("V7ALT" + (SymbolCtr - SymbolMax)); //NEW

    Everything after the space is removed and every drawing in the strategy has the same tag name.

    #2
    Hello several,

    I would be happy to report this if you have a set of specific steps that cause that to happen. When saving a file that should only modify the class and name in State.SetDefults. If you are seeing your code being modified or removed that should not be happening. I would suggest to try and walk through the steps you used to see that happen and if you see it again, make a new script that includes whatever code is needed to see the problem and then upload that along with the steps you found.

    Comment

    Latest Posts

    Collapse

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