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 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