PureBytes Links
Trading Reference Links
|
--- In amibroker@xxxxxxxxxxxxxxx, Terry <MagicTH@xxxx> wrote:
Thanks. But I cannot do something like:
SetOption("InitialEquity", ValueWhen( cum(1)==1, Close, 1)*100 );
right?
SetOption-Initial Equity seems to accept only numeric input.
Thanks, Tommy
> Check out SetOption(). You can preset all kinds of things.
>
> Terry
>
> tommy_jones321 wrote:
>
> >Hi there,
> >
> >Is it possible to somehow code Initial Equity directly in .afl
code?
> >
> >I was thinking to start a backtest with Initial Equity in some
> >proportion to the first Close, for example,
> >
> >Valuewhen( cum(1)==1, Close, 1)*10
> >
> >Proportionate Initial Equity makes it possible to compare Drawdown
> >between different stocks.
> >
> >Sure it's possible to go to Automatic Analysis settings and adjust
> >that, but that's kind of awkward.
> >
> >All the best
> >
> >Tom
> >
> >
> >
> >
> >
> >
> >
> >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
> >
> >
> >
> >
> >
> >
> >
> >
> >
------------------------ 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
--------------------------------------------------------------------~->
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/
|