Message Boards Message Boards

GROUPS:

Adding Functions to exisiting list in InteractiveTradingChart

Posted 2 years ago
3749 Views
|
4 Replies
|
3 Total Likes
|

Is there a way to add personal functions to the already existing list in InteractiveTradingChart ?

POSTED BY: Luke Jennings
4 Replies
Posted 2 years ago

Luke:

Check out this post.

POSTED BY: Mike Besso

Great post, Mike. I can definitely use this. What I would like to do with each of these personal indicators is place their functionality to button options inside a manipulate so the chart can update within the same interface. Is there any resources on this functionality in Finance or other fields that could be sent my way as well?

POSTED BY: Luke Jennings
Posted 2 years ago

Hi Luke,

Do you mean something like this?

data = FinancialData["GOOGL", "OHLCV", DatePlus[-100]];
Manipulate[TradingChart[data, FinancialIndicator[indicator, 50]],
  {indicator, {"SMA", "DEMA"}}]
POSTED BY: Rohit Namjoshi

Rohit,

Yes, that is exactly what I was getting at. I think I can take your code and Mike's post and run with that.

Thank you!

POSTED BY: Luke Jennings

Group Abstract Group Abstract