Hi Peter, I need store the last index value in a data base, I explain:
Today I am evaluating a lib called Ta-Lib where finance functions are available but this lib has no plot chart functions.
Also I am evaluating ChartDirector lib that has plot chart function but storing index value in a data base is a bit more complicate (I think).
I need monitor several stock shares and store finances indices in a data base (where ta-lib can help me) but for some of themes I need plot finance chart (where ChartDirector can help me)
I would like to use only ChartDirector to avoid to use 2 libs to do more or less the same thing, and of course, the indices values calculated from 2 different libs not all the time are the same. So I am in a doubt, how to store finance indices from ChartDirector?
Using addRSI as a example I would like to store the last value in my data base without need to plot the chart, my concern is, by plotting the indices all the time that a value change is resource consuming, even if this plot is made only at memory time.
Example:
First change
RSI = [12, 13 ,20, 26, 56, 30, 66, 70, 78, 75], I would like to store 75 in my data base
Second change
RSI = [13 ,20, 26, 56, 30, 66, 70, 78, 75, 60], I would like to store 60 in my data base
more ore less like a pop() function
and so on.....
Is it possible with ChartDirector only calculate finance index passing a array to the function? |