Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Below I show a TradingChart specific to the SP500 index for a one month period. How do I produce a similar plot where three other indices (ASX200, Shanghai Comp, Nikkei) can be compared without much overlap between the data associated with the different indices.

Here is the code that will generate the SP500 chart.

TradingChart[{"SP500", {{2015, 7, 24}, {2015, 8, 24}}}, {"Volume", 
  "SimpleMovingAverage", "BollingerBands"}, ImageSize -> Large]

enter image description here

share|improve this question

put on hold as off-topic by MarcoB, blochwave, Michael E2, ilian, Öskå 2 days ago

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – MarcoB, blochwave, Michael E2, ilian, Öskå
If this question can be reworded to fit the rules in the help center, please edit the question.

    
It is not obvious what you mean by "without interference". How is the combined chart to look? –  m_goldberg Aug 25 at 3:34
    
@Goldberg What I mean is that the data for different indices do not interfere too much so as to make the visual presentation messy. It is OK if the graphs are placed side by side as an array if this is unavoidable. Importantly, what do I substitute for "SP500" for the other ones (ASX200, Nikkei etc)? –  thils Aug 25 at 3:38

1 Answer 1

up vote 2 down vote accepted

It's quite easy once one finds out the correct symbols for the various indices. I found them on Yahoo.

Column[
  TradingChart[{#, 
     {{2015, 7, 24}, {2015, 8, 24}}}, 
     {"Volume", "SimpleMovingAverage", "BollingerBands"}, 
     PlotLabel -> #, 
     ImageSize -> Medium] & 
   /@ 
     {"SP500", "^AXJO", "^SSEC", "^N225"}, 
   Spacings -> 1.5]

charts

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.