Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

BarsArray

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

    BarsArray

    Hello,

    I thought I understood hte OnBarUpdate but I have to do a question referring to please:

    I have COBC=true and my primary dataseries is eg 5 Range. in the script within other conditions that work fine I have added as 3rd dataseries in override void 3 Range and I have condition closes[3] [0] > closes[3] [1] because I want to have the entry at close of bar of dataseries3.

    But in seems - in demo-live-trading, not in backtest - that the entry is done only at close of primary dataseries. What is wrong here? How can I have the entry at close of dataseries[3] which is 3 Range.

    Thanks
    Tony
    Last edited by tonynt; 11-08-2012, 09:39 AM. Reason: typing error

    #2
    Hello Tony,
    To assist you further can you please send a toy NinjaScript code* replicating the behavior to support[AT]ninjatrader[DOT]com

    Please append Attn:Joydeep in the subject line of the email and give a reference of this thread in the body of the email.

    I look forward to assisting you further.

    *The "toy" just means something that is a stripped down version that isn't necessarily the whole logic. It makes things easier to rout out.
    JoydeepNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    65 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    41 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    23 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    26 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    52 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X