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)
Hello. Exporting data is nice, but I use exotic Unirenko bars and re-calculating everything from tick data is 1) nuisance 2) it is allready being done by NinjaTrader.
What I want is to export everything I have on chart. I mean, numbers allready are in data box. Sure there can be method of exporting them!
Now I have indicator and when I run it, it just exports open, high, low and clsoe of all bars on my chart. Perfect! But I need indicator data as well.
My question is, how to do that? How to export delta, VWAP, volume... It should be easy, they are just numerical values, I dont need to export whole volume profile
"Life is willingness to die."
Can you help answer these questions from other members on NexusFi?
If you want historical data for all chart things then you need to add those indicators as data series into your own indicator. Plenty of examples for this in the Ninja help files, it just takes a little time to get familiar with. Then you can output the ascii values as you would for the OHLC example.
If you just want live data on the current (last) bar then it can be accessed via the ChartControl structure but this is more involved and unsupported.
Yes ratfink, I bet I need exactly that. So I need to add VWAP and Delta indicators as data series into that exporting one, then find out what values have what names and add it into line when things gets exported?
Like
sw.WriteLine(Time[0] + " "
I add:
sw.WriteLine(Time[0] + " " VWAPline[0] + " "
where VWAPline will be the name of variable from vwap indicator? Or it doesnt work like that, I add whole indicator as data series and then I insert whole indicator into sw.WriteLine and whatever it produces will be written? Damn, I really need to learn these things.
It's like all technology, once you've seen how somebody else has done it and done a couple yourself you wonder what all the fuss was about.
So, as a really simple example you could write
sw.WriteLine(RSI(20)[0].ToString("0.00")); // outputs the value of the 20 period SMA on the current bars to 2 decimal places
Ditto for anything available to you. There are many ways to achieve the same effect.
You might not need to do any of this once you know Ninja better, just take it steady, it will grow on you if you do things slowly and with clear purpose (not easy when it all seems like a massive hairy monster...)
[Also beware a couple of gotchas, Ninja uses really stupid end of bar timestamps for time series bars (not on other types.) So if you do want to talk seriously to the real world you need to correct for this. Doesn't matter if you don't need it though. In NT7, it will also miss out time bars if no market events occurred during that time, this is also really stupid, not sure if NT8 is the same.]
Thanks for kind words. Its just a year ago I was just watching Czech shares, made a few %, wrote few clever sytaxes and felt like pro. But it is very easy to be a smartest guy in a public bus, smartest guy in a company, or classroom, or whatever. But when it comes to trading... and this forum, I feel like retard! There is so much I dont know yet and I have to confront so many experienced and talented people that I actually gave up on not looking like idiot.
Trust me. I don't make many small mistakes. I save them all up and make absolutely huge life changing ones. You know nothing about being a professional retard.
Hi!
I have reviewed the proposed code for the EMA and it works perfectly. Thanks!
I'm trying to do the same but for the swing indicator to save the swingHigh and swingLow values but it returns 0. The swing repaints, maybe that's the problem. Could you help me?
Thank you!