Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ninjatrader crash on Brent Oil data

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

  • NinjaTrader_Matthew
    replied
    Please send me your log and trace files for today so that I may look into what occurred.


    You can do this by going to the Control Center-> Help-> Mail to Support.


    Please reference the following thread url in the body of the email:


    Leave a comment:


  • vcvcvvc
    replied
    am using CQG for connection, and the map is QO

    Leave a comment:


  • vcvcvvc
    replied
    HI ,i can`t reproduce this crash now , it do crash for 3 times , and now just showing no plot value , i checked that in the brent oil chart will not update realtimely ,no level 2 or quotes for "BRN 05-12" ,my data feed is CGQ , the history chart is ok ,but it will not update ,other instruments is ok
    can you reproduce this?
    Last edited by vcvcvvc; 03-27-2012, 08:51 AM.

    Leave a comment:


  • NinjaTrader_Matthew
    replied
    Hello,

    I was able to load this code on 30 days worth of 1 second data and did not have any issues.

    Can you please show me the instrument settings you are using for BNT in the Instrument Manager?

    I would need the following information from the Definition tab:

    Tick size
    Exchange


    From the "Misc" tab, scroll down to the Symbol Map section and tell me 1) Who your data provider is 2) the Symbol Map being used for your provider.

    Thanks.

    Leave a comment:


  • vcvcvvc
    replied
    1 sec chart

    code like this
    protected override void Initialize()
    {
    if(Instrument.MasterInstrument.Name=="CL"){
    Add("BNT 05-12", BarsPeriod.Id, BarsPeriod.Value);
    }
    }


    protected override void OnBarUpdate()
    {
    if(BarsInProgress==0) {
    Value[0]=Close[0]-Closes[1][0];
    }
    }
    Last edited by vcvcvvc; 03-27-2012, 08:22 AM.

    Leave a comment:


  • NinjaTrader_Matthew
    replied
    Hello,

    Thank you for reporting.

    I was not able to immediately reproduce using those steps.

    Can you please export and upload the exact script you are using?

    Click here for information on Exporting and Indicator

    Also, who are you using as your data provider? What type of CL chart should we be testing on? Tick, minute, etc?

    Leave a comment:


  • vcvcvvc
    started a topic ninjatrader crash on Brent Oil data

    ninjatrader crash on Brent Oil data

    HI ,i have never encounter a ninjatrader crash before i use a Brent Oil data , i show you guys how to reproduce it
    1 connect to a CGQ feed,
    2 make a indicator named TestIndicator ,
    add this Add("BNT 05-12", BarsPeriod.Id, BarsPeriod.Value); in Initialize()

    add Value[0]=Close[0]-Closes[1][0] in OnBarUpdate()

    3 open a CL chart ,add this indicator ,your ninjatrader will crash

Latest Posts

Collapse

Topics Statistics Last Post
Started by WHICKED, Today, 12:45 PM
2 responses
16 views
0 likes
Last Post WHICKED
by WHICKED
 
Started by GussJ, 03-04-2020, 03:11 PM
15 responses
3,271 views
0 likes
Last Post xiinteractive  
Started by Tim-c, Today, 02:10 PM
1 response
8 views
0 likes
Last Post NinjaTrader_ChelseaB  
Started by Taddypole, Today, 02:47 PM
0 responses
2 views
0 likes
Last Post Taddypole  
Started by chbruno, 04-24-2024, 04:10 PM
4 responses
51 views
0 likes
Last Post chbruno
by chbruno
 
Working...
X