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 CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    52 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    29 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    193 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    354 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    274 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X