StreamWriter (and/or ReadWrite File) - Hire a Consultant or Programmer | futures io social day trading
futures io futures trading


StreamWriter (and/or ReadWrite File)
Updated: Views / Replies:332 / 0
Created: by Patkum101 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 90,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

Reply
 
Thread Tools Search this Thread
 

StreamWriter (and/or ReadWrite File)

  #1 (permalink)
Elite Member
Plano TX
 
Futures Experience: Beginner
Platform: NinjaTrader
Favorite Futures: Futures
 
Posts: 6 since Jan 2013
Thanks: 4 given, 3 received

StreamWriter (and/or ReadWrite File)

Hello

For a fixed fee, I seek help to modify the NinjaTrader 7 general StreamWriter file/script (as attached) that would allow me to write and save bar-by-bar data of the desired time series(indicators). The format of the file/script should have clear segments that shows and allows me to Edit the file/script to:

i) Define/add/remove ANY private labels of any chosen indicator to be used in a 'string' format
eg:
double emaiT = EMA(14)[0]; (Calculate on Bar Close = TRUE)
double emaiiT = EMA(??)[0]; (Calculate on Bar Close = TRUE)
double stochdiT= Stochastics(7, 14, 30).D[0]; (Calculate on Bar Close = TRUE)
string onbarclosetrue = emaiT + "," + emaiiT + "," + stochdiT;

string barprice = Open[0] + "," + High[0] + "," + Low[0] + "," + Close[0]; (Calculate on Bar Close = TRUE)
etc, etc

ii) (define private labels for indicators) where the Data can be/is set to either:
a) Calculate on Bar Close = True, and
b) Calculate on Bar Close = False >> BUT in this case, to ONLY write to the file when the bar closes (eg possibly using if (FirstTickOfBar) to determine that a bar has closed (ie NOT for every tick by tick))
double emaiF = EMA(14)[0]; (Calculate on Bar Close = FALSE)
double emaiiF = EMA(??)[0]; (Calculate on Bar Close = FALSE)
double stochdiF= Stochastics(7, 14, 30).D[0]; (Calculate on Bar Close = FALSE)
string onbarclosefalse = emaiF + "," + emaiiF + "," + stochdiF; (Calculate on Bar Close = FALSE)

[>> IN SUMMARY - the script must allow for writing and saving data for where the indicator is set for BOTH Bar Close = True &/OR False]

iii) write & save the bar-by-bar data in the order preferred.
eg
sw.WriteLine(thetime + "," + barprice + " " + onbarclosetrue + " " + onbarclosefalse);

Once the data is saved (in CSV format), i intend to either email the file or export it to excel.

Please advise of your cost for this.

Thanks




Paid Services Forum: Hire a Consultant or Programmer

In this subforum only the thread starter may post replies to this thread. To contact or reply to user "Patkum101", please send a Private Message.

Important threads to read regarding this Paid Services subforum:

- Do you really need to pay for it?
- Protect yourself
- Do research before hiring
- How to pay for services
- Rating a transaction after it is completed
- Disclaimer: Services here are not endorsed by futures.io






Attached Files
Register to download File Type: cs SampleStreamWriter.cs (7.3 KB, 6 views)
Reply With Quote
The following user says Thank You to Patkum101 for this post:

Reply



futures io > > > StreamWriter (and/or ReadWrite File)

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with file access jeffman NinjaTrader 1 February 6th, 2016 02:33 AM
xml file ness1g NinjaTrader 4 November 21st, 2011 02:25 PM
CS file greatsky NinjaTrader 6 December 23rd, 2010 11:27 AM
StreamWriter and System IO Aggro... MXASJ NinjaTrader Programming 5 December 2nd, 2010 06:56 AM


All times are GMT -4. The time now is 06:00 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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 2017-12-15 in 0.06 seconds with 20 queries on phoenix via your IP 54.145.16.43