If you are a Amibroker user and recently testing with Ninjatrader 7 or have plans to migrate your EOD or 1min database to Ninjatrader then probably you need to aware about Ninjatrader ASCII format for EOD and 1min data and import procedure to migrate your dataset.
To be noted Ninjatrader 1minute format is in GMT time zone format. so one have to ensure converting IST or any other time zone format to GMT time zone. Amibroker AFL code presented here supports converting from IST time zone to GMT time zone. The AFL also avails the functionality to export both Daily and Minute bars in ASCII format as shown below
Amibroker AFL File to Export Amibroker Database to Ninjatrader ASCII format
Steps to Export Ninjatrader 7 ASCII format
1)Copy/Download Ninjatrader ASCII.afl and Save into Amibroker/formulas/Basic Charts or any other custom folders of your choice.
2)Goto C: Drive ->Create Folders amidata and create sub-folders named Daily and Minute inside amidata folder.
2) Open Amibroker and open the Database you want to import.
3)Goto New Analysis (Auto analysis for older version). Select the symbol or list of symbols(Filter -> Watchlist) need to be imported
4)Open the Parameter Box and Select the Daily or Minute Bars as shown in the video
5)Goto Settings -> Select the Period as 1minute / Daily timeframe which needs to be import into Ninjatrader 7 ASCII .txt format
6)Now Press Explore button. Ninjatrader 7 ASCII format gets exported to the relevant sub-folders inside amidata
8)Now Press Start Import button – > Now Select the exported Ninjatrader 7 ASCII file and press open button
9)Bingo you are done. You will get a alert Historical data imported successfully message from the data manager.
10)Now open the charts from the control center and enjoy!