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 AttiM, 02-14-2024, 05:20 PM
      12 responses
      213 views
      0 likes
      Last Post DrakeiJosh  
      Started by cre8able, 02-11-2023, 05:43 PM
      3 responses
      237 views
      0 likes
      Last Post rhubear
      by rhubear
       
      Started by frslvr, 04-11-2024, 07:26 AM
      8 responses
      116 views
      1 like
      Last Post NinjaTrader_BrandonH  
      Started by stafe, 04-15-2024, 08:34 PM
      10 responses
      47 views
      0 likes
      Last Post stafe
      by stafe
       
      Started by rocketman7, Today, 09:41 AM
      3 responses
      11 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Working...
      X