https://medium.com/@jsgastoniriartecabrera/back-testing-risk-control-strategy-based-on-supertrend-and-macd-in-pine-python-mql5-c-afa9acd4fa06