Price/Volume Delta Analysis Indicator Project Brief

MQL5 Индикаторы Эксперты

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

Price/Volume Delta Analysis Indicator Project Brief

Project Background

This project involves redesigning and improving an existing MetaTrader 5 custom indicator. This indicator analyzes price and volume delta (change) values, categorizes these changes into different classes, and displays the results on a panel. The current code is not functioning properly, particularly with delta calculations being problematic and showing inconsistent behavior across different timeframes and symbol types.

Current Status and Issues

The existing code that I will share with you contains the basic functionality but fails to perform as expected due to various issues. The code tracks price and volume changes to classify them into 9 different states, but:

  1. Delta Calculation Problems:

    • Price and volume delta values are not calculated correctly
    • Patterns mostly show zero values
    • The 9-state analysis does not produce meaningful distribution
  2. Scaling Issues:

    • Large volume values in monthly charts cause errors
    • Inconsistent performance across different timeframes (minute, hourly, daily, weekly, monthly)
  3. Flexibility Issues:

    • Inconsistent performance with custom symbols and standard symbols
    • Problems with historical data analysis (both bar-based and tick-based)

Project Requirements

1. Delta Calculation Engine

  • Accurate Delta Calculation:

    • Correctly calculate price delta (closing price changes)
    • Correctly calculate volume delta (volume changes)
    • Calculate standard deviation values accurately for both
  • Scaling:

    • Normalization techniques that work across all timeframes
    • Mathematical approach to handle very large/small values
    • Compatible operation across all symbol types (forex, stocks, crypto, indices, etc.)

2. Analysis Modes

  • Historical Analysis Mode:

    • Calculate based on the last N bars (e.g., 250 bars)
    • Analyze historical data with bar-based analysis
  • Real-Time Tick Analysis Mode:

    • Analyze tick data within the last N minutes (e.g., 250 minutes)
    • Collect and process ticks within the specified time window
  • Symbol Flexibility:

    • Work with standard symbols
    • Work with custom symbols
    • Automatically detect necessary symbol properties

3. Visualization and Interface

  • Panel Appearance:

    • Readable and clear panel design
    • Display tables for both original and mean-based analysis
    • Automatically adjust table size
  • User Controls:

    • Change analysis mode (bar-based/tick-based)
    • Adjust analysis depth (how many bars/minutes)
    • Adjust standard deviation threshold coefficient

4. Performance Optimization

  • Memory Management:

    • Efficient data storage
    • Avoid unnecessary calculations
  • Processing Speed:

    • Fast update cycle
    • Low CPU usage

5. Error Management

  • Robustness:
    • Proper operation in unexpected situations
    • Prevent errors like division by zero, null references
    • Display appropriate messages when there is insufficient data

Technical Tips

Delta Calculation Improvements

  • The original code calculates delta based on a single previous value, instead:
    • For price delta: Last close - Previous close (or moving average)
    • For volume delta: Last volume - Previous volume (or average)
    • Use standard deviation or ATR methods for normalization

Working with Different Timeframes

  • Normalize volume values in monthly charts:
    • Logarithmic scaling
    • Use percentage changes

Data Collection Strategies

  • Bar-Based:

    • Use CopyClose() , CopyVolume() functions to get historical data
    • Analyze the last N bar data
  • Tick-Based:

    • Store ticks correctly in OnCalculate()
    • Process all ticks within the specified period
    • Time-based cleanup algorithm

Important MQL5 Functions

  • CopyClose() , CopyOpen() , CopyHigh() , CopyLow() , CopyVolume() - For retrieving bar data
  • SymbolInfoTick() - For retrieving tick data
  • TimeCurrent() , TimeTradeServer() - For proper time management
  • MathMean() , MathStandardDeviation() - For statistical calculations
  • StringFormat() - For panel text formatting
  • ObjectCreate() , ObjectSetString() - For creating panels and labels

Test Scenarios

Tests Across Different Symbol Types

  1. Forex Pairs:

    • EUR/USD M1 (minute) chart with tick-based test
    • GBP/JPY H1 (hourly) chart with bar-based test
    • USD/TRY D1 (daily) chart with bar-based test
    • AUD/CAD MN (monthly) chart with bar-based test
  2. Cryptocurrency Symbols:

    • BTCUSD M5 (5-minute) chart with tick-based test
    • ETHUSD H4 (4-hour) chart with bar-based test
    • LTCUSD D1 (daily) chart with bar-based test
    • XRPUSD W1 (weekly) chart with bar-based test
  3. Custom Symbols:

    • US30.cash (Dow Jones CFD) M15 chart with tick-based test
    • DE30.cash (DAX CFD) H1 chart with bar-based test
    • TR30.cash (BIST30 CFD) D1 chart with bar-based test
    • Sentimentum.MT5 (Broker-specific sentiment index symbol) H4 chart with bar-based test

Special Test Conditions

  1. Volatility-Based Tests:

    • EUR/USD M1 during high volatility period (e.g., during major economic data announcements)
    • EUR/USD M1 during low volatility period (e.g., Asian session)
    • BTCUSD chart during serious crisis/crash periods
  2. Volume Variance-Based Tests:

    • High-volume stock (e.g., AAPL)
    • Low-volume cryptocurrency (e.g., altcoin)
    • Chart with weekend or post-holiday opening gaps
  3. Multi-Timeframe Consistency Test:

    • Tests of the same symbol at different timeframes (M1, M5, H1, D1)
    • Comparison of results and consistency analysis
  4. Data Deficiency Test:

    • Test with newly listed/low-data symbols
    • Test with symbols having historical data gaps

Existing Code

I will share the existing non-working code with you. This code demonstrates the logic of the 9-state analysis but contains the issues mentioned above. The development of the new indicator should maintain the logic of the existing code while addressing the identified problems.

This project brief provides a roadmap to solve the issues with the existing indicator and create a more powerful, more flexible analysis tool. While preserving the core purpose of the indicator, it aims to provide significant improvements in terms of calculation engine and flexibility.


Файлы:

TXT
pattern.txt
6.4 Kb

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

1
Разработчик 1
Оценка
(43)
Проекты
44
25%
Арбитраж
23
13% / 74%
Просрочено
10
23%
Загружен
2
Разработчик 2
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Работает
3
Разработчик 3
Оценка
(6)
Проекты
2
0%
Арбитраж
3
0% / 33%
Просрочено
0
Работает
4
Разработчик 4
Оценка
(15)
Проекты
21
10%
Арбитраж
1
0% / 0%
Просрочено
2
10%
Загружен
Похожие заказы
I want a trading system which I will take signals from it ... the system must come with arrows.. channel.. showing .. if the buy trend is strong or weak with percentage.. for mt5 I will send a example on the video ... I don't want indicators are I I hope I find a developer who's more experienced
hello i need expert that uses this indicator open buy /close sell if currency numerator crossed upwards currency denominator open sell /closs long if currency numerator crosses downwards currency denominator
I need an expert who can turn the following strategy into metatrader 5 bot and also pinescript strategy for tradingview? If so, I will have to double-check if tweaks are needed and also how long would it take you and how much would you charge? Thanks
Hello my name is Ayofe . Can you help set my parameters in the Input Parameters of ForexSignalClient.ex4 file which I already have ? So I had another person set this up . I subscribe and have two signal providers 1) provides forex signals and 2) provides Gold XAUUSD . When we receive signals they have the SL and 3 TP levels for each single . This person has not set up this correctly and I need to set up properly
Fix code 30 USD
//+------------------------------------------------------------------+ //| MA Bot.mq5 | //| Simple Martingale MA-based Trading Bot for Gold (XAUUSD) | //+------------------------------------------------------------------+ #include <Trade/Trade.mqh> CTrade trade; input int maPeriod = 13; input ENUM_MA_METHOD maMethod = MODE_EMA; input double tradeGapUSD = 2.0; input
Hi 50 USD
I need a robot that can trade auto for me, set sl and to and be able to fund account to allow robot to run freely. Smal budget of 50 dollars to complete
Hello, I am looking for a skilled developer with verifiable experience to develop an automated trading system / expert / EA for the MT5 platform and the TradingView platform. Consider everything I have stated here as a suggestion from a "trader". It is up to you as a "developer" to tell me that something is not feasible or too complicated and we will look for a compromise or another solution = I am open to all
I need an MT5 Expert Advisor (EA) that trades forex pairs using the following strategy: Timeframe: M5 Pairs: All forex pairs Entry Buy: Price above 9 EMA 9 EMA above 20 EMA 20 EMA above 60 EMA Entry Sell: Price below 9 EMA 9 EMA below 20 EMA 20 EMA below 60 EMA Stop Loss: ATR(14) based, 1.5x ATR distance Trailing Stop: Start trailing after +1 ATR profit Risk Per Trade: 20% of account balance per trade (Switch to 5%
Need an expert coder to convert my tradingview pine script to mt5 indicator for me, the indicator is very simple I need you to go through it very well before sending message, make very sure you can do it
Everyday market open: 1. Every minute from market open calculate the upper and lower bands based on the formula in the paper. Average move for every minute for each of the last 14 days-check the paper. You can create these bands as an indicator as well so I can apply it to charts. 2. Also calculate the recursive vwap for every minute of the trading day. And create this indicator as well. 3. Every

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

Бюджет
210+ USD
Исполнителю
189 USD
Сроки выполнения
от 3 до 10 дн.