Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to plot bid/ask together

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

  • NinjaTrader_Jason
    replied
    If you right click the chart and select Properties, you can set 'Equidistant bar spacing' to False and you should see gaps for when you did not receive data.

    Leave a comment:


  • redartajnin
    replied
    yes you are right, it is because I stopped the program to investigate the problems : ) the candle chart does not leave a gap in time for some reason.

    Originally posted by eDanny View Post
    There is something wrong with the chart you posted in #7. A 1 min. bar chart should have 60 bars between 9:00 and 10:00. This could be why your chart looks wrong.

    Dan

    Leave a comment:


  • eDanny
    replied
    There is something wrong with the chart you posted in #7. A 1 min. bar chart should have 60 bars between 9:00 and 10:00. This could be why your chart looks wrong.

    Dan

    Leave a comment:


  • redartajnin
    replied
    can you or someone explain the difference between Last() and LastPlayback()?

    Leave a comment:


  • NinjaTrader_Jason
    replied
    Unfortunately I am not sure - I am not a programmer myself. NinjaTrader acts like a radio receiver and displays the data it receives. So if the data is not what you expect, it is likely not sent correctly to NinjaTrader.

    Do you receive proper data if you make use of 'int Last' instead of 'int LastPlayback'?

    Leave a comment:


  • redartajnin
    replied
    I have tried the last but somehow it shows more green candles and it doesn't seem to look right. see the attached chart.

    my data source distinguishes bid and ask, so what i did on the DLL side is I send all ticks (bid and ask) via LastPlayback, is this the correct way of doing it?
    Attached Files

    Leave a comment:


  • NinjaTrader_Jason
    replied
    Thank you for clarifying.

    Unfortunately this is not supported. I think what you are looking for is a chart build from Last data. Last data consists of both bid and ask data - it will plot price bars based on the last traded price which could have been the bid or ask price.

    Leave a comment:


  • redartajnin
    replied
    here is a screenshot of a bid data series and an ask data series on one panel, they overlap.

    how do I plot a candle chart using both the bid and ask tick streams?
    Attached Files

    Leave a comment:


  • NinjaTrader_Jason
    replied
    Unfortunately I am not sure if I understand - could you please clarify how you like to see bid and ask data combined.

    Leave a comment:


  • redartajnin
    replied
    but how can I show the candles in a "combined" fashion? If I add a second data series on a candle chart, it shows 2 candles on top of each other and it look ugly.

    I guess the question becomes if there is a way to "merge" the bid and ask streams into one and plot it as 1 candle stick chart?

    Leave a comment:


  • NinjaTrader_Jason
    replied
    Hello redartajnin,

    You can add two data series in one chart - one data series plots the bid price and the other data series plots the ask price. Please see the link below under 'How to add a Data Series' for information how to add data series in a chart.


    'Last' refers to the last traded price.

    Leave a comment:


  • redartajnin
    started a topic How to plot bid/ask together

    How to plot bid/ask together

    Hi,

    I am wondering how to plot bid/ask ticks on real time chart? I am driving the NT chart from DLL/external tick data source, for example, ES 12-11. On Data Series window, under Period, the "Price based on" parameter, you can choose either Bid or Ask or Last.

    Is it possible to plot Bid and Ask on the same chart? choosing one side of the market distorts the chart.

    what does "Last" do for the same parameter? It looks like most candles are green where bid or ask actually shows some up and down (green and red candles)


    thanks for the help

Latest Posts

Collapse

Topics Statistics Last Post
Started by judysamnt7, 03-13-2023, 09:11 AM
4 responses
57 views
0 likes
Last Post DynamicTest  
Started by ScottWalsh, Today, 06:52 PM
4 responses
36 views
0 likes
Last Post ScottWalsh  
Started by olisav57, Today, 07:39 PM
0 responses
7 views
0 likes
Last Post olisav57  
Started by trilliantrader, Today, 03:01 PM
2 responses
21 views
0 likes
Last Post helpwanted  
Started by cre8able, Today, 07:24 PM
0 responses
9 views
0 likes
Last Post cre8able  
Working...
X