Can someone assist me in retrieving the period value from SMA indicator series by clicking on the series?
series : [{
name: 'AAPL Stock Price',
type : 'line',
id: 'primary',
data : data
}, {
name: '15-day SMA',
linkedTo: 'primary',
showInLegend: true,
type: 'trendline',
algorithm: 'SMA',
periods: 15
}]
If you are familiar with SMA technical indicators, you can check out this link for more information- http://jsfiddle.net/laff/WaEBc/
The reference sets the period value to 15. I just need a way to alert this value. Thank you in advance!