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-02-2008, 01:49 PM   #1
roonius
Certified NinjaScript Consultant
 
Join Date: Oct 2008
Location: Chicago, IL
Posts: 523
Thanks: 0
Thanked 8 times in 7 posts
Send a message via Skype™ to roonius
Default SlingShot

I came accross "the new indicator" from TTM. They call it "SlingShot".
They charge $697 (for two moving averages??????????????). Sometimes people are really funny.

So I "borrowed" some code from Ichimoku indicator and NT users can test
"SlingShot" for free

More information about SlingShot:

http://www.tradethemarkets.com/products/item82.cfm

Roonius
Attached Images
File Type: jpg SlingShot.jpg (92.1 KB, 1399 views)
Attached Files
File Type: zip SlingShot.zip (14.0 KB, 988 views)
Last edited by roonius; 01-08-2009 at 08:53 PM.
roonius is offline  
Reply With Quote
Old 12-02-2008, 05:13 PM   #2
Elliott Wave
Senior Member
 
Join Date: Mar 2008
Posts: 731
Thanks: 0
Thanked 1 time in 1 post
Default

Looks a bit like an indicator called trigger lines (which is quite good).

thanks again.
Elliott Wave is offline  
Reply With Quote
Old 12-03-2008, 02:38 AM   #3
max-td
Senior Member
 
Join Date: Feb 2008
Posts: 177
Thanks: 0
Thanked 0 times in 0 posts
Default

Nice idea with that Ichimoku-style roonius!
ThanX for this one
max-td
max-td is offline  
Reply With Quote
Old 12-03-2008, 11:37 PM   #4
ctrlbrk
Senior Member
 
Join Date: Oct 2008
Location: Dallas, TX
Posts: 682
Thanks: 0
Thanked 2 times in 2 posts
Default

roonius,

Thank you for this indicator, I have put it to use over on this thread.
ctrlbrk is offline  
Reply With Quote
The following user says thank you to ctrlbrk for this post:
Old 12-04-2008, 12:41 AM   #5
ctrlbrk
Senior Member
 
Join Date: Oct 2008
Location: Dallas, TX
Posts: 682
Thanks: 0
Thanked 2 times in 2 posts
Default

roonius,

Is this indicator ready for strategy use? I am having trouble because it generates errors due to the Color [xxx] parameter.
ctrlbrk is offline  
Reply With Quote
Old 12-04-2008, 01:24 AM   #6
roonius
Certified NinjaScript Consultant
 
Join Date: Oct 2008
Location: Chicago, IL
Posts: 523
Thanks: 0
Thanked 8 times in 7 posts
Send a message via Skype™ to roonius
Default

Try to redownload it. I made little changes... it should work now - moved color from parameters to visual (thanks Elliott for the hint)
I am not into developing the strategies as of yet... Probably have to try
Last edited by roonius; 01-08-2009 at 08:53 PM.
roonius is offline  
Reply With Quote
Old 12-04-2008, 11:04 AM   #7
RJay
Senior Member
 
Join Date: May 2008
Location: Hartford, CT. USA
Posts: 636
Thanks: 21
Thanked 33 times in 25 posts
Default

Roonius,

Truthfully, I'm not as impressed as most with Slingshot. But in your screen print you are using another indicator called RValueChart.

I am interested in that one. Did you find it here? Is it anything your willing to share? If its a personal indicator, I understand.

Let me Know,

RJay
RJay is offline  
Reply With Quote
Old 12-04-2008, 11:20 AM   #8
roonius
Certified NinjaScript Consultant
 
Join Date: Oct 2008
Location: Chicago, IL
Posts: 523
Thanks: 0
Thanked 8 times in 7 posts
Send a message via Skype™ to roonius
Default

http://www.ninjatrader-support2.com/...4350#post64350
Last edited by roonius; 01-08-2009 at 08:53 PM.
roonius is offline  
Reply With Quote
Old 12-04-2008, 11:27 AM   #9
RJay
Senior Member
 
Join Date: May 2008
Location: Hartford, CT. USA
Posts: 636
Thanks: 21
Thanked 33 times in 25 posts
Default

Perfect !!!!

Thank you and thank you Elliott for uploading this.

RJay
RJay is offline  
Reply With Quote
Old 01-27-2009, 04:51 PM   #10
dwalls
Senior Member
 
Join Date: Jul 2007
Posts: 176
Thanks: 0
Thanked 0 times in 0 posts
Default

Thanks roonius.

Very nice indicator. I have a question though:
Is it possible to add a "Price Type" to the "Slow MA Length" so that each MA Length could have its own seperate "Price Type" setting...incase I wanted to use the "Fast MA Length" Close and a "Slow MA Length" Open as the crossover?

If so, how could I do that?
If possible any help would be great.

Thanks
dwalls is offline  
Reply With Quote
Old 08-06-2009, 08:09 AM   #11
T2020
Senior Member
 
Join Date: Jun 2008
Posts: 663
Thanks: 0
Thanked 0 times in 0 posts
Default Change Ma Type ?

Hello roonius.
I'm trying to change one of the MA types to LinReg . On some indicators this
is all that's necessary . I'm not having any luck with this . Changing say the
TMA to LinReg where ever I see it . Could you tell me what I'm missing ?
thx .
T2020 is offline  
Reply With Quote
Old 08-06-2009, 09:22 AM   #12
roonius
Certified NinjaScript Consultant
 
Join Date: Oct 2008
Location: Chicago, IL
Posts: 523
Thanks: 0
Thanked 8 times in 7 posts
Send a message via Skype™ to roonius
Default

Quote:
Originally Posted by T2020 View Post
Hello roonius.
I'm trying to change one of the MA types to LinReg . On some indicators this
is all that's necessary . I'm not having any luck with this . Changing say the
TMA to LinReg where ever I see it . Could you tell me what I'm missing ?
thx .
Why aren't you having any luck?
Any errors? What are you getting?
roonius is offline  
Reply With Quote
Old 08-06-2009, 09:34 AM   #13
T2020
Senior Member
 
Join Date: Jun 2008
Posts: 663
Thanks: 0
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by roonius View Post
Why aren't you having any luck?
Any errors? What are you getting?
My mistake . I must have mistyped something . Tried it again and it worked.
Thank you for getting back to me .
T2020 is offline  
Reply With Quote
Old 11-04-2009, 08:17 PM   #14
Jeff_Brower
Junior Member
 
Join Date: Nov 2009
Posts: 3
Thanks: 0
Thanked 0 times in 0 posts
Default Using SlingShot in a strategy

roonius, I love the way the indicator looks and I found a great way to use it in a strategy (I think) but I can not seem to make it work. Can you please document for me how to include it in a strategy script?

I have tried several forms of:

Code:
Add(Strategy.SlingShot(15, PriceType.Close, SlingShot.Utility.MovingAverageType.EMA, 30, PriceType.Close, SlingShot.Utility.MovingAverageType.EMA));
and it keeps telling me:

... is a 'method' which is not valid in the given context

Nothing I do seems to make a difference.

Thanks!

-- Jeff
Jeff_Brower is offline  
Reply With Quote
Old 11-04-2009, 09:11 PM   #15
roonius
Certified NinjaScript Consultant
 
Join Date: Oct 2008
Location: Chicago, IL
Posts: 523
Thanks: 0
Thanked 8 times in 7 posts
Send a message via Skype™ to roonius
Default

Quote:
Originally Posted by Jeff_Brower View Post
roonius, I love the way the indicator looks and I found a great way to use it in a strategy (I think) but I can not seem to make it work. Can you please document for me how to include it in a strategy script?

I have tried several forms of:

Code:
Add(Strategy.SlingShot(15, PriceType.Close, SlingShot.Utility.MovingAverageType.EMA, 30, PriceType.Close, SlingShot.Utility.MovingAverageType.EMA));
and it keeps telling me:

... is a 'method' which is not valid in the given context

Nothing I do seems to make a difference.

Thanks!

-- Jeff

Attached sample strategy should help you to solve your problem
Attached Files
File Type: zip SlingShotStrategySample.zip (15.1 KB, 425 views)
roonius 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Slingshot indicator saschja NinjaScript File Sharing Discussion 7 12-15-2007 05:24 PM


All times are GMT -6. The time now is 02:38 PM.

FULL RISK DISCLOSURE: Futures trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Risk capital is money that can be lost without jeopardizing ones financial security or lifestyle. Only risk capital should be used for trading and only those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of future results. View Full Risk Disclosure.