Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Using Draw objects with multiple bars

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

    Using Draw objects with multiple bars

    In a strategy I added a bar object with a different time frame using the same instrument. I added the strategy to a chart and manual added the bar series to the chart so that now I can see both the original series and the added series.

    I then used the BarsInProgress == 1 selection to draw a dot hoping on the added series. However, the dot only appears only at the original time frame.

    Draw objects can NOT be used with multiple time frames except on the base time frame! CORRECT?

    #2
    Hi GuyFB,

    Correct, although you are accessing another series, the series that you add the strategy to (same for an indicator) is the one the drawing objects will be applied to.
    TimNinjaTrader Customer Service

    Comment


      #3
      Solution

      Tim,
      There is a solution to this problem::

      If you are dealing with two data series and wish to plot draw object on one then make that the primary series in the chart and change the programing in your strategy appropriately. Works like a charm...

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      102 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      144 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      71 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      125 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      79 views
      0 likes
      Last Post PaulMohn  
      Working...
      X