Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

custom series work

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

    custom series work

    Please tell me how i'm doing this custom series wrong?

    Code:
    RedBar is a double
    If Open[0] > Close[0]  then its a RedBar[0]
    If RedBar[0] < EMA(20)[0]  then go short
    Why does this not work?
    Thanks

    #2
    i just realized i'm comparing apples to oranges.
    One is a price(open and close) and one is a condition(Redbar)

    Comment


      #3
      Hi ezrollin, it looks like you resolved already. You can also use Print() to print out the data you are using and explain the strategy output behavior:

      https://ninjatrader.com/support/foru...ing#post791121

      It looks like maybe RedBar[0] was not assigned a value.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      87 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      132 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      68 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      118 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      67 views
      0 likes
      Last Post PaulMohn  
      Working...
      X