How can I plot these values in a chart (using the available dimensions)?
Can these calculations be done differently, i.e. by NOT using p() and e()?
Important to note is that I want to do this with expressions on the fly. Calculating these expressions in the script takes time and lots of hard coding (the periods are different, dimensions are different).