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)
I think you need to restart NinjaTrader because you are installing a new bartype. After you restart ninja, create a new chart and where the type of chart is listed tick, range, minute, daily, etc.. you should now find the type Unirenko.
Be yourself; everyone else is already taken. Oscar Wilde
I have a question about how UniRenko bars are calculated if a tick arrives which is essentially outside of the current bars boundaries creating a new bar and essentially, out of the next.
For example, on CL, using T2R6O2 (Trend = 2, Reversal = 6, Offset = 2) and tickSize = 0.01 with the previous bar close of 95.50 going bullish, a new bar should be created if tick price goes more than 95.52 or beyond or less than 95.44.
What would happen if the new tick came in at 95.60? Would a phantom bar be created to fill in the gap because essentially, each brick using the above configuration would be 4 ticks.
I hope I've explained my question clearly and I hope someone knows the answer to this.
In that case, a series of "phantom" bricks would be constructed to fill the price gap, each with it's phantom or theoretical open 2 ticks inside the prior brick.
Thank you "trendwaves", I just couldn't see the logic in the Ninja Script for this when I opened up the UniRenkoBarsType.cs file. Maybe my Ninja Scripting is just a little rusty ;-)
Tasker, so at a session break, on resume of a session, for the first bar, how is the previous Close calculated? As far as I understand, UniRenko uses previous Close as the point of all calculations.
I am looking to get the bar type modified if possible. I am looking to be able to set where the first candle of the session closes. For example, I want the candles on the ES to always close on the even dollar amounts in each daily session. Is there a way to add code to force the close. Or can I add code to create a phantom bar based on the opening price of the session to accomplish this feat. Thanks in advance.