[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] EOD source



PureBytes Links

Trading Reference Links

m=Param("MDI",5,2,20,1);
p=Param("PDI",5,2,20,1);
a=Param("ADX",5,2,20,1);


Plot(MDI(m),"M",colorRed,styleLine);
Plot(PDI(p),"P",colorGreen,styleLine);
Plot(ADX(a),"A",colorBlue,styleLine);



I just put everything with a default of "5" but you can vary the 
periods of the mdi, pdi or adx....

Cheers
Mark

--- In amibroker@xxxxxxxxxxxxxxx, "rgeller3403" <rgeller3403@xxxx> 
wrote:
> I am new to Amibroker and I love the program and this excellent 
group.
> 
> I am trading a system where I need to use ADX with one period and 
DMI
> with another.
> 
> In the GUI on v4.5 I can go into Preferences-->Other Indicators but
> there is only one option, that affects the period for both ADX and 
DMI.
> 
> How can I have a different period for each? Thank you
> 
> --Richard



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/