Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
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 for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
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
The following user says Thank You to Patkum101 for this post: