NexusFi: Find Your Edge


Home Menu

 





Adaptive CCI for NT8


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one milehightrader with 6 posts (8 thanks)
    2. looks_two Botts with 5 posts (25 thanks)
    3. looks_3 hmedia with 2 posts (1 thanks)
    4. looks_4 casey44 with 1 posts (1 thanks)
      Best Posters
    1. looks_one Botts with 5 thanks per post
    2. looks_two milehightrader with 1.3 thanks per post
    3. looks_3 casey44 with 1 thanks per post
    4. looks_4 hmedia with 0.5 thanks per post
    1. trending_up 6,629 views
    2. thumb_up 36 thanks given
    3. group 13 followers
    1. forum 18 posts
    2. attach_file 6 attachments




 
Search this Thread

Adaptive CCI for NT8

  #1 (permalink)
 
mk77ch's Avatar
 mk77ch 
Switzerland
 
Experience: Advanced
Platform: NinjaTrader
Broker: Dorman
Trading: Currency Futures, ES
Posts: 132 since Oct 2010
Thanks Given: 27
Thanks Received: 350

Hello,

is there an adaptive CCI for NT8 already?
I couldn't find it.

Thank you,
Mike

I never lose. I either win or learn.
Nelson Mandela

The Potion
Konje
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Exit Strategy
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
MC PL editor upgrade
MultiCharts
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Better Renko Gaps
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
43 thanks
Just another trading journal: PA, Wyckoff & Trends
30 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
23 thanks
GFIs1 1 DAX trade per day journal
21 thanks
  #3 (permalink)
 
Botts's Avatar
 Botts 
Penetanguishene, Ontario, Canada
 
Experience: None
Platform: NinjaTrader-8
Broker: NinjaTrader Brokerage, Continuum
Trading: ZB, MES, NQ, YM
Posts: 924 since Jun 2011
Thanks Given: 4,019
Thanks Received: 3,605



mk77ch View Post
Hello,

is there an adaptive CCI for NT8 already?
I couldn't find it.

Thank you,
Mike


Here's one that was a culmination of the prior AdaptiveCCI with the addition of an Ehlers Super Smoother to help (me) discern a change in momentum and or direction.

There are multiple options for coloring the chart background
In addition to [ All_Panels / Indicator_Panel / None ]

I must warn you, I am having trouble coding NT-8's background coloring functions though.

I could use some help improving the way I am using the Background Brushes because this version will eventually use the maximum number of Brushes (on a longer term chart) and will stop coloring the background correctly.

For now I just turn the background color off if I find that happening on a longer term chart.

R.I.P. John Bottomley (Botts), 1956-2022.
Please visit this thread for more information.
Attached Thumbnails
Click image for larger version

Name:	Adaptive CCI 2019-02-13.png
Views:	817
Size:	173.7 KB
ID:	262707  
Attached Files
Elite Membership required to download: irAdaptiveCCI.zip
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #4 (permalink)
 milehightrader 
Tampa FL
 
Experience: Intermediate
Platform: NinjaTrader, Jigsaw
Broker: NinjaTrader Clearing, Rithmic
Trading: MNQ, MES
Posts: 39 since Mar 2020
Thanks Given: 13
Thanks Received: 18

Bumping this thread to see if I can request assistance enhancing this indicator? I wasn't sure if I should use another thread, so apologies if so.

I have to say, this indicator (in my opinion), is one of the greatest indicators I have ever used. Kudos and a huge "Thank you!" to @TopGunNote and whomever was the original author of this indicator!

I am wondering if anyone would be willing to consider putting in some enhancements I've outlined below, along with an included example. I have tried to implement some of these enhancements using other indicators, but so far have fallen short. For example, using SwingRaysb2 as a breakline; I'm unable to apply SwingRays to the AdaptiveCCISuperSmoother.

Synopsis: Apply swing points (ala Price Action Swing Pro) to this indicator, so that it labels HH/LH, LL/HL and indicates divergence (as the Price Action Swing Pro indicator does).

Enhancements:
  1. Add feature that displays HH/LH and HL/LL, including the AdaptiveCCISuperSmoother value
  2. Add a feature that counts the number of sequential HH's or LL's and resets if broken
  3. Add a feature that identifies and labels divergence between the AdaptiveCCISuperSmoother value and the price, using swing points
  4. Add a feature that labels zero line breaks
  5. Add a configurable alert funtionality for swing points, divergence, zero line breaks, and threshold breaks

I've included a screenshot of what I'm manually doing for now, and as you can guess, you have to be ahead of the curve and it's hard to do when live trading. The reason I'm requesting this, is that I'm noticing that the old saying "The devil's in the details" applies so far (in my experience) when it comes to trading. Even though the Price Action Swing Pro applies to price (and I guess price is king), I am finding that applying a similar method with the irAdaptiveCCI indicator assists me with my trading greatly as it reveals nuanced details the price doesn't. Admitedly, I've only been trading slightly over a year so far (and had my but kicked mostly), I'm REALLY starting to see a turn around using a new method I'm developing with this indicator. Or, perhaps it's just helping me to 'see' what's happening more clearly.

In any event, I would GREATLY appreciate some help here if anyone finds any value in this. Feedback is appreciated and I hope to hear it on this excellent forum.

Screenshot:
https://pasteboard.co/JJX5Q9c.png

Thank you,
MHT

Reply With Quote
Thanked by:
  #5 (permalink)
 
casey44's Avatar
 casey44 
Louisville KY
 
Experience: Beginner
Platform: NT8
Trading: micros
Frequency: Daily
Duration: Minutes
Posts: 247 since Jan 2010
Thanks Given: 4,051
Thanks Received: 311

Thanks @milehightrader for bringing this up. Had forgotten it was here.
My tweak wish would be for an option to color background when above/below 100 lines.
Personally I find that filters out some of the ZeroLine crossing noise/chop.
Example: often the entry for a pullbacks in a trend that keeps poking > +100L can be below the ZL but still above the -100L, and I find it distracting to have the ZL color changes.

Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #6 (permalink)
 
Botts's Avatar
 Botts 
Penetanguishene, Ontario, Canada
 
Experience: None
Platform: NinjaTrader-8
Broker: NinjaTrader Brokerage, Continuum
Trading: ZB, MES, NQ, YM
Posts: 924 since Jun 2011
Thanks Given: 4,019
Thanks Received: 3,605

@milehightrader and @casey44 I haven't made any of the changes either of you suggested.
However, shortly after my original post in response to the request by @mk77ch I did go back and correct the issue with the background coloring.
My bad for not coming back and reposting the corrected version I have included here.

Trade well,
John B.


irAdaptiveCCIv2 2021-01-18_6-40-ET

R.I.P. John Bottomley (Botts), 1956-2022.
Please visit this thread for more information.
Attached Files
Elite Membership required to download: irAdaptiveCCIv2_NT-8.0.22.2 64-bit.zip
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #7 (permalink)
 milehightrader 
Tampa FL
 
Experience: Intermediate
Platform: NinjaTrader, Jigsaw
Broker: NinjaTrader Clearing, Rithmic
Trading: MNQ, MES
Posts: 39 since Mar 2020
Thanks Given: 13
Thanks Received: 18


casey44 View Post
Thanks @milehightrader for bringing this up. Had forgotten it was here.
My tweak wish would be for an option to color background when above/below 100 lines.
Personally I find that filters out some of the ZeroLine crossing noise/chop.
Example: often the entry for a pullbacks in a trend that keeps poking > +100L can be below the ZL but still above the -100L, and I find it distracting to have the ZL color changes.

Hi @casey44, thanks for the feedback and good observation for the filter!

I've noticed a couple of things using this indicator trading ES/MES:
  1. Do not execute a reversal trade if the CCI breaks +200/-200 if it is the first swing point established after a zero line break; there is likely going to be continuation as there was enough momentum to drive it up that far. Consider reversing after it breaks +95/-95 and if other factors support it.
  2. Conservative Reversal trade entries are made inbetween the zero line and +95/-95 with a LH/HH swing point
  3. Aggressive Reversal trade entries are made inbetween +95/-95 and +200/-200 with a LH/HH swing point and yield more points but are riskier as you are still beyond the first threshold (+95/-95)
  4. Equitable distribution formations are nice with this indicator and are pretty reliable (I haven't performed any probability analysis yet). As in - zero line break but beneath first threshold (+95), then break of +95 threshold and peak, then breakdown below +95 again.

I have some more observations, but I plan to put it all together with the method I'm using in hopes others can chime in.

Have a good one!
MHT

Reply With Quote
Thanked by:
  #8 (permalink)
 milehightrader 
Tampa FL
 
Experience: Intermediate
Platform: NinjaTrader, Jigsaw
Broker: NinjaTrader Clearing, Rithmic
Trading: MNQ, MES
Posts: 39 since Mar 2020
Thanks Given: 13
Thanks Received: 18


TopGunNote View Post
@milehightrader and @casey44 I haven't made any of the changes either of you suggested.
However, shortly after my original post in response to the request by @mk77ch I did go back and correct the issue with the background coloring.
My bad for not coming back and reposting the corrected version I have included here.

Trade well,
John B.


irAdaptiveCCIv2 2021-01-18_6-40-ET

Awesome @TopGunNote! Thank you!

I hope you don't mind, but I just had a couple of questions if you have time?
  1. Are you still using this indicator as a part of your trading arsenal or have you moved on?
  2. When you did/do use this indicator, would you mind providing a summary on how you were using it and any observations?

Thank you a ton for everything you do on here; I'm learning a lot from your Journal!

MHT

Reply With Quote
Thanked by:
  #9 (permalink)
 
Botts's Avatar
 Botts 
Penetanguishene, Ontario, Canada
 
Experience: None
Platform: NinjaTrader-8
Broker: NinjaTrader Brokerage, Continuum
Trading: ZB, MES, NQ, YM
Posts: 924 since Jun 2011
Thanks Given: 4,019
Thanks Received: 3,605


milehightrader View Post
Awesome @TopGunNote! Thank you!

I hope you don't mind, but I just had a couple of questions if you have time?
  1. Are you still using this indicator as a part of your trading arsenal or have you moved on?
  2. When you did/do use this indicator, would you mind providing a summary on how you were using it and any observations?

Thank you a ton for everything you do on here; I'm learning a lot from your Journal!

MHT

I definitely still use the Adaptive CCI, I've tried using other oscillators, Stochastics, RSI, TSI, ROC (Rate of Change) and they all have their own subtle differences but eventually I come back to the CCI.

When I first started trading I had no clue what to use, there were so many choices, and for every choice there were 10 different opinions about how to use each one. In the end one of my mentors said "You have to make your charts your own" so I started looking for something I was comfortable with.

My first attempt at doing that lead me to the basic 14 period CCI that I added a 34 EMA to.
The rules for using that were simple enough.

The Basic idea was to look for long trades when the 34 EMA was above the zero line and to look for short trades when the EMA was below the zero line.

One of the basic "keys" to using a CCI that I read about was to always "look to the left".

By that I mean is the current bar on the CCI extending beyond the most recent "hump" you can see to the left?
If the answer is "yes" you will "likely" see continuation of the current move.

Basic CCI with 34 EMA 2021-01-19


Along that study path I started reading John Ehlers writeups about Noise Elimination and Zero Lag indicators and then I stumbled on a version of the AdaptiveCCI here on nexusfi.com.

With the help of a friend (who is a far better coder than I am), we put together the irAdaptiveCCI replacing the 34 EMA with an Ehlers Super Smoother.

irAdaptiveCCIv2 2021-01-19


I liked that it seemed to reduce some of the "Noise" I was seeing on the standard CCI and
I liked that the Ehlers Super Smoother was more responsive than the 34EMA of a 14period CCI was for momentum and directional clues.

Coloring the chart background came last as I was looking for a quick visual clue to help me pick the right direction to enter a trade from.
(My preference is to use the "MovingAvg_Rising" to decide the background color change. I think it helps me see the "end of a move" better.)

I'm not one to try to fade moves but if you are, you'll likely want to look to fade the moves with a short entry once the irAdaptiveCCI has gone above (or tested) the 200 line.
(The reverse of that scenario would be a long entry if the CCI has gone below (or tested) the -200 line) and the Super Smoother has changed color.

Good luck, I hope this writeup is useful for you.
Trade well,
John B

R.I.P. John Bottomley (Botts), 1956-2022.
Please visit this thread for more information.
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #10 (permalink)
 milehightrader 
Tampa FL
 
Experience: Intermediate
Platform: NinjaTrader, Jigsaw
Broker: NinjaTrader Clearing, Rithmic
Trading: MNQ, MES
Posts: 39 since Mar 2020
Thanks Given: 13
Thanks Received: 18


@TopGunNote, I really appreciate you taking your time out to explain the background of how this indicator came about and the whys and hows. Everything you've said makes sense, and I'm going to reconsider how I'm using it, which is as a reversal trade confirmation indicator. Perhaps I should be looking the other way around. I guess my personality is such that I'm a 'counter-trend', don't run with the herd kinda guy, so it definitely impacts my trading. It's quite frustrating really, but overcoming or at least applying an objective balance to my trading psychology has proven difficult. Anywho - getting sidetracked a bit!

It's also reassuring that you are still using this indicator, since you've posted quite a few.

In light of what you mentioned:
"One of the basic "keys" to using a CCI that I read about was to always "look to the left". By that I mean is the current bar on the CCI extending beyond the most recent "hump" you can see to the left?"

- I'd love to see the super smoother value posted when an inflection occurs, but perhaps just a simple breakline of the lowest low and highest high would be of benefit, and would serve the ultimate purpose I was after? Meaning, I personally find it useful to have HH/LH/LL/LH and value posted, but a breakline would certainly fit the bill.

Do you have any suggestions on requesting help on this forum to see if anyone might be willing to include breaklines in this indicator? I think there is a 'Want your NinjaTrader Indicator Coded for Free' section, and I guess it would be best to post in there? And I wonder if it could recycle some coding from SwingRaysb2 for it?

Happy Trading!
MHT

Reply With Quote




Last Updated on September 19, 2021


© 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