How to calculate maximum drawdown

hello

I would like to calculate the maximum drawdown based on the “profit” stored in the database. Maximum drawdown (MDD) is a measure of an asset’s largest price drop from a peak to a trough.
Any ideas to calculate max mud down using Bubble’s operator?

thank you

This topic was automatically closed after 70 days. New replies are no longer allowed.