-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
6 changed files
with
69 additions
and
25 deletions.
There are no files selected for viewing
Binary file modified
BIN
+0 Bytes
(100%)
MQL4/Indicators/PositionSizeCalculator/PositionSizeCalculator.mq4
Binary file not shown.
Binary file modified
BIN
+2.98 KB
(100%)
MQL4/Indicators/PositionSizeCalculator/PositionSizeCalculator.mqh
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
MQL5/Indicators/PositionSizeCalculator/PositionSizeCalculator.mq5
Binary file not shown.
Binary file modified
BIN
+2.98 KB
(100%)
MQL5/Indicators/PositionSizeCalculator/PositionSizeCalculator.mqh
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters