Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Force Serialization

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

    Force Serialization

    I have an indicator that I would like to "serialize" (and then "deserialize") based on the current instrument (i.e. 6E vs NG).

    Specifically what I would like to do is to do is on initialize:

    - if the current instrument does not match the one that is selected, search a specified directory for a file with the instrument name, and if found, "de-serialize" (i.e. like applying a template) the current indicator.

    - if the current instrument DOES MATCH the one that is selected, serialize it to a specific output file...

    Help is appreciated.

    #2
    Hello SharkCub,

    Thank you for your post.

    I have not seen this implemented into NinjaScript, but the concept should remain the same. You can look at the information on writing to an XML file on the MSDN site at the following link: https://msdn.microsoft.com/en-us/library/ms172873.aspx

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    630 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    364 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    105 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    566 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    568 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X