Help. DoubleCCI_Woodies EURUSD,M1: SetIndexBuffer function

 

I'm getting an error when I try to use DoubleCCIWoodies.mq4 if anyone is familiar with that. I also get the same thing when I try to run XO Alert.mq4

It says, " 2006.05.16 21:35:07 DoubleCCI_Woodies EURUSD,M1: SetIndexBuffer function must be called from custom indicator only"

Thanks.

 

Hi,

Look in "XO-method" post number 9. That might be the indicator you need.

moneyline

 
Morpheus:
I'm getting an error when I try to use DoubleCCIWoodies.mq4 if anyone is familiar with that. I also get the same thing when I try to run XO Alert.mq4

It says, " 2006.05.16 21:35:07 DoubleCCI_Woodies EURUSD,M1: SetIndexBuffer function must be called from custom indicator only"

Thanks.

This DoubleCCIWoodies.mq4 is using CCI indicator. May be in your case it uses custom CCI (attached).

In my case this DoubleCCIWoodies.mq4 is using standard CCI which you should have in your MetaTrader after the installation:

TrendCCI = iCCI(NULL, 0, trendCCI, PRICE_TYPICAL, i);

EntryCCI = iCCI(NULL, 0, entryCCI, PRICE_TYPICAL, i);[/CODE]

But it is probaby your case:

TrendCCI = iCustom(NULL, "CCI", 0, trendCCI, PRICE_TYPICAL, i); EntryCCI = iCustom(NULL, "CCI", 0, entryCCI, PRICE_TYPICAL, i);

So, check inside the code which custom indicator your DoubleCCIWoodies.mq4 needs, or change your piece of code to this one:

[CODE]TrendCCI = iCCI(NULL, 0, trendCCI, PRICE_TYPICAL, i);

EntryCCI = iCCI(NULL, 0, entryCCI, PRICE_TYPICAL, i);

Or use custom CCI (attached).

May be it will help.

Files:
cci.mq4  4 kb
Reason: