My idea is to obtain the list of strategies loaded on the chart, and if the strategy has already been loaded, prevent them from enabling it.
In other words, there should only be one strategy loaded with the same name (or I don't know how to identify it), and if there is already another one, prevent them from enabling it.
How can I do this?
Thank You
Comment