Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy works using data series <USDJPY> but not using data series <Primary>

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

    Strategy works using data series <USDJPY> but not using data series <Primary>

    Hi,

    I have created a simple MACD Cross strategy which produces clear results when built with the data series <USDJPY>.

    When I copy this strategy, replacing the data series with <Primary>, it does not produce any entries.

    Unless I misundertand the meaning of the phrase 'Data Series <Primary>' This appears to be a bug, please advise?

    Thanks!​

    #2
    Hello TradingAssassin,

    I am moving your thread to the NinjaTrader Desktop -> Strategy Development section of the forums, as this is a question about programming NinjaScript Strategies in C#.

    Are you referring to the Strategy Builder?

    Use prints, added in the Strategy Builder, to understand why the condition is not evaluating as true. Print the time of the bar, all values used in the condition being investigated, include labels for each value and comparison operator.
    Enable TraceOrders to see if orders are being ignored or cancelled.

    Below is a link to a forum post that demonstrates using prints to understand behavior.


    Save the output to a text file and include this with your next post for assistance analyzing the output.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    114 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    61 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    40 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    43 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    82 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X