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

Re: [amibroker] inconsistant explore results using addToComposite



PureBytes Links

Trading Reference Links

Hello,

1. please read IntroductionToAtc guide by Herman van den Bergen
http://www.amibroker.net/3rdparty/IntroToAtc.pdf
2. never, ever change default flags if you don't know exactly what you are doing.
To use default flags write:
AddToComposite(RSIList/5, "~rsi", "X" );


Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "hairy_mug" <WSCHWARZ@xxxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, May 29, 2003 5:00 AM
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/