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

[amibroker] Re: Total Equity Stop



PureBytes Links

Trading Reference Links

Let's say I have a system, max 10 open positions, that will buy 
(long) a position on a cross above it's 200 bar MA and sell (long) a 
position on a cross below it's 200 bar MA. 

It's simple to code this, but when I try to access the equity array 
to measure drawdowns & initiate sales + prevent buys, for some 
reason it doesn't respond.  Can you help me with any guidance?  
Thanks again.

--- In amibroker@xxxxxxxxxxxxxxx, Graham <kavemanperth@xxx> wrote:
>
> Yes you can program this using the advanced backtest code
> 
> -- 
> 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
> 
> 
> On 17/07/06, inner_records <inner_records@xxx> wrote:
> > How can I program Amibroker to sell all holdings if my total 
equity
> > drops 10%? Thank you very much. Dave.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > 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
> >
> >
> >
> >
> >
> >
> >
>