PureBytes Links
Trading Reference Links
|
STATUS
- get run-time AFL status information Miscellaneous functions
(AFL 1.65)
SYNTAX status( ''statuscode'' )
RETURNS ARRAY
FUNCTION Returns run-time status of the analysis engine. Supported status codes:
a.. "stocknum" - gives you the ordinal number of currently analysed symbol
b.. "action" - gives information in what context given formula is run: 1 - INDICATOR, 2 - COMMENTARY, 3 - SCAN, 4 - EXPLORATION, 5 - BACKTEST / OPTIMIZE
c.. "rangefromdate", "rangetodate" - return current auto-analysis From-To range as DateNums
d.. "rangefromtime", "rangetotime" - return current auto-analysis From-To range as DateNums
e.. "barinrange" - returns 1 when current bar is within current auto-analysis From-To range
f.. "barvisible" - (custom indicators only) returns 1 when current bar is visible in current view
g.. "firstbarinrange" and "lastbarinrange". They return 1 (or True) on the first/last bar of analysis range.
h.. "buydelay", "selldelay", "shortdelay", "coverdelay" - return delays set in the Settings window
i.. "firstbarintest" and "lastbarintest" - similar to "firstbarinrange" and "lastbarinrange" but they return the settings of last BACKTEST/OPTIMIZATION and intermediate scans/explorations do not affect them
EXAMPLE status( "stocknum" );
----- Original Message -----
From: see_change007
To: amibroker@xxxxxxxxxxxxxxx
Sent: Tuesday, November 09, 2004 9:11 PM
Subject: [amibroker] Setting back testing dates within AFL formular
I'm doing some back testing , but I want to set the time frame within
the Formular.
Is it possible to do this ?
See Change
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Sponsor
ADVERTISEMENT
------------------------------------------------------------------------------
Yahoo! Groups Links
a.. To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
b.. To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Non-text portions of this message have been removed]
------------------------ 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/
|