Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Sharing analysis between PCs : X axis issue

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

    Sharing analysis between PCs : X axis issue

    Hi Ninjas;

    I've created an indicator which send all the Drawing object in a Database and then we can retrieve it and redraw it properly to an another PC.
    Of course I took care of the time zone and I've adapted the times regarding the sender time and receiver time.

    BUT with some object, such as ArrowLine, some user have 5 day differences between the sender and them. Even if their PC have the same time zone.
    Is there is some manipulation needed to redraw the Xs axis properly when whe share a list of Drawing objects?

    #2
    For more information, I create a json object to send the list of drawing object.
    For each draw, put in the list the drawing using this
    Code:
      
    foreach (var draw in this.DrawObjects)
     {
        (draw as DrawingTool).SaveToXElement(analysis.draws);
    }​
    and then in the client part i use this
    Code:
    DrawingTool.RestoreFromXElement(draw, false);
    Thanks in advance for any futher help

    Comment


      #3
      Hello NeimadTWC,

      Thanks for your post.

      Sending information to a database and retrieving the information from the database would go beyond the scope of support we are able to provide you with in the Support Department at NinjaTrader.

      If the script is not behaving as expected then you would need to debug the script to understand exactly how the scripts are behaving.

      Something you could consider is using a Chart Template or Workspace if you want to save drawings. You could then share the Chart Template or Workspace to use it on another PC.

      Chart Template files are located in the Documents\NinjaTrader 8\templates\Chart folder.

      Workspace files are located in the Documents\NinjaTrader 8\workspaces folder.

      See the help guide documentation about saving a Chart Template or Workspace.

      Saving a Chart Template: https://ninjatrader.com/support/help..._templates.htm
      Saving a Workspace: https://ninjatrader.com/support/help...paces_menu.htm

      This forum thread will be open for other community members to share their insights on the topic.
      <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      602 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      347 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      103 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      559 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      558 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X