Releases: EarnForex/PositionSizer
Releases · EarnForex/PositionSizer
2.42
- Added a display of the current trade direction (long/short) as an arrow in the top-left corner of the panel (MT5) or as a word in the panel's caption (MT4).
- Added the TAB key as a keyboard shortcut to switch the trade's direction from long to short and vice versa.
- Fixed a bug that resulted in a misplaced line label when switching from long-quote symbol to a short-quote one in MT4.
- Fixed a typo in the ScriptTakeProfitsNumber input parameter. It may reset after you update to a new version — don't forget to change it back to your preferred value if this happens.
- Fixed SL and TP lines snapping back while dragging them to a new level.
- Fixed portfolio risk calculation by adding existing swap values to it (MT4 version only).
- Script: Fixed detection of pending/instant order type by analyzing the panel rather than relying on price levels alone.
- Script: Added extra information in the order confirmation window.
- Script: Fixed order opening when stop-loss is too close to the current price. Previously, it could result in a trade without a stop-loss; no trade will be opened now.
- Script: Added an option to append automatically generated suffix to order commentary. This can be helpful to uniquely mark sets of orders when trading with multiple take-profit levels. A default value input parameter (AutoSuffix) has been added.
- Script: Improved execution performance due to fewer calls to chart object values.
- Changed "pips" to "points" everywhere for clarity.
2.41
- Added an input parameter StartPanelMinimized.
- Added ATRCandle input parameter.
- Fixed a compatibility bug with other panels.
- Fixed a bug in portfolio risk calculation.
- Fixed a bug that caused very large values in extra TP edit fields.
- Fixed a minor glitch with extra TP lines.
- Fixed a bug that caused the PSC-Trader script (version 1.14) to open a trade without stop-loss.
- Fixed a bug in the PSC-Trader script that caused opening trades with random volume.
- Renamed input parameters UseFixedSLDistance and UseFixedTPDistance to SLDistanceInPoints and TPDistanceInPoints.
2.40
- Added a Max PS button (turned on via the new ShowMaxPSButton input parameter) to quickly set the position size to the maximum value allowed by the account's margin.
- Added advanced reference pair search for MT4 to find correction coefficient using two currency pairs for CFDs. For example, the PSC will now use both USD/SEK and USD/CHF rate to convert profit/loss for CAD/CHF trades if the account currency is SEK.
- Fixed stop-loss value switching to -1 pip when switching the chart's symbol to a symbol without loaded history in MT5.
- Fixed margin calculation for CFDs in the MT5 version, which sometimes could do it incorrectly.
- Fixed a bug with position size calculation for futures instruments in MT5.
- Fixed decimal places calculation accuracy.
- Script: Added sounds on successful and failed order execution.
2.39
2.38
- Added possibility to edit the account balance field directly via the panel.
- Added the CustomBalance input parameter to set account balance via input parameters.
- Added an input parameter (DefaultTPLockedOnSL) to control the default state of the Take-profit button on the Main tab.
- Improved labeling of the DefaultCommission input parameter.
- Fixed multiple TP values on the Main tab when UseFixedTPDistance is set to true.
- Fixed an issue with TP value going too high or too low when switching the chart's symbol. It will now get reset to the DefaultTP input parameter if given, or zero otherwise.
- Fixed a bug when dragging the stop-loss line or changing the default SL stopped working when UseFixedStopLoss was set to true.
- Fixed a glitch that caused the Stop price line to display on top of the panel when switching from Pending to Stop Limit order type in MT5 version.
- Fixed deleted lines restoration to restore them hidden when necessary.
- Fixed a bug when the panel's position and minimization status got reset after another indicator is added to the chart's main window and the user switches the timeframe or restarts the platform.
2.37
2.36
- Changed how position size is distributed by multiple TP positions. Now the sum position size will equal the calculated total position size. If total position size cannot be divided equally, main TP trade will receive the remainder. Suggested and first code solution provided by @akhater.
- Fixed deletion of unnecessary TP lines when switching from higher number of TPs to a lower one.
2.35
2.34
- Added multiple TP lines and TP input fields on the Main tab when the ScriptTakePorfitsNumber input parameter is greater than 1.
- Added additional SL label option to show risk above the stop-loss line. This can be helpful when the panel is minimized.
- Added risk-to-reward ratio display to the additional TP label.
- Added lot display for additional TP labels when multiple TP levels are in use.
- Added Stop-loss button when default SL value is set via input parameters.
- Added current symbol filter checkbox to the Risk tab.
- Added automatic restoration of line objects if they get accidentally deleted.
- Added helpful tooltips to relevant panel elements and lines.
- Added a warning for cases when calculated position size is greater than the maximum position size possible with current free margin — position size becomes red.
- MT5 wide format for 8 decimal places now kicks in only if either account balance or the chart symbol use so many decimal places.
- PSC-Trader script will now correctly detect the status of the Disable trading when lines are hidden checkbox.
- Fixed a bug in MT5 version that made the stop price line appear after input parameters change even if order type wasn't set to stop limit.
- Fixed a bug in MT5 version that prevented the LinesSelected input parameter from working properly.
- Fixed a bug in MT4 that resulted in invalid stop-loss values when SL in pips was used and the chart's symbol switch occurred.
- Fixed a bug in MT5 that resulted in some panel fields to appear when a chart timeframe was switched on a minimized panel in the locked take-profit mode.
- Fixed potential 'division by zero' errors when chart data isn't ready.