Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Green candles - multiple data series

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

    Green candles - multiple data series

    Hello - I am trying to create a strategy that uses 2 data series.

    The strategy identifies if a candle closes green using 5 tick unirenko candles (the first data series, the one I have a the default input for the chart's plots) AND also identifies if the candle is also green using a second data series not on the chart which is a 10 tick range bar chart.


    Default data series: current unirenko candle close > close of candle 1 (so current candle is green on small unirenko bars)
    Additional data series added in strategy builder is 10 range bar: 10range(1) close >= 10range(1) open (so previous 10 range bar closed green)

    Individually I can get the formulas to work fine but when I combine them into 1 strategy the markers are not being drawn correctly. Am I missing something?

    Thanks.

    #2
    Hello bsbisme,

    To understand why the markers are not being drawn (on the primary series) add debugging prints to understand why the condition did or did not evaluate as true.

    Below is a link to a support article on using prints to understand behavior. Please watch the 'Debugging with the Strategy Builder' video for an understanding of how to add prints from the Strategy Builder and where to view the output.


    I've also made a short video of testing this on my end.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Much appreciated....thanks.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by NullPointStrategies, Today, 05:17 AM
      0 responses
      22 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