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 NullPointStrategies, Today, 05:17 AM
      0 responses
      23 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      120 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      63 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      41 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      45 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X