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

[amibroker] Moving Local Layouts



PureBytes Links

Trading Reference Links

:) I've been combing the help files a lot on both Amibroker and 
Wealth-Lab... I think I know the issue.. the question is learning 
the fix :( ..

Wealth defines their Peak(Bar, ARRAY, change)...which is slightly 
different in Amibroker.. so... 

Is there a way to pass in a specified period of time/bars to look at 
when passing in to the Peak function or is there a way to say 
higharray = subset of high ? I've looked at a few functions for 
array manipulation and was looking to avoid trying a for loop to 
create a new array...


Thanks!

--- In amibroker@xxxxxxxxxxxxxxx, "Graham" <gkavanagh@xxxx> wrote:
> Elee, the best place for syntax is normally the help pages
> SYNTAX  peak(ARRAY, change, n = 1)  
> RETURNS ARRAY  
> FUNCTION  Gives the value of ARRAY n-th peak(s) ago. This uses the 
Zig Zag
> function (see Zig Zag) to determine the peaks. n =1 would return 
the value
> of the most recent peak. n =2 would return the value of the 2nd 
most recent
> peak. Caveat: this function is based on Zig-Zag indicator and may 
look into
> the future.  
> EXAMPLE peak(close,5,1)  
> 
> Cheers,
> Graham
> http://e-wire.net.au/~eb_kavan/
> 




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
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/