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

RE: [amibroker] inconsistant explore results using addToComposite



PureBytes Links

Trading Reference Links

Did it do what you expected in earlier builds?
I haven't a clue as to what you expected. 
Put RSI/5 into each of HLOC? 
Which flags sum to 23?

Perplexed

-----Original Message-----
From: hairy_mug [mailto:WSCHWARZ@xxxxxxxxxxxxx]
Sent: Wednesday, May 28, 2003 8:00 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] inconsistant explore results using addToComposite


In 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!

                    Walt




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 http://docs.yahoo.com/info/terms/ 



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/CNxFAA/GHeqlB/TM
---------------------------------------------------------------------~->

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 http://docs.yahoo.com/info/terms/