Equity Curve Straigthness Optimization with Metatrader
An underrated feature of Metatrader's Backtester is its ability to define a custom fitness function for the genetic optimization process. We will try to optimize the equity curve for straightness.