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

[amibroker] Sort Array



PureBytes Links

Trading Reference Links

Hello,

i have a variable OUp=H-L that is H-L if Open is above Pivot (H+L+C)/3
and zero if Open is lower than Pivot.
Now i need to sort the last 30 OUp that are not zero, cut the first
and the last 5 of them and calculate the average of the remaining 20 OUps.

I get nearly mad with this procedure. I found a formula to sort an
array, but can't get an array filled with OUps without the zeros.

Please help.

Best regards
Robert





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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 other support material please check also:
http://www.amibroker.com/support.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/