I am seeking some advice or a point in a direction.
I have been coding for quite some time on some differant strategies, chart traders, indicators etc..
some of it i have built with abstract classes even though it is not recomanded, i took inspiration in this excample.
however i now feel that i am very dependant on the main part as 100% everything points to this.
so i was thinking, is there a recomanded way to split large and complex scripts up ?
i like that with the abnstract class i have my strategies small and very simple with only the actual strategy logic, added indicators etc.
and everything else is in the abstract class and can be re-used in all strategies.
but i would like the posiblity to split some parts of the abstract class out so that it can be used from differant abstract classes.
example.
I have a Filters function,
this filters function have many inputs to select from and indicators to add as needed.
would it be posible to split this out in a seperate file So this can be used from differant projects or differant abstract classes ?
I could easily just split it out in a indicator but the problem with this is then i would loose the input selections when adding the strategy and lose the optimize the the inputs together with the strategy inputs.

Comment