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 Hwop38, 05-04-2026, 07:02 PM
    0 responses
    161 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    310 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    245 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    350 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    179 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Working...
    X