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

RE: [amibroker] Custom Group Chart



PureBytes Links

Trading Reference Links




Pushparaj<SPAN 
class=866043706-17032003>You are not collecting the OHLC data as you have 
specified equity() the "X" tells it to update all the stored fields at once. To 
calculate the index data you could try...
<SPAN 
class=866043706-17032003> 
<FONT 
color=#0000ff> 
AddToComposite(<FONT 
color=#000000>C<FONT 
color=#282828>,"~Index"<FONT 
color=#282828>,"C"<FONT 
color=#282828>);<FONT 
face=Arial>
AddToComposite(<FONT 
color=#000000>O<FONT 
color=#282828>,"~Index"<FONT 
color=#282828>,"O"<FONT 
color=#282828>);<FONT 
face=Arial>
AddToComposite(<FONT 
color=#000000>H<FONT 
color=#282828>,"~Index"<FONT 
color=#282828>,"H"<FONT 
color=#282828>);<FONT 
face=Arial>
AddToComposite(<FONT 
color=#000000>L<FONT 
color=#282828>,"~Index"<FONT 
color=#282828>,"l"<FONT 
color=#282828>);
 
<SPAN 
class=866043706-17032003>You might want to read the Addtocomposite tutorial 
in  the help files. You will find it 
useful
 Jayson 
<FONT face=Tahoma 
size=2>-----Original Message-----From: pushshanmugam 
[mailto:pushshanmugam@xxxxxxxxx]Sent: Monday, March 17, 2003 1:08 
AMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] Custom 
Group ChartHi all,I am new member of this group 
and trying Amibroker product for the first time. I would like to 
create a custom group chart. I have checked out the AddToComposite function 
but unable to use successfully. This is what I did:I created custom 
group with few stocks.I clicked on AutoAnalyser option and in the 
AutoAnalyser window I entered this code:AddToComposite(Equity(), 
"~SurrogateMedProducts", "X", atcFlagDefaults);AddToComposite(Equity(), 
"~SurrogateMedProducts", "V", atcFlagCompositeGroup | atcFlagTimeStamp 
);I clicked the Filter button and selected my custom group.Then 
clicked Scan.It created the index but the OHLC values created are same 
value. Why does it so?For e.g. from QuoteEditor window this is what 
I seeDate            
Close   Open    High    
Low     Vol    
OpenInt3/14/2003      
494.376      494.376      
494.376      494.376      
492      03/13/2003      
486.478      486.478      
486.478      486.478      
484      03/12/2003      
463.62      463.62      
463.62      463.62      
461      0What I am doing 
wrong?PushparajSend 
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


  ADVERTISEMENT









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.