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

[amibroker] Foreign Plot question



PureBytes Links

Trading Reference Links

Hello,
 
I am trying to Plot the overall volumes in the Index chart. What I have done is create a composite ~Volume and then try and plot the same only for the Index scrip while not plotting for anyother scrip. The formula I gave was
 

IIf(IsIndex(),(Plot(Foreign("~Volume","V"),"Vol",colorAqua, styleOwnScale | styleHistogram)),Plot(V,"V",colorBlack,styleOwnScale | styleNoDraw));

Though the above formula plots the Composite Volume, it does so in each and every scrip and not just the scrips marked Index. Could any one here please tell me as to what I am doing wrong.

Thanks and Regards

Prashanth

 



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

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html



Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links