NinjaTrader Support Forum  
X

Attention!

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


Go Back   NinjaTrader Support Forum > NinjaScript File Sharing > NinjaScript File Sharing Discussion

NinjaScript File Sharing Discussion Discussion for shared NinjaScript files.

Reply
 
Thread Tools Display Modes
Old 12-15-2007, 04:11 PM   #1
sbgtrading
Certified NinjaScript Consultant
 
Join Date: Oct 2007
Location: Northern Illinois
Posts: 256
Thanks: 0
Thanked 3 times in 3 posts
Default I'm not sure why I did this...but here's the SquareOf9 revisited

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.
Attached Files
File Type: zip SquareOf9.zip (8.3 KB, 132 views)
sbgtrading is offline  
Reply With Quote
Old 12-15-2007, 05:29 PM   #2
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

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.
NinjaTrader_Ray is offline  
Reply With Quote
Old 12-15-2007, 06:57 PM   #3
goldfly
Member
 
Join Date: May 2007
Posts: 82
Thanks: 0
Thanked 1 time in 1 post
Default

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.)
goldfly is offline  
Reply With Quote
Old 12-16-2007, 07:05 AM   #4
sbgtrading
Certified NinjaScript Consultant
 
Join Date: Oct 2007
Location: Northern Illinois
Posts: 256
Thanks: 0
Thanked 3 times in 3 posts
Default

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



Quote:
Originally Posted by goldfly View 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.
sbgtrading is offline  
Reply With Quote
Old 12-16-2007, 12:16 PM   #5
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

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?
NinjaTrader_Josh is offline  
Reply With Quote
Old 12-16-2007, 05:02 PM   #6
sbgtrading
Certified NinjaScript Consultant
 
Join Date: Oct 2007
Location: Northern Illinois
Posts: 256
Thanks: 0
Thanked 3 times in 3 posts
Default Test this version on V6.0

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
Attached Files
File Type: zip SquareOf9_V6.zip (6.1 KB, 195 views)
Last edited by sbgtrading; 02-23-2008 at 08:20 AM.
sbgtrading is offline  
Reply With Quote
Old 02-14-2008, 03:47 PM   #7
kevinc
Junior Member
 
Join Date: May 2007
Location: , ,
Posts: 3
Thanks: 0
Thanked 0 times in 0 posts
Default Not Responding in Ninja V6.5

Hi Ben

I am having the same problem as you noted in the previous post in version 6.5. Any ideas?

Thanks
kevinc is offline  
Reply With Quote
Old 02-14-2008, 10:27 PM   #8
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

Not sure what problem you are referring to. Please ensure you are on the latest version of NT6.5.0.9.
NinjaTrader_Josh is offline  
Reply With Quote
Old 02-15-2008, 05:56 AM   #9
sbgtrading
Certified NinjaScript Consultant
 
Join Date: Oct 2007
Location: Northern Illinois
Posts: 256
Thanks: 0
Thanked 3 times in 3 posts
Default

Sorry...can't help you on that one...I haven't tested this indicator since posting it.

To clarify, are you running this indicator on NT V6 or V6.5?

Ben

Quote:
Originally Posted by kevinc View Post
Hi Ben

I am having the same problem as you noted in the previous post in version 6.5. Any ideas?

Thanks
sbgtrading is offline  
Reply With Quote
Old 02-16-2008, 07:57 AM   #10
kevinc
Junior Member
 
Join Date: May 2007
Location: , ,
Posts: 3
Thanks: 0
Thanked 0 times in 0 posts
Default

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
kevinc is offline  
Reply With Quote
Old 02-23-2008, 08:23 AM   #11
sbgtrading
Certified NinjaScript Consultant
 
Join Date: Oct 2007
Location: Northern Illinois
Posts: 256
Thanks: 0
Thanked 3 times in 3 posts
Default

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


Quote:
Originally Posted by kevinc View Post
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
sbgtrading is offline  
Reply With Quote
Old 02-23-2008, 05:11 PM   #12
kevinc
Junior Member
 
Join Date: May 2007
Location: , ,
Posts: 3
Thanks: 0
Thanked 0 times in 0 posts
Default

Thanks Ben...you are the coolest! Working fine...now just have to figure out whether Gann was a genius or a nutcase.
kevinc is offline  
Reply With Quote
Old 02-29-2008, 07:54 PM   #13
thrunner
Member
 
Join Date: May 2007
Posts: 71
Thanks: 0
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by kevinc View Post
Thanks Ben...you are the coolest! Working fine...now just have to figure out whether Gann was a genius or a nutcase.
You mean you haven't tried the Biblical numerology indicators ? There ought to be one called the 'Revelation' indicator, won't that be the holy grail .
Quote:
Yet, my skeptic's nerve was and is struck by the Gann Square of Nine, his Square of 144, the Biblical numerology and his other esoteric. It is unclear whether anybody has consistently made money trading with his methodologies but more than a few people have made dollars upon dollars selling them.
thrunner is offline  
Reply With Quote
Old 03-08-2008, 09:46 AM   #14
Pipqueen
Member
 
Join Date: Jun 2007
Posts: 77
Thanks: 3
Thanked 0 times in 0 posts
Default LOL, I have been using Square of 9 and love it, Thank you!

I would love to have the revelation indicator too! lolol! I am sure will appear!




Quote:
Originally Posted by thrunner View Post
You mean you haven't tried the Biblical numerology indicators ? There ought to be one called the 'Revelation' indicator, won't that be the holy grail .
Pipqueen is offline  
Reply With Quote
Old 03-08-2008, 11:08 AM   #15
sbgtrading
Certified NinjaScript Consultant
 
Join Date: Oct 2007
Location: Northern Illinois
Posts: 256
Thanks: 0
Thanked 3 times in 3 posts
Default

Pipqueen...you've been using this indicator and you love it? Be great to hear your approach and results.

Ben
sbgtrading is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 10:52 AM.