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

[amibroker] Any Variables in AB to Check Value of Equity on Specific Date?



PureBytes Links

Trading Reference Links


Hello,

Can anyone tell me if AB has any built-in variables that would allow 
me to check the value of my equity at a certain point in my backtest?

I am running a 10-year backtest, from Jan 1, 1994 to Jan 1, 2004.  
For example, is there an equivalent to the following pseudo-code?:

If CurrentDate = Jan 1, 1994
and EquityValue < $8,000
Then EquityValue = EquityValue + $3,000

Many thanks,

Joe





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/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/