Not sure if this is a programming question or I missed some functionality in MT4.
I need to capture the max draw down number on each winning trade, I need this data to help establish stop loss with tighter limits for existing EA to mitigate some of the bigger losses. The EA has no issue making great profit, the losses are killing it.
I don't think it's possible to capture this date from MT4 straight out the box and suspect I need second EA that captures tick data as trade is opened then analysis on close the lowest (or highest value on a short position) that the trade reached before closing out positive. i'm guessing then the trade number and possibly other data get written out to a file by date or some kind or history file.
Any insight / code is appreciated.