A couple of updates have been released (see below) to better reflect the outcome of a previously closed trade. In a nut-shell, when using the martingale option, the EAs would not consider the swam/commission of the last trade. That proved to be a little confusing. From these versions on, the last trade's profit will include both the swap and the commission, so if martingale is enabled, the EAs will increase the lotsize based on the trade's profit + swap + commission (if that's the case).
IF (last profit + swap + commission) < 0$ THAN martingale
Fluid v9.4, Price channel v1.71, Heiken Ashi v4.44, Nonlagma v2.91, Renko Trader v1.8 and Traders Dynamic Index v3.8.