problem with reading data from txt file - NinjaTrader Programming | futures io social day trading
futures io futures trading

problem with reading data from txt file
Updated: Views / Replies:2,198 / 2
Created: by Altas Attachments:1

Welcome to futures io.

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

futures io is the largest futures trading community on the planet, with over 100,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

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

Thread Tools

problem with reading data from txt file

Trading Apprentice
Futures Experience: Beginner
Platform: Ninja Trader
Favorite Futures: TF
Posts: 1 since Mar 2011
Thanks: 1 given, 0 received

problem with reading data from txt file

Hi guys, I have a problem with reading text data from simple txt file.. I've found some examples on the NT forum, but It doesn't work
What I need...On the first bar of session, I need to check the txt file, find line with today's date and read number next to it.

This is how it's look like:
20110502 1,2
20110503 3,5
20110504 5
20110505 1
20110506 12,15
20110509 2
20110510 4,17

This is error log in the output window I got:
**NT** Error on calling 'OnBarUpdate' method for strategy 'readFile/d840533de11e43c99da7f464470ef589': wrong format of input string

there is a attachment with my script...
any Idea what is wrong?



Attached Files
Register to download File Type: txt readfile.txt (2.1 KB, 42 views)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

Market Wizard
Futures Experience: Intermediate
Platform: NinjaTrader wt Rancho Dinero's profiling tools
Broker/Data: Stage 5 trading/AMP/CQG
Favorite Futures: ES, NQ, YM
trendisyourfriend's Avatar
Posts: 3,726 since Oct 2009
Thanks: 3,086 given, 4,578 received

Check this indicator, you might find a few clues to resolve your puzzle:

The following 2 users say Thank You to trendisyourfriend for this post:


futures io > > > > > problem with reading data from txt file
Thread Tools

Upcoming Webinars and Events (4:30PM ET unless noted)

July Journal Challenge - $500 in Amazon Gift Cards!


AXESS Trader: Powerful Cloud Based Trading Platform w/GFF Brokers

Jul 17

TBA: FuturesTrader71 w/Morad Askar

Elite only

Similar Threads
Thread Thread Starter Forum Replies Last Post
Some questions about tape-reading CME data ptd26 Traders Hideout 24 November 14th, 2014 11:05 AM
Importing data as .txt file in Multicharts arjfca The Elite Circle 2 January 31st, 2011 06:15 PM
how do i make a txt file with ninja replay files? ceramictilepro Reviews of Brokers and Data Feeds 2 May 13th, 2010 04:12 AM
anyone have data txt file for ninja 1-1-10 to tdy ceramictilepro Reviews of Brokers and Data Feeds 8 May 12th, 2010 12:43 PM
Writing & reading data into/out of NT Saroj NinjaTrader Programming 1 September 12th, 2009 03:55 PM

All times are GMT -4. The time now is 04:20 PM. (this page content is cached, log in for real-time version)

Copyright © 2018 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
Page generated 2018-07-19 in 0.08 seconds with 15 queries on phoenix