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 judysamnt7, 03-13-2023, 09:11 AM
|
4 responses
59 views
0 likes
|
Last Post
by DynamicTest
Today, 08:25 PM
|
||
Started by ScottWalsh, Today, 06:52 PM
|
4 responses
36 views
0 likes
|
Last Post
by ScottWalsh
Today, 07:40 PM
|
||
Started by olisav57, Today, 07:39 PM
|
0 responses
7 views
0 likes
|
Last Post
by olisav57
Today, 07:39 PM
|
||
Started by trilliantrader, Today, 03:01 PM
|
2 responses
21 views
0 likes
|
Last Post
by helpwanted
Today, 07:25 PM
|
||
Started by cre8able, Today, 07:24 PM
|
0 responses
10 views
0 likes
|
Last Post
by cre8able
Today, 07:24 PM
|
Comment