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

Техническое задание

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;

Откликнулись

1
Разработчик 1
Оценка
(62)
Проекты
140
46%
Арбитраж
19
42% / 16%
Просрочено
32
23%
Свободен
Похожие заказы
Create script to move multiple take profits (from multiple trades) at one time. Typically for a single currency pair Summary: There are multiple trades in 1 currency pair There are multiple take profits, 1 for each trade I want a script to be built to modify all the take profits at one time There may be up to 20 take profits, from 20 different trades that I want to be able to move/adjust all at one time, very easily
Hi there - Overview We are seeking an experienced developer to create a Forex Robot Expert Advisor (EA) tailored to specific trading strategies and conditions. The EA will focus on the London trading session and will automate trades based on pre-defined calculations and market movements. *Responsibilities:* 1. *London Session Analysis:* - Develop functionality to highlight the London trading session on the forex
Dear Freelancers, I'm seeking a skilled MT4/MT5 developer to collaborate on a valuable trading indicator. Project Description: I'm looking to develop a powerful Elliott Wave indicator compatible with the MT4 and MT5 trading platforms. This indicator will be based on the highly successful [LuxAlgo] indicator currently available on TradingView. Key Features: In-indicator Alerts: The ability to receive pop-up
Profit EA 50+ USD
//+------------------------------------------------------------------+ //| SimpleEA.mq4 | //| Generated by MetaEditor | //| https://www.mql5.com/en/docs&nbsp ; | //+------------------------------------------------------------------+ #property strict // Input parameters input double LotSize = 0.1; // Lot size input int MovingAveragePeriod = 50; // MA
1. **Timeframe and Liquidity:** Focus on the 5-minute timeframe for liquidity analysis.(timeframe for liquidity should be editble) 2. **Candlestick MSS:** Monitor 1-minute candlestick patterns for entry signals.(should be editble) 3. **Swing Points:** Identify swing points using the high and low of the last three candles.(ict swimg high and low) 4. **Sell Setup:** - Wait for a 5-minute candle to take out the swing
i am looking for experienced programmer to create indicator for me. i am willing to pay for the service. and if it works amazingly like i expected. i will tip more money
High Low intraday ticker to display the most recent high low of up to 40 stock symbols. As a stock makes an intraday high low it will populate at the top and so on. Regardless of chart that's display it will continue to track high lows of the 40 stocks inputed. The 40 stocks can by manually changed. A high will display as green with the time (hour:minute:second), symbol, and last price. A low will be displayed as red
Modify an existing Python bot to trade bollinger bands, with iqoption api Currently the bot strategy is wrong, I am limited in my knowledge here and hope to fix this Hope to work with more experience people out there in relation to iqoption api and python
I need an EA to automate Tradingview alerts on MT4 using webhook alerts. The bridge/connector should be python based GUI. Required features at a minimum Mapping Tradingview alert formats to MT4 Automating market, limit and stop orders with entry price, stop loss, multiple TPs and trailing stop Lot sizing - fixed/% of balance/fixed amount breakeven, partial close and trailing stop Mapping pair name prefixes/suffixes
hi guys, I have a script, that I have been struggling to work. most of the work is done, just final touch of an expert is needed. The script Is using Fibonacci and Pivot standard in its base. look forward to hear from an expert! Best regards Sina

Информация о проекте

Бюджет
30+ USD
VAT (21%): 6.3 USD
Итого: 36.3 USD
Исполнителю
27 USD
Сроки выполнения
от 3 до 7 дн.