Ero sivun ”Widget:Test4” versioiden välillä
Järvi-meriwikistä
Rivi 749: | Rivi 749: | ||
memo.seriesA[ memo.seriesA.length - 1 ].obses.push( { | memo.seriesA[ memo.seriesA.length - 1 ].obses.push( { | ||
'x': memo.avgWA[ w ].cDate, | 'x': memo.avgWA[ w ].cDate, | ||
− | 'y': memo.avgWA[ w ]. | + | 'y': memo.avgWA[ w ].hmas, |
'style': null, | 'style': null, | ||
'tooltip': '', | 'tooltip': '', | ||
Rivi 756: | Rivi 756: | ||
} | } | ||
− | + | /* | |
memo.seriesA.push( { 'type': 'scatter', 'title': 'Hull', 'color': 'green', 'size': 0, 'line': 2.33, 'legend': true, 'trendline': 'none', obses: [] } ); | memo.seriesA.push( { 'type': 'scatter', 'title': 'Hull', 'color': 'green', 'size': 0, 'line': 2.33, 'legend': true, 'trendline': 'none', obses: [] } ); | ||
for ( var w in memo.avgWA ) { | for ( var w in memo.avgWA ) { | ||
Rivi 769: | Rivi 769: | ||
} | } | ||
− | + | */ | |
for ( var w=0; w<memo.avgWA.length; w++ ) { | for ( var w=0; w<memo.avgWA.length; w++ ) { | ||
//Integer( SquareRoot(Period) ) WMA [2 x Integer(Period/2) WMA(Price) - Period WMA(Price)] | //Integer( SquareRoot(Period) ) WMA [2 x Integer(Period/2) WMA(Price) - Period WMA(Price)] |