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 argusthome, 03-08-2026, 10:06 AM
    0 responses
    116 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    61 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    40 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    43 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    82 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X