NexusFi: Find Your Edge


Home Menu

 





CCI Predictor for NT


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one mrangelo with 5 posts (2 thanks)
    2. looks_two Zondor with 3 posts (5 thanks)
    3. looks_3 vegasfoster with 1 posts (1 thanks)
    4. looks_4 cory with 1 posts (2 thanks)
      Best Posters
    1. looks_one cory with 2 thanks per post
    2. looks_two Zondor with 1.7 thanks per post
    3. looks_3 vegasfoster with 1 thanks per post
    4. looks_4 mrangelo with 0.4 thanks per post
    1. trending_up 5,706 views
    2. thumb_up 10 thanks given
    3. group 5 followers
    1. forum 11 posts
    2. attach_file 4 attachments




 
Search this Thread

CCI Predictor for NT

  #1 (permalink)
 
mrangelo's Avatar
 mrangelo 
USA
 
Experience: Intermediate
Platform: NinjaTrader
Trading: Forex, Oil
Posts: 7 since May 2011
Thanks Given: 5
Thanks Received: 7

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
Elite Membership required to download: CCI4RangeBars.rar
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
REcommedations for programming help
Sierra Chart
Better Renko Gaps
The Elite Circle
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
How to apply profiles
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
34 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
18 thanks
GFIs1 1 DAX trade per day journal
16 thanks
Vinny E-Mini & Algobox Review TRADE ROOM
13 thanks
  #3 (permalink)
 vegasfoster 
las vegas
 
Experience: Intermediate
Platform: Sierra Chart
Broker: Velocity/IB
Trading: 6E
Posts: 1,145 since Feb 2010
Thanks Given: 304
Thanks Received: 844


Try Custom5 for median renko and Custom4 for better renko.

Reply With Quote
Thanked by:
  #4 (permalink)
 
mrangelo's Avatar
 mrangelo 
USA
 
Experience: Intermediate
Platform: NinjaTrader
Trading: Forex, Oil
Posts: 7 since May 2011
Thanks Given: 5
Thanks Received: 7

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!

Started this thread Reply With Quote
  #5 (permalink)
 
Zondor's Avatar
 Zondor 
Portland Oregon, United States
 
Experience: Beginner
Platform: NinjatraderŽ
Broker: CQG, Kinetick
Trading: Gameplay KlownbineŽ Trading of Globex
Posts: 1,333 since Jul 2009
Thanks Given: 1,246
Thanks Received: 2,731

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.

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #6 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090

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

Reply With Quote
Thanked by:
  #7 (permalink)
 
Zondor's Avatar
 Zondor 
Portland Oregon, United States
 
Experience: Beginner
Platform: NinjatraderŽ
Broker: CQG, Kinetick
Trading: Gameplay KlownbineŽ Trading of Globex
Posts: 1,333 since Jul 2009
Thanks Given: 1,246
Thanks Received: 2,731

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

Attached Files
Elite Membership required to download: CCI4RangeBars.cs
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #8 (permalink)
 
mrangelo's Avatar
 mrangelo 
USA
 
Experience: Intermediate
Platform: NinjaTrader
Trading: Forex, Oil
Posts: 7 since May 2011
Thanks Given: 5
Thanks Received: 7

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!

Started this thread Reply With Quote
Thanked by:
  #9 (permalink)
 supermht 
Naperville IL
 
Experience: Intermediate
Platform: ninjatrader
Broker: NT broker
Trading: NQ ES 6E GC CL
Posts: 962 since Feb 2010
Thanks Given: 1,189
Thanks Received: 661

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

Reply With Quote
  #10 (permalink)
 
Zondor's Avatar
 Zondor 
Portland Oregon, United States
 
Experience: Beginner
Platform: NinjatraderŽ
Broker: CQG, Kinetick
Trading: Gameplay KlownbineŽ Trading of Globex
Posts: 1,333 since Jul 2009
Thanks Given: 1,246
Thanks Received: 2,731


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.

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote




Last Updated on November 11, 2011


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts