How to check maximum drawdown easy way ? My idea is : buy first Open of the series and sell last Close of the series. But how to call maxDD in next lines of the code? Thank you