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

Re: [amibroker] Minimum MAximum Function



PureBytes Links

Trading Reference Links

P1=C;

P2=Ref(C,-1);

P3=Ref(C,-2);

P4=Ref(C,-4);


MaxP = Max(P1,Max(P2, Max(P3,P4)));


works fine.


herman


Wednesday, August 29, 2007, 2:02:03 AM, you wrote:


>

Hello


Does Amibroker support the nesting of min() max() functions. for

example i would like to return the minimum or maximum of 4 arrays.


Array 1 2 3 4 << minimum result = 1

Array 1 2 3 4 << maximum result = 4


i have tried the following code ; min(1,min(2,min(3,4))) it returns

syntax errors. Any ideas would be appreciated. Thank you


 

__._,_.___

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___