Skip to content

Releases: EarnForex/PositionSizer

2.42

28 Feb 11:51
65afbd7
Compare
Choose a tag to compare
  1. 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).
  2. Added the TAB key as a keyboard shortcut to switch the trade's direction from long to short and vice versa.
  3. Fixed a bug that resulted in a misplaced line label when switching from long-quote symbol to a short-quote one in MT4.
  4. 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.
  5. Fixed SL and TP lines snapping back while dragging them to a new level.
  6. Fixed portfolio risk calculation by adding existing swap values to it (MT4 version only).
  7. Script: Fixed detection of pending/instant order type by analyzing the panel rather than relying on price levels alone.
  8. Script: Added extra information in the order confirmation window.
  9. 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.
  10. 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.
  11. Script: Improved execution performance due to fewer calls to chart object values.
  12. Changed "pips" to "points" everywhere for clarity.

2.41

22 Oct 12:26
c203da4
Compare
Choose a tag to compare
  1. Added an input parameter StartPanelMinimized.
  2. Added ATRCandle input parameter.
  3. Fixed a compatibility bug with other panels.
  4. Fixed a bug in portfolio risk calculation.
  5. Fixed a bug that caused very large values in extra TP edit fields.
  6. Fixed a minor glitch with extra TP lines.
  7. Fixed a bug that caused the PSC-Trader script (version 1.14) to open a trade without stop-loss.
  8. Fixed a bug in the PSC-Trader script that caused opening trades with random volume.
  9. Renamed input parameters UseFixedSLDistance and UseFixedTPDistance to SLDistanceInPoints and TPDistanceInPoints.

2.40

13 Sep 12:07
3bf4263
Compare
Choose a tag to compare
  1. 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.
  2. 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.
  3. Fixed stop-loss value switching to -1 pip when switching the chart's symbol to a symbol without loaded history in MT5.
  4. Fixed margin calculation for CFDs in the MT5 version, which sometimes could do it incorrectly.
  5. Fixed a bug with position size calculation for futures instruments in MT5.
  6. Fixed decimal places calculation accuracy.
  7. Script: Added sounds on successful and failed order execution.

2.39

14 Jul 13:00
7e8ad43
Compare
Choose a tag to compare

Fixed an issue with settings files for trading symbols that contain dots in their name.

2.38

07 Jul 13:06
8d0985c
Compare
Choose a tag to compare
  1. Added possibility to edit the account balance field directly via the panel.
  2. Added the CustomBalance input parameter to set account balance via input parameters.
  3. Added an input parameter (DefaultTPLockedOnSL) to control the default state of the Take-profit button on the Main tab.
  4. Improved labeling of the DefaultCommission input parameter.
  5. Fixed multiple TP values on the Main tab when UseFixedTPDistance is set to true.
  6. 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.
  7. Fixed a bug when dragging the stop-loss line or changing the default SL stopped working when UseFixedStopLoss was set to true.
  8. 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.
  9. Fixed deleted lines restoration to restore them hidden when necessary.
  10. 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

13 Apr 10:05
9dde31f
Compare
Choose a tag to compare
  1. Fixed a bug that caused the stop-loss to reset to its default value (if given via the DefaultSL input parameter) on timeframe switching.
  2. Fixed a bug in the MT5 version that prevented swap values to appear on the Swaps tab.

2.36

06 Apr 11:42
5d613ef
Compare
Choose a tag to compare
  1. 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.
  2. Fixed deletion of unnecessary TP lines when switching from higher number of TPs to a lower one.

2.35

20 Mar 19:07
a20fe8b
Compare
Choose a tag to compare

MT5 only: fixed a bug with window focus being moved to the chart with a minimized PSC panel.

2.34

20 Mar 17:08
98d4b38
Compare
Choose a tag to compare
  1. Added multiple TP lines and TP input fields on the Main tab when the ScriptTakePorfitsNumber input parameter is greater than 1.
  2. Added additional SL label option to show risk above the stop-loss line. This can be helpful when the panel is minimized.
  3. Added risk-to-reward ratio display to the additional TP label.
  4. Added lot display for additional TP labels when multiple TP levels are in use.
  5. Added Stop-loss button when default SL value is set via input parameters.
  6. Added current symbol filter checkbox to the Risk tab.
  7. Added automatic restoration of line objects if they get accidentally deleted.
  8. Added helpful tooltips to relevant panel elements and lines.
  9. 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.
  10. MT5 wide format for 8 decimal places now kicks in only if either account balance or the chart symbol use so many decimal places.
  11. PSC-Trader script will now correctly detect the status of the Disable trading when lines are hidden checkbox.
  12. 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.
  13. Fixed a bug in MT5 version that prevented the LinesSelected input parameter from working properly.
  14. 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.
  15. 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.
  16. Fixed potential 'division by zero' errors when chart data isn't ready.

2.33

13 Dec 11:16
f42c3f1
Compare
Choose a tag to compare
  1. Fixed potential 'division by zero' error.
  2. Fixed calculations when trading currency pair with Base Currency == Account Currency (e.g., USD/JPY with USD account).
  3. Fixed extra trailing zeros in swap display.