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

Re: [amibroker] reset LLV HHV?



PureBytes Links

Trading Reference Links

you are using circular logic, ie the buy and sell are determined by
the previous buy ad sell positions.
you will need to use a for loop top get what you want

On 10/12/05, Stockjunkie@xxxxxxxxx <Stockjunkie@xxxxxxxxx> wrote:
> Hello there...
>
> is it possible to reset LLv and HHV on a buy or sell?
>
> say something like:
>
> hh = hhv(bars since sell)
> ll = llv(bars since buy)
>
> If (hh-ll => 3 and (c < hh+ll)/2, buy,sell)
>
> this seems like something that would be similar to a circular
> reference in excel and would not work but it would be cool if it
> can...
>
> rnr
>
>
>
> 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
>
>
>
>
>
>
>
>


--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://e-wire.net.au/~eb_kavan/ab_write.htm


------------------------ 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/