CCI Predictor for NT - NinjaTrader Programming | futures io social day trading
futures io futures trading


CCI Predictor for NT
Updated: Views / Replies:3,314 / 11
Created: by mrangelo Attachments:4

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors – all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you don’t need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 4  
 
Thread Tools Search this Thread
 

CCI Predictor for NT

  #1 (permalink)
Elite Member
USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: Forex, Oil
 
mrangelo's Avatar
 
Posts: 7 since May 2011
Thanks: 5 given, 7 received

CCI Predictor for NT

Hello.

Fellow traders, I need help about an indicator.

I was using an indicator called CCI 4 RangeBars, that predicts the movements of the cci, very good.
It was developed to work with Range Bars.
But now, I'm working with the Median Renko Bars, that is a custom bar, and the CCI 4 RangeBars doesn't work on it.

I tried to do something myself on the indicator progam and I could make it work with Renko Bars, that is a native bar of NT, changing the 'PeriodType.Range' in line 68 of the program for 'PeriodType.Renko'. It worked perfectly

But Median Renko, as an external kind of bars, is not in the 'little list' of bars.

Please, could someone help me if possible? What I have to do? I'm not a programmer, but if it is easy, I can try to do it myself.
If someone can code it for me (and maybe for us) perfect! But just some tips are very welcome.

I would be very very appreciate!

The indicator is attached.

Thank you very much!


* I could attach an screenshot, but I don't know how to do this...

Attached Files
Register to download File Type: rar CCI4RangeBars.rar (2.5 KB, 85 views)

Last edited by mrangelo; November 10th, 2011 at 03:39 PM.
Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Elite Member
las vegas
 
Futures Experience: Intermediate
Platform: Sierra Chart
Broker/Data: Velocity/IB
Favorite Futures: 6E
 
Posts: 1,147 since Feb 2010
Thanks: 304 given, 836 received


Try Custom5 for median renko and Custom4 for better renko.

Reply With Quote
The following user says Thank You to vegasfoster for this post:
 
  #4 (permalink)
Elite Member
USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: Forex, Oil
 
mrangelo's Avatar
 
Posts: 7 since May 2011
Thanks: 5 given, 7 received

Thank you!

None of your suggestion worked hehe, but thank you anyway.

You give me the idea to test all of the list suggestion, one by one, untill to find the properly, " Final3 "




Thanks!

Reply With Quote
 
  #5 (permalink)
Elite Member
Portland Oregon, United States
 
Futures Experience: Beginner
Platform: Ninjatrader®
Broker/Data: CQG, Kinetick
Favorite Futures: Gameplay Klownbine® Trading of Globex
 
Zondor's Avatar
 
Posts: 1,327 since Jul 2009
Thanks: 1,246 given, 2,635 received

The solution to the problem is trivial

Just comment out line 69 and it will work on any type of chart.
Otherwise that line will allow the indicator to work ONLY on range bars.

 
Code
//if(Bars.Period.Id != PeriodType.Range) return;
While I was at it, I recoded it to give a multi-color plot. That doesn't mean that this indicator is of any practical use.

It should now plot on any type of chart. I added error handling, just in case.


Last edited by Zondor; November 10th, 2011 at 05:24 PM.
Reply With Quote
The following user says Thank You to Zondor for this post:
 
  #6 (permalink)
Market Wizard
virginia
 
Futures Experience: Intermediate
Platform: ninja
Favorite Futures: ES
 
cory's Avatar
 
Posts: 5,215 since Jun 2009
Thanks: 628 given, 6,313 received
Forum Reputation: Legendary

mr. snaphook just post his indie for renko here CCI Pattern Recognition for Woodies - Page 32 - NinjaTrader Support Forum

Reply With Quote
The following 2 users say Thank You to cory for this post:
 
  #7 (permalink)
Elite Member
Portland Oregon, United States
 
Futures Experience: Beginner
Platform: Ninjatrader®
Broker/Data: CQG, Kinetick
Favorite Futures: Gameplay Klownbine® Trading of Globex
 
Zondor's Avatar
 
Posts: 1,327 since Jul 2009
Thanks: 1,246 given, 2,635 received

Revised version of CCI4

Here is the revised version I mentioned in my previous post.

Attached Files
Register to download File Type: cs CCI4RangeBars.cs (14.6 KB, 79 views)
Reply With Quote
The following 4 users say Thank You to Zondor for this post:
 
  #8 (permalink)
Elite Member
USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: Forex, Oil
 
mrangelo's Avatar
 
Posts: 7 since May 2011
Thanks: 5 given, 7 received

Great

I put the 'Final3' label in the program, as previously posted, and worked. Zondor suggestion worked too, is just to put 2 slash bars " // " in the 68 line, before the label, as he posted too.

But both of suggestion is not working properly, because all the rest of the indicator was developed for Range Bars, these changes in that line just 'printed' the indicator on the chart with the Median Renko Bars, all the calculation was made based on Range Bars.


Well, the problem was solved by Mr. Snaphook in that link posted, he changed some calculations on the indicator.

That one is working properly, I tested.


Well, Thanks for replying.

Good trades for all!


Last edited by mrangelo; November 10th, 2011 at 06:33 PM.
Reply With Quote
The following user says Thank You to mrangelo for this post:
 
  #9 (permalink)
Elite Member
Naperville IL
 
Futures Experience: Intermediate
Platform: ninjatrader
Broker/Data: NT broker
Favorite Futures: NQ ES 6E GC CL
 
Posts: 954 since Feb 2010
Thanks: 1,184 given, 650 received

curious

Hi, I am curious, how do you see the prediction for this indicator?, thanks

Reply With Quote
 
  #10 (permalink)
Elite Member
Portland Oregon, United States
 
Futures Experience: Beginner
Platform: Ninjatrader®
Broker/Data: CQG, Kinetick
Favorite Futures: Gameplay Klownbine® Trading of Globex
 
Zondor's Avatar
 
Posts: 1,327 since Jul 2009
Thanks: 1,246 given, 2,635 received

Improved version of CCI 4 Any Barz


Working on it, will accommodate range or renko bars. You choose which type of bar analysis to use in the indicator properties. Will post it soon.

Snaphook's trying to automatically detect the bar type when he has no way of knowing what custom bar types are installed in YOUR particular types folder, is an unsound approach fraught with problems.

Reply With Quote

Reply



futures io > > > > > CCI Predictor for NT

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
EMA for CCI perryg NinjaTrader Programming 7 January 19th, 2012 09:45 AM
CCI Simplified Silver Dragon The Elite Circle 72 July 17th, 2011 09:15 PM
Ergo CCI for nt arnaudlx The Elite Circle 5 March 8th, 2011 06:07 PM
CCI Modification chunjr NinjaTrader Programming 3 February 17th, 2011 08:40 PM
Seeking collaborator on statistical swing predictor cclsys NinjaTrader Programming 4 November 30th, 2009 01:53 PM


All times are GMT -4. The time now is 02:31 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2017-12-12 in 2.45 seconds with 20 queries on phoenix via your IP 54.90.207.75