Unisciti alla nostra fan page
- Visualizzazioni:
- 4301
- Valutazioni:
- Pubblicato:
- 2019.05.28 22:28
- Aggiornato:
- 2020.12.17 04:57
-
Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance
The script exports summary of closed trades selected between two dates grouped by each currency pair. The resulting file is CSV that can be opened/imported with any spreadsheet software.
To export summary for the entire trading history, keep Start date and End date at their default values.
The CSV file is located at: Terminal > File > Open data folder > MQL5\Files\<Filename>
The CSV file will be auto-opened with the associated Windows program (e.g., Microsoft Excel or Ron's CSV Editor).
Following data columns are exported for each symbol:
- Symbol name
- Total trades
- Volumes
- Profits
- Swaps
- Commissions
- Net profits
The CSV file can be opened with Microsoft Excel or better with Ron's CSV Editor.
![Close-All](https://c.mql5.com/i/code/script.png)
A script to close all market positions and/or pending orders.
![Change SL/TP on chart drop off](https://c.mql5.com/i/code/script.png)
This script will change the SL and TP of all open trades of the symbol to the price where the script is dropped off.
![Variance](https://c.mql5.com/i/code/indicator.png)
Variance (Welford’s method for computing)
![Export Summary Grouped by Trading Days](https://c.mql5.com/i/code/script.png)
The script exports summary of closed trades grouped by each trading day to .csv file