Skip to content

Releases: EarnForex/PositionSizer

3.01

28 Jul 11:55
765c85e
Compare
Choose a tag to compare

Compiled in MT4 Build 1353 and MT5 Build 3320.

3.00

26 Jul 14:08
9cdc085
Compare
Choose a tag to compare

Compiled in MT4 Build 1353 and MT5 Build 3320.

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.