NexusFi: Find Your Edge


Home Menu

 





ErgoCCI -- nice, smooth, timely indicator


Discussion in Traders Hideout

Updated
      Top Posters
    1. looks_one yroyal with 6 posts (0 thanks)
    2. looks_two cory with 3 posts (6 thanks)
    3. looks_3 bimbo with 3 posts (0 thanks)
    4. looks_4 KevinHenjum with 3 posts (0 thanks)
    1. trending_up 21,969 views
    2. thumb_up 11 thanks given
    3. group 11 followers
    1. forum 25 posts
    2. attach_file 10 attachments




 
Search this Thread

ErgoCCI -- nice, smooth, timely indicator

  #1 (permalink)
 
yroyal's Avatar
 yroyal 
India
 
Experience: Intermediate
Platform: Ninjatrader
Posts: 66 since Jun 2009
Thanks Given: 14
Thanks Received: 32

Recently I came accross this ErgoCCI indicator pic. Looks to be very smooth and timely at the same time. Also seems great in showing divergences.

I suppose its available for Amibroker but couldnt find the formula. Does anyone know this indicator ? or make available for Ninja ?

Attached Thumbnails
Click image for larger version

Name:	ergocci.png
Views:	682
Size:	33.8 KB
ID:	1600  
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Exit Strategy
NinjaTrader
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
NexusFi Journal Challenge - April 2024
Feedback and Announcements
Build trailing stop for micro index(s)
Psychology and Money Management
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
59 thanks
Funded Trader platforms
37 thanks
NexusFi site changelog and issues/problem reporting
24 thanks
GFIs1 1 DAX trade per day journal
22 thanks
The Program
19 thanks
  #2 (permalink)
 sukhsan 
Ottawa, Canada
 
Experience: Beginner
Platform: Ninja
Broker: Mirus,Zen-Fire
Trading: Currencies
Posts: 120 since Jun 2009
Thanks Given: 109
Thanks Received: 79

Try indicator "iTrend" in ninja fourm
indicators---page 7

may be that will work?

SSS

Reply With Quote
  #3 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,765 since Jun 2009
Thanks Given: 3,825
Thanks Received: 4,629



sukhsan View Post
Try indicator "iTrend" in ninja fourm
indicators---page 7

may be that will work?

SSS

No, I've tested, it's quite different.
Two lines, a red and a blue one, but that's all.

Follow me on Twitter Reply With Quote
  #4 (permalink)
 
Ausy Mick's Avatar
 Ausy Mick 
Florida
 
Experience: Intermediate
Platform: NinjaTrader
Trading: ES
Posts: 69 since Jun 2009
Thanks Given: 45
Thanks Received: 65

Hi guys.

Here is the mt4 code if anyone wants to try and convert. Unfortunately I have the programming skills of a turtle .... ;-)


//---- indicator settings
#property indicator_separate_window
#property indicator_buffers 2
#property indicator_color1 Blue
#property indicator_color2 Red


// Ergo Variables

extern int pq =2;
extern int pr = 10;
extern int ps = 5;
extern int trigger =3;

//---- indicator buffers

string signal;
double mtm[];
double absmtm[];
double ErgoCCI[];
double MainCCI[];
double var1[];
double var2[];
double var2a[];
double var2b[];
//double valor1[];
//double valor2[];
//double extvar[];
//double cciSignal[];

//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
//---- 2 additional buffers are used for counting.
IndicatorBuffers(8);

//---- drawing settings
SetIndexStyle(0,DRAW_LINE,STYLE_SOLID,2,Blue);
SetIndexStyle(1,DRAW_LINE,STYLE_SOLID,1,Red);

SetIndexBuffer(0,ErgoCCI);
SetIndexLabel(0,"Egodic CCI");
SetIndexBuffer(1,MainCCI);
SetIndexLabel(1,"Trigger Line");
SetIndexBuffer(2,mtm);
SetIndexBuffer(3,var1);
SetIndexBuffer(4,var2);
SetIndexBuffer(5,absmtm);
SetIndexBuffer(6,var2a);
SetIndexBuffer(7,var2b);

//---- name for DataWindow and indicator subwindow label


//---- initialization done
return(0);
}
//+------------------------------------------------------------------+
//| Calculations |
//+------------------------------------------------------------------+
int start()
{
int limit;
int i;
int counted_bars=IndicatorCounted();
//---- check for possible errors
if(counted_bars<0) return(-1);
//---- last counted bar will be recounted
if(counted_bars>0) counted_bars--;
limit=Bars-counted_bars;

//---- main loop

//---- done

for(i=0; i <= Bars; i++)
{
mtm[i]= Close[i]- Close[i +1];
}
for(i=0; i <= Bars-1; i++)
{
absmtm[i] = MathAbs(mtm[i]);
}
for(i=0; i <= Bars-1; i++)
{
var1[i]= iMAOnArray(mtm,0,pq,0,MODE_EMA,i);
}
for(i=0; i <= Bars-1; i++)
{
var2[i]= iMAOnArray(var1,Bars,pr,0,MODE_EMA,i);
}
for(i=0; i <= Bars-1; i++)
{
var2a[i]= iMAOnArray(absmtm,0,pq,0,MODE_EMA,i);
}
for(i=0; i <= Bars-1; i++)
{
var2b[i]= iMAOnArray(var2a,0,pr,0,MODE_EMA,i);
}
for(i=0; i <= Bars-1; i++)
{
ErgoCCI[i] = (500 * iMAOnArray(var2,0,ps,0,MODE_EMA,i))/(iMAOnArray(var2b,0,ps,0,MODE_EMA,i)); //var2a[i]/var2b[i];

}
for(i=0; i<=Bars; i++)
{
MainCCI[i]=iMAOnArray(ErgoCCI,0,trigger,0,MODE_EMA,i);
}

for(i=0; i<=Bars; i++)
{
if(MainCCI[i] > ErgoCCI[i])
{signal = "SHORT";}
if (MainCCI[i] < ErgoCCI[i])
{signal = "LONG";}
if (MainCCI[i] == ErgoCCI[i])
{signal = "NEUTRAL";}

IndicatorShortName(" Ergodic CCI & Trigger: "+signal);
return(0); }
}
//+------------------------------------------------------------------+

Reply With Quote
  #5 (permalink)
 
Saroj's Avatar
 Saroj 
Arcata, CA
 
Experience: Intermediate
Platform: NinjaTrader
Trading: index futures, oil
Posts: 485 since Jun 2009
Thanks Given: 232
Thanks Received: 415

too funny Ausy... I've barely progressed to the English Bulldog stage (slow, clumsy, but headstrong)... I'm pretty sure I've seen an ergodic CCI somewhere in the NT world, but my search didn't find it... maybe somewhere else... I know I've seen it on a NT chart but its been a few years and I've lost touch with the fellow who had it...

yroyal, keep searching... think you'll find it eventually.. and let us know please.

Reply With Quote
  #6 (permalink)
 
yroyal's Avatar
 yroyal 
India
 
Experience: Intermediate
Platform: Ninjatrader
Posts: 66 since Jun 2009
Thanks Given: 14
Thanks Received: 32

Yes, its pretty much different than itrend.. thanks Ausy for providing the metatrader code for this. Please make sure its for the same indicator. If you can attach a metatrader chart with this indicator, that would help.

I request the expert programmers to convert this to Ninja....

Started this thread Reply With Quote
  #7 (permalink)
bimbo
mmmm
 
Posts: 4 since Sep 2009
Thanks Given: 1
Thanks Received: 0

I have tried that indicator in Metatrader.If anyone gets the AFL for the same please post the same

Reply With Quote
  #8 (permalink)
 
yroyal's Avatar
 yroyal 
India
 
Experience: Intermediate
Platform: Ninjatrader
Posts: 66 since Jun 2009
Thanks Given: 14
Thanks Received: 32

The best part is that it seems to show divergences quite well... See the one in December and then again in mid june... Bimbo i am trying hard to find the AFL... But if someone can code this to Ninja, it would be a valuable tool in a trader's arsenal

Started this thread Reply With Quote
  #9 (permalink)
 
Ausy Mick's Avatar
 Ausy Mick 
Florida
 
Experience: Intermediate
Platform: NinjaTrader
Trading: ES
Posts: 69 since Jun 2009
Thanks Given: 45
Thanks Received: 65

Hi guys

I have attached two screen shots - one from my metatrader platform, the other from NT.
Both these show the ES 5min chart with the Ergodic indicator on them.
Metatrader - Ergodic cci and Ninja - ECO2
I used the same settings but it looks like the metatrader indie has some additional smoothing built in.

Maybe we can smooth the ECO with an additional moving average. Unfortunately my
programming skills will not allow me to do this.

Take care

Mick

Attached Thumbnails
Click image for larger version

Name:	Ninja.JPG
Views:	422
Size:	66.3 KB
ID:	1644   Click image for larger version

Name:	Meta.png
Views:	412
Size:	26.5 KB
ID:	1645  
Reply With Quote
  #10 (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


How about SMI2 indicator it looks just as smooth and timely. Also note it gave double bottom when ergo gave none.

Attached Thumbnails
Click image for larger version

Name:	es5m.png
Views:	541
Size:	54.3 KB
ID:	1659  
Reply With Quote
Thanked by:




Last Updated on March 9, 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