'How do I add support/resistance levels in freqtrade?

I would like to add support/resistance levels to my freqtrade strategy. I followed this tutorial and plotted out support/resistance levels using matplotlib. I would like to do something similar on freqtrade. I used the technical.pivots_points library in hopes of doing this but it did not work. Is there a way to do this?

The purple line is the resistance when using thechnical.pivots_points: enter image description here

What I would like it to look like: enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source