Releases: EarnForex/PositionSizer
Releases · EarnForex/PositionSizer
3.01
3.00
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.