Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Method used to display bid/ask data within ChartTrader window?

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

    Method used to display bid/ask data within ChartTrader window?

    I noticed that the bid ask data is updated in the Chart Trader window during the extended market periods. I wish to update the bid ask lines within a chart during the extended session, however, I do not wish to reset the Dataseries time frame. What Method should I used to capture this data in real-time?

    #2
    Hello boreland,

    From a NinjaScript file you would need to have the trading hours configured to include the extended session and then you could use the normal overrides like OnMarketData or OnBarUpdate. If you don't have the market hours including the extended it will just stop at the end of the session as expected. The chart trader is an internal tool which likely makes use of different features of NinjaScript. That may be utilizing a market data subscription from a BarsRequest which is how an addon gets its data.

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by nightstalker, Today, 01:32 PM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Zachary  
    Started by kevinenergy, Yesterday, 12:01 PM
    7 responses
    23 views
    0 likes
    Last Post nightstalker  
    Started by DawnTreader, 05-08-2024, 05:58 PM
    15 responses
    49 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by ZeroKuhl, Yesterday, 04:31 PM
    7 responses
    40 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by xepher101, Today, 12:19 PM
    1 response
    24 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X