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 algospoke, 04-17-2024, 06:40 PM
|
5 responses
46 views
0 likes
|
Last Post Today, 02:36 PM | ||
Started by arvidvanstaey, Today, 02:19 PM
|
1 response
4 views
0 likes
|
Last Post Today, 02:33 PM | ||
Started by mmckinnm, Today, 01:34 PM
|
3 responses
5 views
0 likes
|
Last Post Today, 02:12 PM | ||
Started by f.saeidi, Today, 01:32 PM
|
2 responses
8 views
0 likes
|
Last Post
by f.saeidi
Today, 02:10 PM
|
||
Started by alifarahani, 04-19-2024, 09:40 AM
|
9 responses
55 views
0 likes
|
Last Post Today, 02:02 PM |
Comment