I'm trying to get a better understanding of using BID ASK prices within an indicator to backtest. So I understand that without TickReplay I can AddDataSeries type.Ask and then just refer to the BarsArray[1] to access the ASK price at any time. This is fine because I can import historic ASK and BID prices through the historical data import function so that's straightforward. However, I want to use TickReplay and I understand that I cannot access the secondary ask series during tick replay (https://ninjatrader.com/support/help...nstruments.htm) however live LAST data from certain providers can include the BID and ASK prices so the tick replay can work off that. I have a couple of questions on getting ASK data while using Tick Replay:
- Without tick replay I would code BarsArray.Closes[1][0] to access the ASK price. What is the method for retrieving BID and ASK data from the LAST data when using TIckReplay?
- I want to import historic data as my data provide only provides limited number of historic Tick data. As far as I can see, the LAST data containing BID and ASK data can only be taken from live data, is this correct? I want to upload years of historic LAST data that also references BID and ASK data, how can I go about this? I thought it would be as simpe as importing NAME.LAST.txt in the format YYYYMMDD HHmmss sssssss LAST;BID;ASK? However when i try to import LAST data manually it only imports the first price in the data i.e the LAST price and ignores the BID and ASK prices. How can I ensure that historical LAST data includes BID and ASK prices via manual import?
Comment