Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

chart lines backup/transfer

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

    chart lines backup/transfer

    Hi, I've been having some issues with chart lines in NT8, the solution to all of them is to be able to backup the lines/objects I'm currently using from a specific workspace, I recently needed to transfer everything to a new machine, but chart lines do not seem to be accociated to a workspace, so backing up the workspace does not also backup the chart objects.

    does anyone know where drawing objects are saved? and therefor which file needs to be duplicated to allow objects to be backed up and restored or migrated.

    Thanks

    #2
    Hello Audiofail,

    Thank you for your note.

    Drawing objects should be saved within a workspace if you save the workspace. Drawing objects are removed, however, if you use the workspace with the Playback connection. What version of NinjaTrader are you using? You can find this under Help > About. The current version of NinjaTrader is 8.0.21.1.

    Thanks in advance; I look forward to assisting you further.
    Kate W.NinjaTrader Customer Service

    Comment


      #3
      Hi Kate, I can confirm i'm using the latest NT8, I don't think I'm using a playback connection, just a regular CQG connection.

      The issue is that drawing objects are apparently stored with the instrument, and not with the workspace, if I open the same workspace xml on a different machine, it will not have the same drawing objects as the previous machine.

      As such I need a way of backing up the objects so that I can transfer my workspace to a new machine, and also for backing up the objects incase anything causes issues with the objects. this has happened before when I have loaded an old workspace, and it added all the lines from that workspace onto all the other workspaces with the same instruments.

      I'm assuming they are not stored in the DB folder, along with all the tick and minute data, but knowing if that folder has to be identicle anyway would be helpful.
      I'm hoping there is another xml or folder that does store all the object data for all the respective instruments, so that I can simply copy that, along with the workspaces folder etc.

      Thanks

      Comment


        #4
        Hello Audiofail,

        Thank you for your reply.

        They are saved in the Workspace XML File. Here is an example of this from my own workspace:

        Code:
                  <DrawingTools>
                    <Ellipse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                      <IsVisible>true</IsVisible>
                      <IsAutoScale>false</IsAutoScale>
                      <MaxValue>-1.7976931348623157E+308</MaxValue>
                      <MinValue>1.7976931348623157E+308</MinValue>
                      <ZOrder>30004</ZOrder>
                      <AttachedTo>
                        <ChartObjectSerialize>ChartBars</ChartObjectSerialize>
                        <InstrumentSerialize>YM 06-20</InstrumentSerialize>
                      </AttachedTo>
                      <ScaleJustification>Right</ScaleJustification>
                      <DrawingState>Normal</DrawingState>
                      <DisplayOnChartsMenus>true</DisplayOnChartsMenus>
                      <GlobalLastSeenSerialize>0</GlobalLastSeenSerialize>
                      <GlobalWorkspace>Untitled</GlobalWorkspace>
                      <Id>788830366c6949abbe37904cb8f93593</Id>
                      <IsLocked>false</IsLocked>
                      <PanelIndex>0</PanelIndex>
                      <Tag>Ellipse</Tag>
                      <ZOrderType>Normal</ZOrderType>
                      <AreaBrushSerialize>&lt;SolidColorBrush xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"&gt;#FF6495ED&lt;/SolidColorBrush&gt;</AreaBrushSerialize>
                      <AreaOpacity>40</AreaOpacity>
                      <OutlineStroke>
                        <IsOpacityVisible>true</IsOpacityVisible>
                        <BrushSerialize>&lt;SolidColorBrush xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"&gt;#FF6495ED&lt;/SolidColorBrush&gt;</BrushSerialize>
                        <DashStyleHelper>Solid</DashStyleHelper>
                        <Opacity>100</Opacity>
                        <Width>2</Width>
                      </OutlineStroke>
                      <EndAnchor>
                        <SlotIndex>117489.17</SlotIndex>
                        <DisplayName>End</DisplayName>
                        <IsBrowsable>true</IsBrowsable>
                        <Time>2020-03-25T09:46:32.76</Time>
                        <Price>21042.590909090908</Price>
                      </EndAnchor>
                      <MiddleAnchor>
                        <SlotIndex>117258</SlotIndex>
                        <DisplayName>Middle</DisplayName>
                        <IsBrowsable>false</IsBrowsable>
                        <Time>2020-03-25T09:46:32.76</Time>
                        <Price>21042.590909090908</Price>
                      </MiddleAnchor>
                      <StartAnchor>
                        <SlotIndex>117401.173</SlotIndex>
                        <DisplayName>Start</DisplayName>
                        <IsBrowsable>true</IsBrowsable>
                        <Time>2020-03-25T09:45:04.763</Time>
                        <Price>21075.157754010695</Price>
                      </StartAnchor>
                      <FullTypeName>NinjaTrader.NinjaScript.DrawingTools.Ellipse</FullTypeName>
                      <IsGlobalDrawingObjectDefault>false</IsGlobalDrawingObjectDefault>
                    </Ellipse>
        If the workspace is more than 20 days old, drawing objects will be removed, however, which would be expected.

        Do you receive any errors related to the workspace or drawing objects in the Log tab of the Control Center when you try to open the workspace on the second PC? If so, what is the text of the error?

        Thanks in advance; I look forward to assisting you further.
        Kate W.NinjaTrader Customer Service

        Comment


          #5
          Hi Kate, no errors are visible in the logs, these issues manifest themselves for me most singificantly - in that I cannot transfer a workspace from one machine to another and maintain the drawing objects with the workspace; also that if I open an old workspace, old lines that were set to appear on 'all charts' are then added to my current workspace/any workspace opened thereafter; and if I change the historic data merge settings, lines can be permantly moved to places they were not previously (in both Y and X values) and sometimes once changed, are impossible to restore.

          In all cases, the workspace file itself is not entirely responsible for the storage of the line properties, and in a previous support ticket I was informed that the lines are stored with the 'instrument' which makes sense as once a line is set to appear on all charts, it will also appear across different workspaces.

          Let me know what you suggest
          Thanks

          Comment


            #6
            Hello Audiofail,

            Thank you for your reply.

            I would like to investigate this more thoroughly by taking a look at your files. Please go to Help > Email Support. Expand Other files, and check all the boxes; log and trace will be already checked by default. Please put 2471673 ATTN Kate W. in the body of the email.

            Thanks in advance; I look forward to assisting you further.
            Kate W.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by bortz, 11-06-2023, 08:04 AM
            47 responses
            1,603 views
            0 likes
            Last Post aligator  
            Started by jaybedreamin, Today, 05:56 PM
            0 responses
            8 views
            0 likes
            Last Post jaybedreamin  
            Started by DJ888, 04-16-2024, 06:09 PM
            6 responses
            18 views
            0 likes
            Last Post DJ888
            by DJ888
             
            Started by Jon17, Today, 04:33 PM
            0 responses
            4 views
            0 likes
            Last Post Jon17
            by Jon17
             
            Started by Javierw.ok, Today, 04:12 PM
            0 responses
            12 views
            0 likes
            Last Post Javierw.ok  
            Working...
            X