NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Indicator Development

Indicator Development Support for the development of custom indicators using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 09-26-2008, 11:13 AM   #1
TheWizard
Junior Member
 
Join Date: Mar 2008
Posts: 7
Thanks: 0
Thanked 0 times in 0 posts
Default CCI / Stochastic combo (looking for indicator)

I've been searching for a CCI (or CCI Histogram) & Double Stochastic combo indicator. Tried overlaying DoubleStochastics Ninja indicator over CCI Histogram & it only sort-of works. DoubleStochastics based on range of 0 - 100, whereas CCI Histogram ranges from +200 to -200.

I'd like the Double Stochastics to be able to range between +200 / -200 also, so that you can see when CCI overbought / oversold crosses the DoubleStochastics overbought/oversold range giving indication to go Long / short.

I see there is a StochRSI combo out there, but no StochCCI or CCIStoch.

Can anyone help in this regard? Thanks!
TheWizard is offline  
Reply With Quote
Old 09-26-2008, 11:18 AM   #2
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
Default

Hi TheWizard,

You will find community developed custom indicators in the File Sharing section. I do not recall of anyone creating a StochCCI though. In NT7 we will be allowing the overlaying of indicators with different price scales and that will resolve the issue for you if you do not want to custom code the indicator right now.
NinjaTrader_Josh is offline  
Reply With Quote
Old 03-23-2009, 08:05 PM   #3
fangelio
Junior Member
 
Join Date: Mar 2009
Posts: 2
Thanks: 0
Thanked 0 times in 0 posts
Default CCIstoch

Hello,
I am also looking for the ccistochastic indicator. I know, it is not the same as overlay the cci and ssto- not 3 lines in the panel, but just ONE. I saw on the net, there is a script for it , but for esignal, an I cant impor it in NT.
Would you be so kind to help with it?
many thanks, fangelio.
fangelio is offline  
Reply With Quote
Old 03-24-2009, 07:08 AM   #4
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
Default

You cannot import eSignal scripts into NinjaTrader. You need to convert them. Please also consider a 3rd party NinjaScript Consultant here: http://www.ninjatrader.com/webnew/pa...injaScript.htm
NinjaTrader_Josh is offline  
Reply With Quote
Old 03-24-2009, 08:32 AM   #5
TheWizard
Junior Member
 
Join Date: Mar 2008
Posts: 7
Thanks: 0
Thanked 0 times in 0 posts
Default Looking for CCI/Stoch indicator

I'm not a very experienced NinjaTrader indicator programmer, but if you can email me the script you found on the web, I'd be willing to take a look & see if I could duplicate it in Ninja. You can email me directly at david@laserinktx.com Thanks.

Quote:
Originally Posted by fangelio View Post
Hello,
I am also looking for the ccistochastic indicator. I know, it is not the same as overlay the cci and ssto- not 3 lines in the panel, but just ONE. I saw on the net, there is a script for it , but for esignal, an I cant impor it in NT.
Would you be so kind to help with it?
many thanks, fangelio.
TheWizard is offline  
Reply With Quote
Old 03-24-2009, 01:00 PM   #6
vrathee
Member
 
Join Date: Nov 2008
Posts: 62
Thanks: 0
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by TheWizard View Post
I'm not a very experienced NinjaTrader indicator programmer, but if you can email me the script you found on the web, I'd be willing to take a look & see if I could duplicate it in Ninja. You can email me directly at david@laserinktx.com Thanks.
Hi

Can you put the link of Esignal formula for this Indicator?

Regards
vrathee is offline  
Reply With Quote
Old 03-24-2009, 01:08 PM   #7
TheWizard
Junior Member
 
Join Date: Mar 2008
Posts: 7
Thanks: 0
Thanked 0 times in 0 posts
Default CCI/Stoch indicator

No. Sorry. I do not know anything about Esignal.

Quote:
Originally Posted by vrathee View Post
Hi

Can you put the link of Esignal formula for this Indicator?

Regards
TheWizard is offline  
Reply With Quote
Old 03-24-2009, 09:31 PM   #8
clfield
Member
 
Join Date: Sep 2008
Posts: 68
Thanks: 0
Thanked 0 times in 0 posts
Default base logic for StoCCI

I found this code for the basic logic to this indicator on the web. I am off for a couple of days. may have a crack at it when I return. Good luck


radeStation code for the "CCI-stochastic indicator (CCI-STO)" by Star, p. 52:
*Code courtesy of Mark Mills
{Average(3,(Today's 14-day CCI reading - Lowest 14-day CCI reading (over the past 5 periods)/Highest 14-day
CCI reading (over the past 5 periods) - Lowest 14-day CCI reading (over the past 5 periods))*100)
CCI-Stochastic}
inputs:
CCILength( 14 ),
HighLowPeriod( 5 ),
Smooth( 3 ) ;
variables:
TodayCCI( 0 ),
TodayLowCCI( 0 ),
TodayHighCCI( 0 ),
CCISto( 0 ) ;
TodayCCI = CCI( CCILength ) ;
TodayLowCCI = Lowest( TodayCCI, HighLowPeriod ) ;
TodayHighCCI = Highest( TodayCCI, HighLowPeriod ) ;
if CurrentBar > Smooth + HighLowPeriod then
begin
CCISto = Average((TodayCCI - TodayLowCCI)/(TodayHighCCI - TodayLowCCI), Smooth );
Plot1( CCISto, "CCISto");
end ;
clfield is offline  
Reply With Quote
Old 03-27-2009, 01:28 PM   #9
fangelio
Junior Member
 
Join Date: Mar 2009
Posts: 2
Thanks: 0
Thanked 0 times in 0 posts
Cool TheWizard - your email doesnt work

Hello TheWizard, I have been trying to send you email to you, but the emails are coming back, your email does not work.

So, how can I send it?
bye, f.
fangelio 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
net stochastic indicator sub5mango Miscellaneous Support 3 06-19-2008 05:38 AM
Stochastic Momentum Indicator draime Charting 3 01-27-2008 07:47 AM
Stochastic indicator discrepancy bi9foot Charting 2 01-06-2008 10:47 PM
Color Stochastic/2-line Indicator jeremymgp NinjaScript File Sharing Discussion 11 01-05-2008 12:27 PM
Stochastic Indicator PorkChop Indicator Development 4 11-07-2007 06:59 PM


All times are GMT -6. The time now is 05:25 PM.