DMI and ADX with different parameters

#1
Hi,

I'm a new one to amibroker, I hope u can help...

I'm looking for an afl of ADX - DMI where i can have for example ADX parameter 10 and DMI parameter 14

Thankx a lot for your help :)
 

KelvinHand

Well-Known Member
#2
ADX_Pds = Param("ADX Range", 10, 3, 300);
DI_Pds = Param("+DI/-DI Range", 14, 3, 300);

My_ADX = ADX(ADX_pds);
My_PDI = PDI(DI_Pds);
My_MDI = MDI(DI_Pds);

Plot(My_ADX, "ADX", colorBlue, styleThick);
Plot(My_PDI, "+DX", colorGreen);
Plot(My_MDI, "-DX", colorRed);
 

Similar threads

Broker Special Offers

Intraday Higher Leverage

Save up to 90% in brokerage and get higher leverage for intraday trades.

Name:Phone:
Email:City:
State:
Are you a day trader?