![]() |
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Certified NinjaScript Consultant
|
There is an open source for Renko Bars for NinjaTrader.
|
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 19,700
Thanks: 127
Thanked 532 times in 522 posts
|
Thank you very much roonius, great job!
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: May 2008
Location: Hartford, CT. USA
Posts: 595
Thanks: 10
Thanked 19 times in 14 posts
|
roonius,
Thanks for posting this file. I downloaded the free Renko Bars inside a dll off the 3rd party website over the weekend. It was OK, but I like to see the code. I also have an ongoing project to build a couple of customized bar charts. I like to study existing files to build new ones. This will be a big help. Thanks again, RJay |
|
|
|
|
|
#4 |
|
Member
Join Date: Apr 2008
Posts: 99
Thanks: 0
Thanked 0 times in 0 posts
|
Thanks for posting this
|
|
|
|
|
|
#5 |
|
Certified NinjaScript Consultant
Join Date: Sep 2006
Location: New York, USA
Posts: 773
Thanks: 1
Thanked 5 times in 4 posts
|
Hey roonius,
Thanks for this code. I have a question about a possible addition. Is it possible to display via a dot the most the price in the opposite direction before making the bar. For instance, if we are currently green, and a new bar forms green, post on the chart below the new green bar the lowest the price went prior to eventually creating a green bar. If not, is it possible to write an indicator to work with OHLC bars but apply them to a renko chart? Thanks for your help. Anthony
"You look closely enough, you can find everything has a ... weak spot where it can break, sooner or later"
PureLogikTrading
Last edited by mrlogik; 04-16-2009 at 05:58 AM.
|
|
|
|
|
|
#6 | |
|
Certified NinjaScript Consultant
|
Quote:
I just had an eye surgery and can't spend much time in front of monitor... so can't make any modifications in the next few weeks. But to answer your question - it's "no", unless you rewrite renko "type" code using different logics and create additional chart style. renko should display highs and lows as a shadow and chartstyle should be something like "wickless" candles... It's just my quick thought. If you can come up with different ideas, feel free to share ![]() roonius |
|
|
|
|
|
|
#7 |
|
Certified NinjaScript Consultant
Join Date: Sep 2006
Location: New York, USA
Posts: 773
Thanks: 1
Thanked 5 times in 4 posts
|
Did you make this in visual studios; I don't see a way to edit the code for chart types within NT.
Thanks for your help.
"You look closely enough, you can find everything has a ... weak spot where it can break, sooner or later"
PureLogikTrading
Last edited by mrlogik; 04-15-2009 at 02:31 PM.
|
|
|
|
|
|
#8 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 19,700
Thanks: 127
Thanked 532 times in 522 posts
|
Hi mrlogik, editing and creating chart types in NinjaScript is unfortunately not supported by us.
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#9 | |
|
Senior Member
Join Date: May 2008
Location: Hartford, CT. USA
Posts: 595
Thanks: 10
Thanked 19 times in 14 posts
|
Quote:
On the top bar of your Renko bar chart, open the last icon on the right. Click on the chart styles line and try using a different style to find what may work for you. I was using this last weekend with the dll Renko bars. RJay |
|
|
|
|
|
|
#10 |
|
Certified NinjaScript Consultant
Join Date: Sep 2006
Location: New York, USA
Posts: 773
Thanks: 1
Thanked 5 times in 4 posts
|
hey RJay,
thanks for the suggestion.
"You look closely enough, you can find everything has a ... weak spot where it can break, sooner or later"
PureLogikTrading
Last edited by mrlogik; 04-15-2009 at 02:32 PM.
|
|
|
|
|
|
#11 |
|
Senior Member
Join Date: May 2008
Location: Hartford, CT. USA
Posts: 595
Thanks: 10
Thanked 19 times in 14 posts
|
Anthony,
Sounds like your trying for a Renko/Range or Renko/"Time" bar hybrid. I am also determined to learn how to program my own charts. I have some ideas for charts that need to be constructed and tested. If I were a programmer, it would be so much easier. FYI, I believe the programming file for the default chart types is in the "Type" directory where the Renko File loaded. I am examining this file for more programming ideas. Good Luck, RJay |
|
|
|
|
|
#12 |
|
Certified NinjaScript Consultant
Join Date: Sep 2006
Location: New York, USA
Posts: 773
Thanks: 1
Thanked 5 times in 4 posts
|
Rjay,
I am an engineer, so if / when I figure this out if you would like to discuss your ideas just PM me. Thanks Anthony
"You look closely enough, you can find everything has a ... weak spot where it can break, sooner or later"
PureLogikTrading |
|
|
|
|
|
#13 |
|
Senior Member
Join Date: May 2008
Location: Hartford, CT. USA
Posts: 595
Thanks: 10
Thanked 19 times in 14 posts
|
|
|
|
|
|
|
#14 |
|
Certified NinjaScript Consultant
Join Date: Sep 2006
Location: New York, USA
Posts: 773
Thanks: 1
Thanked 5 times in 4 posts
|
A general question about Renko Bars.
At the time a bar closes, is the close price of the Renko bar suppose to be where the actual price is? I know that seconds after the close it may be different, but at the exact time the bar closes shouldn't the actual price be very close to it? The reason I ask is because the price doesn't seem to match up with the close of the Renkos. Thanks for the help.
"You look closely enough, you can find everything has a ... weak spot where it can break, sooner or later"
PureLogikTrading |
|
|
|
|
|
#15 | |
|
Certified NinjaScript Consultant
|
Quote:
let's say currrent real price is 850 and we have a closed renko green bar with open 849 and close 850. The next green renko bar will be painted when and only when the price will reach 851 (4 tikcs above high) Or the next red renko bar will be painted when and only when the price will drop to 848 (4 ticks below low) |
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Renko Charts? | Brunoben | Charting | 67 | 07-04-2009 04:06 PM |
| Enter on bars, exit on ticks and min bars requirment | coolraz | Strategy Development | 3 | 12-15-2008 09:59 AM |
| Bars.GetSessionBar | TAJTrades | Indicator Development | 3 | 06-01-2008 05:14 PM |
| Bars are wrong on strategy performance (negative bars) | woodside | Historical NinjaTrader 6.5 Beta Threads | 2 | 01-13-2008 10:22 PM |
| Momentum bars or Price Range Bars | Akros | Indicator Development | 7 | 06-10-2007 04:55 AM |