I am currently coding a Standard Deviation and a Bollinger Bands object.

As both of those indicators make use of the simple moving average, I would like to re-use some of the code in the code library, and introduce a dependency on the SimpleMovingAverage object.

However, when someone imports my code, they will not automatically import the dependent object.

Is there a way to manage this?