Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Add NinzaRenko and 5minute chart to the Strategy
Collapse
X
-
Add NinzaRenko and 5minute chart to the Strategy
My strategy is based on NinzaRenko bars and 5minute chart. How can I add NinzaRenko chart to 5minute chart in a strategy?Some of indicators are based on NinzaRenko and Some of them are based on regular 5 minutes chart. There is Addrenko function but I could not find anything about NinzaRenko. Is there a way to implicity add custom chart to a known chart like 5minutes? -
Hello bahmaniq,
You would need to use the AddDataSeries for custom bars types.
From the help guide page for AddDataSeries:
Tips:
2. 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() { BarsPeriodType = (BarsPeriodType)14, Value = 10, Value2 = 20 });
JesseNinjaTrader Customer Service
-
Also, recommend you go to the third-party website where you
got the Ninza Renko bars and read it carefully.
It tells you integer value for BarsPeriodType in the Overview section,
"To other vendors/developers: ninZaRenko’s ID is 12345. Each custom
bar type on the market should have a different ID, so that ID interference
can be avoided."Last edited by bltdavid; 12-12-2022, 05:43 PM.
Comment
-
I was curious and looked up ninzarenko bars, it doesn't look any different than UniRenko bars. And it doesn't require ID#'s to mess with.
There free on the site these are the settings that I use because there uniformed.
2-4-9,
2-6-14,
2-12-26.
They look exactly the same as ninzarenko bars.
Two cents you can gladly pay me on Wednesday. (Reference, that guy that was always eating hamburgers on Popeye)
Comment
-
Originally posted by trdninstyle View PostAnd it doesn't require ID#'s to mess with.
Every custom BarsType has a unique ID# associated with it.
NinzaRenko and UniRenko are both custom BarTypes, ergo, by definition,
they will have a ID# that you must specify when used with AddDataSeries.
Comment
-
That ID thought it was referring to something else like from a purchase because when I looked it up it was for $0 so u needed a purchase ID making it more complicated than necessary.
But I see what u are saying now.
Are you the one who created the BltTriggerLine? I use that a lot, thanks for making it.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by aworldnervelink, Today, 09:38 AM
|
5 responses
11 views
0 likes
|
Last Post
by eDanny
Today, 11:19 AM
|
||
Started by timwey, Today, 10:55 AM
|
1 response
5 views
0 likes
|
Last Post Today, 11:07 AM | ||
Started by Helmstead, Today, 10:15 AM
|
1 response
5 views
0 likes
|
Last Post Today, 10:54 AM | ||
Started by samish18, 08-30-2024, 03:10 PM
|
42 responses
310 views
0 likes
|
Last Post
by samish18
Today, 10:50 AM
|
||
Started by yaniv, Today, 10:09 AM
|
1 response
13 views
0 likes
|
Last Post Today, 10:38 AM |
Comment