Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How to Add Better Renko bars to Renko Strategy
Collapse
X
-
bdelorm : If you want renko with wicks you can look into unirenko : https://ninjatraderecosystem.com/use...nko-bartype-8/
-
Hello bdelorm,
Thank you for your reply.
Tick Replay is not compatible with all bar types. Bar types that use RemoveLastBar, such as Renko based bars, are not supported for Tick replay, so you would not be able to use the Buy Sell Pressure indicator historically on a chart using that particular bar type.
Please let us know if we may be of further assistance to you.
Comment
-
Hi everyone,
Regarding BetterRenko in a Strategy file, is there a way to add BetterRenko bar type via AddDataSeries to a strategy? I want to reference multiple BetterRenko bar types within a single strategy file and I don't see a way to do this.
Thank you,
Tim
Comment
-
Hello ozziyhtmot,
The BarsPeriodType index from the custom BarsType will need to be used with your AddDataSeries call. The BarsPeriodType index will then need to be casted as BarsPeriodType.
Tips from AddDataSeries Documentation:
https://ninjatrader.com/support/help...dataseries.htm2. You can add a custom BarsType which is installed on your system by casting the registered enum value for that BarsPeriodType. For example: AddDataSeries((BarsPeriodType)14, 10);
3. You can specify optional BarsPeriod values (such as Value2) of a custom BarsType in the BarsPeriod object initializer. For example: AddDataSeries(new BarsPeriod() { BarsPeri odType = (BarsPeriodType)14, Value = 10, Value2 = 20 });
The source code for the BetterRenko BarsType can be referenced to get the BarsPeriodType index for that custom BarsType.
Documentation on working with Multi Time Frame scrips can be found here - https://ninjatrader.com/support/help...nstruments.htmCode:BarsPeriod = new BarsPeriod { BarsPeriodType = (BarsPeriodType) 17, BarsPeriodTypeName = "BetterRenko(17)", Value = 1 };
We look forward to assisting.
Comment
-
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Today, 05:17 AM
|
0 responses
44 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
124 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
65 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
42 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
46 views
0 likes
|
Last Post
|

Comment