Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
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 burtoninlondon, Today, 12:38 AM
|
0 responses
0 views
0 likes
|
Last Post Today, 12:38 AM | ||
Started by AaronKoRn, Yesterday, 09:49 PM
|
0 responses
11 views
0 likes
|
Last Post
by AaronKoRn
Yesterday, 09:49 PM
|
||
Started by carnitron, Yesterday, 08:42 PM
|
0 responses
10 views
0 likes
|
Last Post
by carnitron
Yesterday, 08:42 PM
|
||
Started by strategist007, Yesterday, 07:51 PM
|
0 responses
12 views
0 likes
|
Last Post Yesterday, 07:51 PM | ||
Started by StockTrader88, 03-06-2021, 08:58 AM
|
44 responses
3,982 views
3 likes
|
Last Post
by jhudas88
Yesterday, 06:59 PM
|
Comment