MT5 Version 5.00 build 4790
Position Sizer ver 3.10
Sharing a bug I found and sharing to the admin/code owner confirm.
Found a bug: Unable to set the TP multiplier edit box(m_EdtATRMultiplierTP). It always follow the SL multiplier edit box value (m_EdtATRMultiplierSL).
Found the bug (posible typo) at Position Sizer.mqh > ProcessTPChange(const bool) > Line 2401:
Original Code:
MQL5:
Line 2401 sets.ATRMultiplierTP = NormalizeDouble(sets.ATRMultiplierSL * TP_Multiplier, 2);
I updated Code (to fix):
Code:
Line 2401 //### --- bug? original line on the comment below
Line 2402 //-- sets.ATRMultiplierTP = NormalizeDouble(sets.ATRMultiplierSL * TP_Multiplier, 2);
Line 2403 sets.ATRMultiplierTP = NormalizeDouble(sets.ATRMultiplierTP * TP_Multiplier, 2);
I have been a fan of this tools since version 2.4x. Kudos to the code owner for adding more features and updated.
My wishlist feature:
An option to enable / disable to keep all the lines and labels on the chart when exiting the panel.