Coding Task for the Volatility Breakout Indicator

MQL4 Indicators Forex

Job finished

Execution time 8 days

Specification

Coding Task for the Volatility Breakout Indicator

Objective: Create a custom indicator that calculates and plots the value of k, which represents the volatility measure relative to its historical average.

So, in MT4 this should create a separate window and plot the value of k.

Requirements

  1. Input Variables

    • Create an input variable for the number of candles used to calculate the average. Set the default value to 10.

  2. Volatility Measure Calculation

    • For each candle, calculate the following components:

      • Average True Range (ATR): Use a standard period (e.g., 14 candles).

      • Standard Deviation: Calculate this based on the closing prices over the specified number of candles.

      • Bollinger Band Width: Determine the difference between the upper and lower Bollinger Bands, using a standard period (e.g., 20 candles).

  3. Compute Current Volatility Measure

    • For each candle, compute the current volatility measure by summing:

      • The ATR

      • The standard deviation

      • The Bollinger Band width

  4. Store Volatility Measures

    • Keep a record of the calculated volatility measures for the most recent candles (up to the specified number of candles, e.g., 10).

  5. Calculate Average Volatility Measure

    • Once you have the volatility measures for the specified number of candles:

      • Sum all the recorded volatility measures.

      • Divide the total by the number of candles (e.g., if using 10 candles, sum the last 10 measures and divide by 10).

    • This gives you the average volatility measure over the chosen period.

  6. Calculate k

    • Divide the current volatility measure by the average volatility measure to obtain k.

  7. Plot k

    • Create a visual representation of k on the chart. Ensure the plot is clear and distinguishable, possibly using a different color or line style.

  8. Testing

    • Ensure the indicator works correctly on different time frames and market conditions, and verify that it updates in real-time as new candles form.

Summary

This task will help create a useful tool for analyzing market volatility and identifying potential breakout opportunities by providing a visual representation of the volatility measure relative to its historical average.

Responded

1
Developer 1
Rating
(318)
Projects
565
35%
Arbitration
81
31% / 44%
Overdue
204
36%
Free
2
Developer 2
Rating
(17)
Projects
21
14%
Arbitration
8
38% / 38%
Overdue
3
14%
Loaded
Similar orders
Hello, I’m a profitable MT4/MT5 trader specializing in Prop Firm accounts. What makes me different: I actually trade with 3% Daily DD / 5% Overall DD rules, so I know what blows accounts and what passes. Services I offer: 1. EA Backtesting + Detailed Reports - Winrate, Profit Factor, Max DD, Best Pairs/Timeframes 2. Strategy Documentation - I’ll write clear rules for your EA so any coder can build it 3. Prop Firm
Hello, I’m a profitable MT4/MT5 trader specializing in Prop Firm accounts. What makes me different: I actually trade with 3% Daily DD / 5% Overall DD rules, so I know what blows accounts and what passes. Services I offer: 1. EA Backtesting + Detailed Reports - Winrate, Profit Factor, Max DD, Best Pairs/Timeframes 2. Strategy Documentation - I’ll write clear rules for your EA so any coder can build it 3. Prop Firm
We can transform your ideas, trading methods, and strategies into a fully automated trading bot (Expert Advisor). If you want an EA for automated trading, we're here to build the perfect solution for you
Supply and Demand EA 50 - 250 USD
I need a SnD EA. Prefer coder who has previous experience coding SnD EA. PO are based on (CHoCH or BoS) and 3EMA, order block (from my TradingView indicator), premium-discount area. SL options are based on fix pips or zone size; CL is based on candle closing. TP1 and TP2 options are based on fix pips or fix ratio. Canceling PO is based on market structure. Money management are based on fix volume or fix amount or fix
Hi MQL5 Community, With over 10 years of live market experience as a Quantitative & Trading System Developer, I specialize in building robust, highly scalable Expert Advisors (EAs), custom indicators, and automated architectures. I’ve recently put together a comprehensive showcase demonstrating my flagship Modular Multi-Engine Architecture , designed to bring institutional-grade logic and real-time telemetry into
I need a developer that can make my trading strategies into a working perfect EA Robot working on Mt5. Candlestick pattern confirmation through PDH, PDL, PWH, PWL, Liquidities, HTF OB
I need a trading bot specially for XAU, high profit gain. Requirements bot analyzes the market places trades closes with 2 to 3 profit per trades daily profit should be 50 to 100 dollars
Привіт. Шукаю когось, хто б застосував мій код як бота . Я торгую індексом Aus_200 SFE (не XJO). Бот базується на MACD входу/виходу, RSI, стохастиці та vwap. Як тільки роботу приймуть, мені потрібно внести кілька коректив; однак, нічого суттєвого. Дякую
Custom MT5 EA for buy stop and sell stop breakout strategy.’ ‘Requirements, develop a custom Expert Advisor for MetaTrader 5 that places buy-stop and sell-stop pending orders based on defined breakout rules.’ ‘All important values adjustable via inputs.’ ‘Includes stop loss, take profit, trailing stop, and configurable risk management.’ ‘One trade at a time, works on demo before live.’ Provide source code and
السلام عليكم ورحمة الله وبركاته، ​أبحث عن مبرمج MQL5 خبير ومتمكن جداً لتطوير روبوت تداول (Expert Advisor) محترف لمنصة MetaTrader 5 يعمل باستراتيجية هيدج محددة بصفقة واحدة فقط في كل اتجاه (1 Buy & 1 Sell Max) مع إدارة مخاطر صارمة. ​المواصفات والاستراتيجية المطلوبة: ​1. آلية الهيدج المحدود (Single Position Hedging Limit): ​الحد الأقصى للصفقات: يُسمح للروبوت بفتح صفقة شراء واحدة (1 Buy) وصفقة بيع واحدة (1 Sell) فقط كحد

Project information

Budget
30+ USD
Deadline
from 1 to 2 day(s)