You can set "defaults" in your Data Series window. Select Unirenko and set it for, say, T3R12O6 and then right click in each of those fields (TickTrend) and set T3 as a default, do the same with R12 and O6 and the next time you create a chart & select Unirenko, the defaults will be applied.
You can save a chart as a template and then that way, apply the template to any newly created chart, thus using the Unirenko settings from the saved chart template.
As far as I know, there is no way to put them on a drop down menu. The combinations would be almost infinite.
After all, it's what you learn AFTER you know it all, that counts!
The following 2 users say Thank You to TheWizard for this post:
I am trying to create an strategy that works with UniRenko bar type, but i think it have an important drawing bug.
The bars aren't drawing accord the close price... then my strategy backtest it's so diferent when i test it in real time, because the bars not update in real time as the close price.
1. Close Ninjatrader 7.
2. Go to C:\Users\[user]\Documents\NinjaTrader 7\bin\Custom\Type.
3. Open file UniRenkoBarsType.cs in Notepad.
4. Search for "### First Bar".
5. Change the following lines
//### First Bar
//if ((bars.Count == 0) || bars.IsNewSession(time, isRealtime))
//### First Bar
//if ((bars.Count == 0) || bars.IsNewSession(time, isRealtime))//
if (bars.Count == 0) //
6. Click File > Save.
7. Close File.
8. Go to C:\Users\[user]\Documents\NinjaTrader 7\db\cache.
9. Remove the files from this folder. (I just saved the files to my desktop as a back up, just in case).
10.Open Ninjatrader 7.
11.Go to Tools > Edit Ninjascript > Indicator.
12.Open any Indicator in the list.
13.Compile Indicator (If no errors are shown after compile you are good to go).
14.Connect to a datafeed and reload the UniRenko chart. The bars should load without resetting at the start of the session template.
Here is what the chart looks like after the update:
Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).
The following 6 users say Thank You to Swishy27 for this post:
Unable to get Unirenko charts to render consistently during market replay.
Update 2 (because another edit to my prior post doesn't seem to be available): I re-downloaded all of the replay market data, and sometimes it works, but sometimes it doesn't. Still trying to figure out why.
any advice on this would be appreciated. I'm a bit new to NT, and to how the Market Replay operates.
Thanks again in advance for any insight you might have.
Last edited by angela d; January 16th, 2016 at 05:46 PM.