Skip to content

Commit

Permalink
2.40
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
EarnForex authored Sep 13, 2021
1 parent 1789dbe commit 3bf4263
Show file tree
Hide file tree
Showing 8 changed files with 1,225 additions and 1,216 deletions.
Binary file modified MQL4/Indicators/PositionSizeCalculator/Defines.mqh
Binary file not shown.
Binary file not shown.
Binary file not shown.
1,019 changes: 511 additions & 508 deletions MQL4/Scripts/PSC-Trader.mq4

Large diffs are not rendered by default.

Binary file modified MQL5/Indicators/PositionSizeCalculator/Defines.mqh
Binary file not shown.
Binary file not shown.
Binary file not shown.
1,422 changes: 714 additions & 708 deletions MQL5/Scripts/PSC-Trader.mq5

Large diffs are not rendered by default.

0 comments on commit 3bf4263

Please sign in to comment.