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 pibrew, Today, 06:37 AM
    0 responses
    1 view
    0 likes
    Last Post pibrew
    by pibrew
     
    Started by rbeckmann05, Yesterday, 06:48 PM
    1 response
    12 views
    0 likes
    Last Post bltdavid  
    Started by llanqui, Today, 03:53 AM
    0 responses
    6 views
    0 likes
    Last Post llanqui
    by llanqui
     
    Started by burtoninlondon, Today, 12:38 AM
    0 responses
    11 views
    0 likes
    Last Post burtoninlondon  
    Started by AaronKoRn, Yesterday, 09:49 PM
    0 responses
    15 views
    0 likes
    Last Post AaronKoRn  
    Working...
    X