Feature Request: xPower

I’ve had a crack and posted the scripts here

{
watts = streams. Get(“fixed_watts”).data
w25 = icu.stats.calcMovingAvg(watts, 25)
tss = 0
for (let i = 0; i < w25.length; i++) {
w = (w25[i]/icu.sportSettings.ftp)**2;
tss += w
}
tss = tss/36
//activity.icu_training_load = tss
}