A script / expert to analyze the results of trading on historical data

MQL4 Experts Scripts

Specification

The task is to create a script / expert to analyze the results of trading on historical data.
1. Data sources – the terminal history and the report of the strategy tester (selected in the settings).
2. Initial parameters:
- data source (file name in case of strategy tester)
- date range for analysis
- the period of "post-analysis"
3. Calculated parameters:
a) for each transaction
- MAE (Maximum Adverse Excursion) of two types, including the ability to analyze the price behavior during a certain period after the closing of the transaction (specified in the parameters)
- MFE (Maximum Favorable Excursion) of two types, including the possibility of analyzing the behavior of the price during a certain period after the closing of the transaction (specified in the parameters)
- HPR (holding period returns)
- enter efficiency *
- close efficiency 
- transaction efficiency
b) summary
- Sharp Ratio
- Z-score
- AHPR
4. The final result is in the form of a csv file, with a table containing  rows with data for each transaction, including columns:
- tickets No
- type of trade 
- volume of the trade
- the Open price
- the Close price
- opening time
- closing time
- maximum price per trade
- minimum price per trade
- time of the maximum price after the start of the trade in minutes
- time of the minimum price after the beginning of the trade in minutes
- entrance efficiency *
- Exit efficiency *
- efficiency of the trade *
- MAE
- MFE
- HPR
- MAE "extended" (on the range of "post-analysis" after the close of the transaction)
- MFE "extended" (on the range of "post-analysis" after the close of the transaction)
- time of the maximum price after the end of the transaction in minutes within the range of "post-analysis"
- the time of the minimum price after the end of the transaction in minutes within the range of "post-analysis"

In the end, the summary data is placed

* The efficiency of the entrance  is calculated by the formulas:
for long positions
enter_efficiency = (max_price_trade-enter_price) / (max_price_trade-min_price_trade);
for short positions
enter_efficiency = (enter_price-min_price_trade) / (max_price_trade-min_price_trade);
The efficiency of the exit is calculated by the formulas:
for long positions
exit_efficiency = (exit_price - min_price_trade) / (max_price_trade - min_price_trade);
for short positions
exit_efficiency = (max_price_trade - exit_price) / (max_price_trade - min_price_trade);
The efficiency of the transaction is calculated by the formulas:
for long positions
trade_efficiency = (exit_price-enter_price) / (max_price_trade-min_price_trade);
for short positions
trade_efficiency = (enter_price-exit_price) / (max_price_trade-min_price_trade);
general formula
trade_efficiency = enter_efficiency + exit_efficiency-1;

Responded

1
Developer 1
Rating
(62)
Projects
140
46%
Arbitration
19
42% / 16%
Overdue
32
23%
Free
Similar orders
1) the EA can compound the lot size from 0.01 to 0.02 so on 2) the EA must able to trade different kind of pair 3) the EA will have stoploss or take profit 4) long term profit 5) for equiry will be 100 for every 0.01 lot Developer will have that kind of EA may apply and introduce any investor account! this EA must have mql4 file
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px 'Helvetica Neue'} Hello Looking for someone to help me improve my current strategy on my own algorithm and to also add hedging mode
I want the script in mql5 language for my martingale strategy. The script should open trades in both directions buy and sell and if any trade closes in loss then open new trade in that direction by using the next volume and when trade closes in profit then reset the volume to first from volume list and also maximum consecutive losses limit will apply. If trades closes consecutively in losses and hits the limit then
Long Position 1. Trend Line: When a Lower High (LH) is formed, draw a trend line from the previous Higher High (HH) to the new LH. 2. Trend Line Adjustment: If a new Lower High (LH) is formed without breaking the trend line, redraw the trend line to the new LH. Draw a trend line between the Higher High (HH) and the Higher Low (HL). If a new Higher High (HH) is formed, remove the previous trend line and draw a new one
Please watch the video on this youtube channel and download the Indicator from there. https://www.youtube.com/watch?v=ldTomLu8DxE&amp ;t=32s Rules are explained on the video and the download of the indicator is on the same video
I would like an EA that follows exactly this steps to trade de daily candle. Watch the video and then see if you can do the task. https://www.youtube.com/watch?v=g3oDYq4P9ZE Document is one this link https://cdn.discordapp.com/attachments/1135977927469703230/1135978751461695598/Daily_Bias-TTrades_edu.pdf?ex=669a9a27&amp ;is=669948a7&hm=96de195f7e695a381c1261b065f67b94fae319d02a0c88641b146f8b2978320c& Should have
I have a custom EA that works fine in the live market trading, but when doing a back test in the strategy tester , it does not open sell orders. There are no errors or warnings; it just doesn't open sell orders. I've checked every possible reason that might be the reason why it does not open sell orders, but I can't find anything, especially since it works fine in the real market and it opens both buys and sells
Hi, I have an indicator from my friend, I want to copy it to my own MT5 can you do that for me. Here is the link
I'm looking for someone to help me create an arbitrage trading robot that can trade on any decentralized exchange. I had one created in python, but I would like it to work in MT5 with various regular rules that make it profitable
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated

Project information

Budget
30+ USD
VAT (21%): 6.3 USD
Total: 36.3 USD
For the developer
27 USD
Deadline
from 3 to 7 day(s)