PDA

View Full Version : Historical Data in MA


ryker
01-30-2008, 11:52 AM
Hi,
I have a few fx pairs where I'd like to get data without having to have a chart open, so I've added them in one MA with an indicator (lookback set at 60) configured on a 1min timeframe.
I start my computer every morning at 7gmt and stop it at 22gmt.
I'd like to know if when I start NT it will automatically download the data from 22 on the previous day to 7 on the current day (1 min timeframe)?

I use Esignal as a datafeed with fx subscription.

Thanks,
Ryker

NinjaTrader_Dierk
01-30-2008, 11:55 AM
Historical data loaded on the MA is triggered by the "# of bars to lookback" property, meaning you could not provide a start date but would need to set an appropriate "# of bars to lookback" value to cover the period you would want to download.

ryker
01-30-2008, 12:52 PM
Thank you for your quick answer. Another question on the charts:
When I open a 5mins chart, NT downloads 5mins bars or 1min?
I'd like to build a 1min bar historical database of the symbol I trade. So if the chart doesn't download 1min bars, my only solution will be to have an MA with the appropriate # of bars loopback?

Thanks

NinjaTrader_Dierk
01-30-2008, 12:57 PM
NT internally download 1 minute data and builds your 5 minute bars from it.

ryker
01-30-2008, 01:05 PM
So if I understood correctly, if all my symbols are open in 5mins charts with an appropriate bars back, I won't need to have an MA open with a big # of bars.
Great :-).
Thanks again.

NinjaTrader_Dierk
01-30-2008, 01:06 PM
Your understanding is correct. You just need to make sure your # of 5 mins bars covers the period you want to download/have in your DB.

skynetman
03-19-2008, 06:20 PM
Can you explain in detail how to save price data without using chaarts?
What indicator should i use and which options to choose?
thx

NinjaTrader_Josh
03-19-2008, 11:13 PM
To save price data you can either have a chart of the instrument open, a Market Analyzer with a large number of bars back open containing the instrument you want to record, or just use the Historical Data reload tool to download data manually.

For the MA, you can put any indicator you feel like on it.

skynetman
03-20-2008, 07:03 AM
I added an EMA 1 minute, on bar close and 43200 period.
This means it stores 1 minute data of the last 30 days, right?
Thx ;)

NinjaTrader_Ray
03-20-2008, 08:00 AM
No.

I assume you mean market analyzer. Just put up an MA on 1 minute with default period. Then in the Market Analyzer properties, set the # bars back to the desired level.

skynetman
03-20-2008, 09:14 AM
"# bars back" is 5 minutes per bar or 1 minute per bar?
Thx

NinjaTrader_Eamon
03-20-2008, 10:10 AM
"# bars back" is 5 minutes per bar or 1 minute per bar?
Thx

I'm not quite sure I understand your question. If you have a 1min bar loaded into the indicator and your look back within the properties is set to 5. NinjaTrader is looking back at five one minute bars.

If you are loading an exponential moving average with a period of 43200. You will be taking 43200 bars into the calculation of the EMA.

mystiq
07-16-2010, 12:40 AM
I'm not quite sure I understand your question. If you have a 1min bar loaded into the indicator and your look back within the properties is set to 5. NinjaTrader is looking back at five one minute bars.

If you are loading an exponential moving average with a period of 43200. You will be taking 43200 bars into the calculation of the EMA.


..so if i have a 30min bar loaded into the indicator and your look back within the properties is set to 20, NinjaTrader is looking back at 20 thirty(30) minute bars?:confused:

also..can i load daily data into MA and then use/convert that data for intraday ?
ex; use 30min data from daily data

NinjaTrader_Bertrand
07-16-2010, 06:06 AM
Yes, this would use a bars lookback setting according to the series you specify, either 20 30 min bars or 20 daily bars.