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

Re: [amibroker] Re: Is there a WAIT-type function?



PureBytes Links

Trading Reference Links

Thanks for the reply. I missed this function in my search. One question 
though - what i don't understand is that after executing the HOLD 
function does the code following reference the original current bar or 
bar+1 (if my hold period is 1, for example)??

>
> See HOLD-function:
>
> SYNTAX  hold( EXPRESSION, periods ) 
> RETURNS ARRAY 
> FUNCTION  Holds a "true" result of EXPRESSION for the specified
> number of periods. This true result is held true over the number of
> periods specified even if a "false" result is generated. 
> EXAMPLE hold( cross(rsi(14),70),5 ) 



------------------------ Yahoo! Groups Sponsor --------------------~--> 
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/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/