Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Default drawing objects to All Charts

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

    Default drawing objects to All Charts

    In NT8, how do I set the default template for certain drawing objects to default to global draw objects? When I draw horizontal lines in NT7 they show up on all charts, but when I draw rays they only show up on that particular chart. How do I emulate this behavior in NT8? I tried saving the Default template for the horizontal line but that is not working.

    #2
    Hello habibalex,

    Can you please open the properties menu of the Ray and set 'Attach to' to (All charts).

    Click "template" in the lower right corner and then click "save".

    A new window will open up to save the template. Please save it as "Default".

    Draw a new Ray and it should plot in all charts of the same instrument.
    JasonNinjaTrader Customer Service

    Comment


      #3
      I tried this and it doesn't work. It saves off the color and line thickness correctly but it is not drawing it as a global draw object.

      Comment


        #4
        Also the dashed and dotted lines are really hard to tell if they are solid or not. I think the spacing on that setting needs to be changed to show a large spacing between dashes / dots.

        Comment


          #5
          This works on my end. After I save the Ray properties that includes 'Attached to' set to 'All charts' in the Default template, subsequent Rays that I draw have 'Attach to' set to 'All charts'. I am not sure why this does not work for you. Can you please shut down NinjaTrader 8 and navigate to the folder below.

          Documents-->NinjaTrader 8-->templates-->DrawingTool-->Ray

          Delete the Default.xml file.

          Start NinjaTrader 8 and repeat the instructions once more.


          I will forward your suggestion to have more space between dashes and dots when such a dash style is selected. Thank you for your feedback.
          JasonNinjaTrader Customer Service

          Comment


            #6
            This doesn't work, the default colors change but it doesn't attach it to all charts.

            Comment


              #7
              Originally posted by NinjaTrader_Jason View Post
              This works on my end. After I save the Ray properties that includes 'Attached to' set to 'All charts' in the Default template, subsequent Rays that I draw have 'Attach to' set to 'All charts'. I am not sure why this does not work for you. Can you please shut down NinjaTrader 8 and navigate to the folder below.

              Documents-->NinjaTrader 8-->templates-->DrawingTool-->Ray

              Delete the Default.xml file.

              Start NinjaTrader 8 and repeat the instructions once more.


              I will forward your suggestion to have more space between dashes and dots when such a dash style is selected. Thank you for your feedback.
              Jason, this issue is still unresolved

              Comment


                #8
                hey jason, still having this issue.

                Comment


                  #9
                  After saving the template as default if you then draw a new horizontal line->open the Horizontal Line Properties window->Click Ok does the horizontal line then display on the other chart?
                  Christopher J.NinjaTrader Customer Service

                  Comment


                    #10
                    No, the template itself does not appear to be loading the All Charts property.

                    This is my default.xml file:
                    Code:
                    <?xml version="1.0" encoding="utf-8"?>
                    <NinjaTrader>
                      <HorizontalLine xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                        <IsAutoScale>false</IsAutoScale>
                        <MaxValue>-1.7976931348623157E+308</MaxValue>
                        <MinValue>1.7976931348623157E+308</MinValue>
                        <ScaleJustification>Right</ScaleJustification>
                        <DisplayOnChartsMenus>true</DisplayOnChartsMenus>
                        <GlobalLastSeenSerialize>635861522778498200</GlobalLastSeenSerialize>
                        <GlobalWorkspace>ES</GlobalWorkspace>
                        <IsGlobalDrawingTool>true</IsGlobalDrawingTool>
                        <PanelIndex>0</PanelIndex>
                        <Tag>@Horizontal Line 87</Tag>
                        <ZOrderType>Normal</ZOrderType>
                        <StartAnchor>
                          <SlotIndex>7017.8900055834729</SlotIndex>
                          <DisplayName>Anchor</DisplayName>
                          <IsBrowsable>true</IsBrowsable>
                          <Time>2015-12-17T06:36:46.938</Time>
                          <Price>2066</Price>
                        </StartAnchor>
                        <EndAnchor>
                          <SlotIndex>7017.8900055834729</SlotIndex>
                          <DisplayName>End</DisplayName>
                          <IsBrowsable>false</IsBrowsable>
                          <Time>2015-12-17T06:36:46.938</Time>
                          <Price>2066</Price>
                        </EndAnchor>
                        <Stroke>
                          <BrushSerialize>&lt;SolidColorBrush xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"&gt;#FF6495ED&lt;/SolidColorBrush&gt;</BrushSerialize>
                          <DashStyleHelper>Solid</DashStyleHelper>
                          <Width>1</Width>
                        </Stroke>
                        <FullTypeName>NinjaTrader.NinjaScript.DrawingTools.HorizontalLine</FullTypeName>
                        <IsGlobalDrawingObjectDefault>true</IsGlobalDrawingObjectDefault>
                      </HorizontalLine>
                    </NinjaTrader>

                    Comment


                      #11
                      I will forward this to our development team and will follow up after I gather additional information.
                      Christopher J.NinjaTrader Customer Service

                      Comment


                        #12
                        Can you tell me if the Horizontal Line is displayed after using these steps:
                        1. Open 2 charts
                        2. Within Chart A draw a Horizontal Line
                        3. Within the Horizontal Line Properties select (All charts) from the Attach to drop down menu
                        4. Click Apply, Horizontal Line is displayed in Chart B as well
                        5. Save the template as default
                        6. Draw a new Horizontal Line in Chart A
                        7. Open the Properties window and verify Attach to is showing (All charts) in the drop down
                        8. Click Ok

                        After clicking OK is the Horizontal Line then displayed within Chart B as well?
                        Christopher J.NinjaTrader Customer Service

                        Comment


                          #13
                          After saving it as the default template, and drawing the 2nd line, in the properties of the 2nd horizontal line, it does not say "All Charts".

                          Comment


                            #14
                            To forward your log and trace files please go to Help->Email Support and be sure to include Attn: Chris Jameson in the Subject line, a link to this thread in the body and a check in the box for "Template files".
                            Christopher J.NinjaTrader Customer Service

                            Comment


                              #15
                              The suggestion to have more space between dashes and dots is added to the list and is assigned to SFT-1020.
                              JasonNinjaTrader Customer Service

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by funk10101, Today, 09:43 PM
                              0 responses
                              6 views
                              0 likes
                              Last Post funk10101  
                              Started by pkefal, 04-11-2024, 07:39 AM
                              11 responses
                              37 views
                              0 likes
                              Last Post jeronymite  
                              Started by bill2023, Yesterday, 08:51 AM
                              8 responses
                              44 views
                              0 likes
                              Last Post bill2023  
                              Started by yertle, Today, 08:38 AM
                              6 responses
                              26 views
                              0 likes
                              Last Post ryjoga
                              by ryjoga
                               
                              Started by algospoke, Yesterday, 06:40 PM
                              2 responses
                              24 views
                              0 likes
                              Last Post algospoke  
                              Working...
                              X