
07-25-2006, 11:06 PM
|
|
Member
|
|
Join Date: Apr 2006
Posts: 54
|
|
Quote:
|
Originally Posted by Maji
Create another Variable like this just below the ADXPeriod
extern int DIPeriod = 5;
Now go to the following lines:
PlusDiBuffer[i]=iMAOnArray(PlusSdiBuffer,Bars,ADXPeriod,0,MODE_EM A,i);
and
MinusDiBuffer[i]=iMAOnArray(MinusSdiBuffer,Bars,ADXPeriod,0,MODE_E MA,i);
change ADXPeriod to DIPeriod.
Hope this helps.
Maji
|
Can someone post the compiled version of this? I need to be able to change the DI+ DI- levels but I get errors when I attempt to compile this.
|