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