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

Re: [amibroker] Foreign Plot question



PureBytes Links

Trading Reference Links

Hi Prashanth,

I'm not certain what's going with your formula but the following formula
will do what you want.

if ( IsIndex() ) {
Plot(Foreign("~Volume","V"),"Vol",colorAqua, styleHistogram);
}
else {
Plot( Volume,"V", colorBlack, styleHistogram );
}


Regards,
William Peters
www.amitools.com


Friday, December 10, 2004, 9:09:36 AM, you wrote:

  
P> Hello,
P>  
P> I am trying to Plot the overall  volumes in the Index chart.
P> What I have done is create a composite ~Volume and  then try and
P> plot the same only for the Index scrip while not plotting for 
P> anyother scrip. The formula I gave was
P>  
P> IIf(IsIndex(),(Plot(Foreign("~Volume","V"),"Vol",colorAqua,
P> styleOwnScale |
P> styleHistogram)),Plot(V,"V",colorBlack,styleOwnScale |
P> styleNoDraw));
P> Though the above formula plots the Composite  Volume, it does
P> so in each and every scrip and not just the scrips marked Index. 
P> Could any one here please tell me as to what I am doing wrong.
P> Thanks and Regards
P> Prashanth
P>  




------------------------ Yahoo! Groups Sponsor --------------------~--> 
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
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:
    http://docs.yahoo.com/info/terms/