Currently I am trying to create Renko bars built from points (double) rather than tick (integer) but there doesn't seem to be a way to do it - that I am aware of, at least. If any one knows how this can be accomplished, I would be most appreciative to hear. Thanks.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Custom BarType bars
Collapse
X
-
Custom BarType bars
Is it possible to add custom parameters to the custom bar type?
Currently I am trying to create Renko bars built from points (double) rather than tick (integer) but there doesn't seem to be a way to do it - that I am aware of, at least. If any one knows how this can be accomplished, I would be most appreciative to hear. Thanks.Tags: None
-
Hello Zeos6,
Thank you for your note. Custom properties are not currently possible with bar types. I will submit a feature request on your behalf to allow custom BarType / ChartStyle properties.
There is an undocumented workaround to re-use existing properties in these type of scripts.
Below is a link to a thread that goes into further detail.
Chelsea B.NinjaTrader Customer Service
-
It may not be officially supported but I used the following in one of my custom bars for a custom property:
[NinjaScriptProperty]
[Range(0, int.MaxValue)]
[Display(Name = "Volume divisor", Description = "Volume divisor", Order = 2, GroupName = "Parameters")]
public int VolumeDivisor { get; set; }
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by WHICKED, Today, 12:45 PM
|
2 responses
16 views
0 likes
|
Last Post
by WHICKED
Today, 03:36 PM
|
||
Started by GussJ, 03-04-2020, 03:11 PM
|
15 responses
3,272 views
0 likes
|
Last Post Today, 03:15 PM | ||
Started by Tim-c, Today, 02:10 PM
|
1 response
8 views
0 likes
|
Last Post Today, 02:52 PM | ||
Started by Taddypole, Today, 02:47 PM
|
0 responses
2 views
0 likes
|
Last Post
by Taddypole
Today, 02:47 PM
|
||
Started by chbruno, 04-24-2024, 04:10 PM
|
4 responses
51 views
0 likes
|
Last Post
by chbruno
Today, 02:38 PM
|
Comment