View Single Post
  #8 (permalink)  
Old 07-25-2006, 11:06 PM
hidethereal hidethereal is offline
Member
 
Join Date: Apr 2006
Posts: 54
hidethereal is on a distinguished road
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.
Reply With Quote