![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| NinjaScript File Sharing Discussion Discussion for shared NinjaScript files. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Certified NinjaScript Consultant
Join Date: Oct 2007
Location: Northern Illinois
Posts: 256
Thanks: 0
Thanked 3 times in 3 posts
|
Well...I guess I was bored. And, of course, I wanted to see what the SquareOf9 would yield for me on a chart of the YM.
I'm attaching the SquareOf9 indicator. Take a look, let me know if you find any good use for it. (Gann must have been a brilliant guy or an absolute nuthead) Enjoy! Ben P.S. Be warned, this indicator can take a few seconds to load on a chart since it draws numerous horizontal and vertical lines. |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
Thanks Ben...
I have not loaded your indicator but one thing you can do to minimize the total number of draw objects managed in an indicator is to only draw them on the last X number of bars. I have coded a few before and went with 200 bars.
Ray
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Member
Join Date: May 2007
Posts: 82
Thanks: 0
Thanked 1 time in 1 post
|
sbg,
Thanks for the stuff you've put out here. But hey, if you're bored, take a crack at getting the Ichimoku to extend past the latest candle. http://www.ninjatrader-support.com/v...ead.php?t=3831 I think for someone that knows what they're doing, it should be pretty straight forward, given that most all the logic is in place. As for the Sq9, I looked at it when that other fellow had it up (for a while) and it seems to me that if you draw enough lines, then eventually it's going to settle on one of them somewhere. (Though admittedly, I never did look into it too deeply.) |
|
|
|
|
|
#4 |
|
Certified NinjaScript Consultant
Join Date: Oct 2007
Location: Northern Illinois
Posts: 256
Thanks: 0
Thanked 3 times in 3 posts
|
Yes...that limitation frustrates me too. There's a number of other indicators I'd like to program, unfortunately many of them rely on the ability to print to the right of the chart.
I tried to work around this limitation in my SquareOf9 code by giving a textual description (in the lower left portion of the screen) of the number of bars remaining before the next bar falls on one of the progressions. This is when you select "T" for a time analysis. Ben |
|
|
|
|
|
#5 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
Have you guys tried passing in a negative number for the parameters on your draw object? I've never tried it, but it might work?
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#6 |
|
Certified NinjaScript Consultant
Join Date: Oct 2007
Location: Northern Illinois
Posts: 256
Thanks: 0
Thanked 3 times in 3 posts
|
I've attached a new (corrected and enhanced) version for NTv6.0
This is a "must" install for those who use this indicator. Enjoy! Ben
Last edited by sbgtrading; 02-23-2008 at 08:20 AM.
|
|
|
|
|
|
#7 |
|
Junior Member
Join Date: May 2007
Location: , ,
Posts: 3
Thanks: 0
Thanked 0 times in 0 posts
|
Hi Ben
I am having the same problem as you noted in the previous post in version 6.5. Any ideas? Thanks |
|
|
|
|
|
#8 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
Not sure what problem you are referring to. Please ensure you are on the latest version of NT6.5.0.9.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#9 |
|
Certified NinjaScript Consultant
Join Date: Oct 2007
Location: Northern Illinois
Posts: 256
Thanks: 0
Thanked 3 times in 3 posts
|
|
|
|
|
|
|
#10 |
|
Junior Member
Join Date: May 2007
Location: , ,
Posts: 3
Thanks: 0
Thanked 0 times in 0 posts
|
I am running 6.5.09. The problem I am referring to is that when I try to run the indicator with the "P" option for price level calculation it brings Ninja 6.5.09 to a "Not Responding" state and I must reboot. Any help would be appreciated.
Thanks Kevin |
|
|
|
|
|
#11 |
|
Certified NinjaScript Consultant
Join Date: Oct 2007
Location: Northern Illinois
Posts: 256
Thanks: 0
Thanked 3 times in 3 posts
|
Kevin (and everyone who uses the SquareOf9)...please download the new and enhanced version of this indicator. Plenty of corrections and enhancements that will resolve many issues you might be experiencing.
The new file is found on Post #6 of this thread, "SquareOf9_V6.zip". Ben |
|
|
|
|
|
#12 |
|
Junior Member
Join Date: May 2007
Location: , ,
Posts: 3
Thanks: 0
Thanked 0 times in 0 posts
|
Thanks Ben...you are the coolest! Working fine...now just have to figure out whether Gann was a genius or a nutcase.
|
|
|
|
|
|
#13 | ||
|
Member
Join Date: May 2007
Posts: 71
Thanks: 0
Thanked 0 times in 0 posts
|
Quote:
.Quote:
|
||
|
|
|
|
|
#14 |
|
Member
Join Date: Jun 2007
Posts: 77
Thanks: 3
Thanked 0 times in 0 posts
|
|
|
|
|
|
|
#15 |
|
Certified NinjaScript Consultant
Join Date: Oct 2007
Location: Northern Illinois
Posts: 256
Thanks: 0
Thanked 3 times in 3 posts
|
Pipqueen...you've been using this indicator and you love it? Be great to hear your approach and results.
Ben |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|