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 CarlTrading, 03-31-2026, 09:41 PM
      1 response
      43 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      21 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      30 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      50 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      40 views
      0 likes
      Last Post CarlTrading  
      Working...
      X