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

RE: [amibroker] inconsistent explore results using addToComposite



PureBytes Links

Trading Reference Links




<SPAN 
class=465140604-29052003>Walt,
<SPAN 
class=465140604-29052003>RSIlist is set to the rsi(14). Your addtocomposite will 
then look at each stocks rsi(14) and divide that number by 5. This will occur 
for each day the scan is set to run...so....if your n=1 days is set to 10 then 
AB will check the RSI(14) for each of the 10 days and divide the value by 5 for 
each day, for each stock in your watchlist, or for each stock that passes your 
filter. To calculate today's values only set n=1
<SPAN 
class=465140604-29052003> 
You 
might also want to look at your flag setting. Currently you have flags set to 23 
and I do not believe that is a valid setting
 
Regards, 
Jayson 
<FONT face=Tahoma 
size=2>-----Original Message-----From: hairy_mug 
[mailto:WSCHWARZ@xxxxxxxxxxxxx]Sent: Wednesday, May 28, 2003 11:00 
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] 
inconsistant explore results using addToCompositeIn the 
latest Beta version, the following code does not seem to do what I 
expect:Buy=0;Sell=0;Filter=1;AddColumn( RSI(14) 
,"none",1);RSIList=RSI(14);AddToComposite(RSIList/5, "~rsi", "X",23 
);I have a filter with 5 stocks and a 1 day date range.After the 
scan, my result column is as expected; 5 stocks wtih RSI values.BUT, 
The composite "~rsi" plot has many more entries with the 5 
values"sprinkled-in" with no discernable pattern or frequency.NOTE: I 
realized that the scan is run once for every stock, hence the "rsiList/5" to 
get the correct values in the composite.If there is a better way, not 
using scripting (I'm forcing myself to learn Amibroker), please point me in 
the right direction...Thanks in advance for any 
help!                    
WaltSend 
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
suggest@xxxxxxxxxxxxx-----------------------------------------Post 
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
group FAQ at: <A 
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Your use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service. 







Yahoo! Groups Sponsor












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



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.