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

[amibroker] Amiquote and eSignal



PureBytes Links

Trading Reference Links




Among other things, dump  <FONT color=#0000ff 
size=2>Status(<FONT color=#ff00ff 
size=2>"LastBarInTest")
---SYNTAX  status( 
''statuscode'' ) RETURNS ARRAY FUNCTION  Returns run-time 
status of the analysis engine. Supported status codes:"stocknum" - gives you 
the ordinal number of currently analysed symbol"action" - gives information 
in what context given formula is run: 1 - INDICATOR, 2 - COMMENTARY, 3 - SCAN, 4 
- EXPLORATION, 5 - BACKTEST / OPTIMIZE"rangefromdate", "rangetodate" - 
return current auto-analysis From-To range as DateNums"rangefromtime", 
"rangetotime" - return current auto-analysis From-To range as 
DateNums"barinrange" - returns 1 when current bar is within current 
auto-analysis From-To range"barvisible" - (custom indicators only) returns 1 
when current bar is visible in current view"firstbarinrange" and 
"lastbarinrange". They return 1 (or True) on the first/last bar of analysis 
range."buydelay", "selldelay", "shortdelay", "coverdelay" - return delays 
set in the Settings window"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-----Original Message-----From: mickeyamelinckx [<A 
href="">mailto:mickeyA@xxxxxxxxxxx]Sent: 
Friday, April 30, 2004 6:20 AMTo: amibroker@xxxxxxxxxxxxxxxSubject: 
[amibroker] need some debugging help on this oneAnyone could give me 
a hand with solving this error I get with sometickers on the formula below 
????This is the error I´m getting !   I thought this was due 
to toolittle data, so I added SETBARSREQUIRED but this did not solve 
thething, I guess because of the filter already included !I thank 
you !!!!Line 14, Column 29:RankNum = 
(Price[b]/price[b-62]*2+Price[b-63]/Price[b-125]+Price[b-126]/Price[b-188]+Price[b-189]/Price[b-251])/5;----------------------------^Error 
7.Subscript out of range// QP QRS 
CalculationsBuy=Sell=Short=Cover=0;Filter=Status("LastBarInTest") AND 
BarCount-1 > 252;SetOption("NoDefaultColumns",False);SetBarsRequired( 
255, 0 ) ;Price = Close;// using numbers 
(faster)b=BarCount-1;RankNum = 
(Price[b]/price[b-62]*2+Price[b-63]/Price[b-125]+Price[b-126]/Price[b-188]+Price[b-189]/Price[b-251])/5;// 
using arrays (slower)RankArray = 
Price/Ref(Price,-62)*0.4+Ref(Price,-63)/Ref(Price,-125)*0.2+Ref(Price,-126)/Ref(Price,-188)*0.2+Ref(Price,-189)/Ref(Price,-251)*0.2;AddColumn(RankNum,"RankNum",1.2);AddColumn(RankArray,"RankArray",1.2);------------------------ 
Yahoo! Groups Sponsor ---------------------~-->Buy Ink Cartridges or 
Refill Kits for your HP, Epson, Canon or LexmarkPrinter at MyInks.com.  
Free s/h on orders $50 or more to the US & Canada.<A 
href="" 
target=_blank>http://www.c1tracking.com/l.asp?cid=5511<A 
href="" 
target=_blank>http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM---------------------------------------------------------------------~->Send 
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
suggest@xxxxxxxxxxxxx-----------------------------------------Post 
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx(Web page: <A 
href="" 
target=_blank>http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
group FAQ at: <A 
href="" 
target=_blank>http://groups.yahoo.com/group/amibroker/files/groupfaq.htmlYahoo! 
Groups Links<*> To visit your group on the web, go 
to:     <A 
href="" 
target=_blank>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:     <A 
href="" 
target=_blank>http://docs.yahoo.com/info/terms/  



Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html








Yahoo! Groups Sponsor


  ADVERTISEMENT 












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 the Yahoo! Terms of Service.