Convert H Data TS to NT - futures io
futures io futures trading

Convert H Data TS to NT

Discussion in NinjaTrader

Updated by elopezh
    1. trending_up 589 views
    2. thumb_up 1 thanks given
    3. group 1 followers
    1. forum 0 replies
    2. attach_file 0 attachments

Welcome to futures io: the largest futures trading community on the planet, with well over 100,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

Search this Thread

Convert H Data TS to NT

(login for full post details)
  #1 (permalink)
Oviedo Asturias/Espaņa
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL
Posts: 5 since Dec 2018
Thanks: 0 given, 7 received

Good night,

I need a program/script to convert "historical data" from Tradestation to Ninja (*.txt). I've been looking in the forums etc, but I haven't got anything.
If anyone has it, or knows the way to automate the conversion I would appreciate it greatly

input TS-outPut NT:

"Date", "Time", "Open", "High", "Low", "Close", "Up", "Down"
"Date" "Time"; "Open"; "High"; "Low"; "Close", "Up+Down" (dont include this line in output *)
19981218 084400; 4755.0;4755.0;4750 .0;4750.0;250

In essence it is:
1. Date format mm/dd/yyyy --> yyyymmdd
2. Character "," " " (space) and time format hh:mm:ss --> hhmmss
3. Rest of fields separated by "," -> ";"
4. The Up and Dow fields only-> Up+Down field
5. Oh, and the first line of the input F disappears in the output file (*)


Reply With Quote
The following user says Thank You to elopezh for this post:

futures io Trading Community Platforms and Indicators NinjaTrader > Convert H Data TS to NT

November 8, 2020

Upcoming Webinars and Events

Trading and Hedging Gold Futures & Options w/Carley Garner

Elite only



Copyright © 2020 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432,
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts