Create simple indicator that shows Swing highs and swing lows

MQL4 Indicadores

Trabajo finalizado

Plazo de ejecución 3 días
Comentario del Ejecutor
Thank you for an interesting order!
Comentario del Cliente
Perfect! Very fast and reliable service.

Tarea técnica

I want to create an indicator that is looks similar to the ZigZag indicator that comes when you install MT4 (attached just in case you don't have it). 

The rules of the indicator:

So it shows swing highs and lows. The criteria for a Swing high is a Candle stick with a high that is preceded by two candle sticks with lower highs, and followed by two candle sticks with lower highs. 

Example:


Candle A has a high which is LOWER THAN candle C's high.

Candle B has a high which is LOWER THAN candle C's high.

Candle D has a high which is LOWER THAN candle C's high.

Candle E has a high which is LOWER THAN candle C's high.

Note that candle A high does not have to be lower than B. All highs are only compared to the high of C. 

 

- Rules for a Swing low are exactly the opposite.

* Two options need to be in the indicator:

1- Being able to choose which timeframe. Example: I have M1 open, I add the indicator to it and choose to show the swing highs and swing lows on M5 or M15 or higher on the M1 chart. 

2-  Need to be able to choose how many highs or lows before and after candle C. In the example it shows only 2 candles with lower highs before and after candle C, I need to be able to make it make it 3, 4 or more candles with lower highs before and after candle C for it to be considered a swing high. (The opposite for a swing low ofcourse).

Archivos adjuntos:

EX4
ZigZag.ex4
11.6 Kb
MQ4
ZigZag.mq4
8.3 Kb

Han respondido

1
Desarrollador 1
Evaluación
(25)
Proyectos
31
32%
Arbitraje
0
Caducado
7
23%
Libre
2
Desarrollador 2
Evaluación
(807)
Proyectos
1127
43%
Arbitraje
47
49% / 23%
Caducado
84
7%
Libre
3
Desarrollador 3
Evaluación
(103)
Proyectos
205
41%
Arbitraje
17
29% / 71%
Caducado
45
22%
Libre
Solicitudes similares
Requirements Specification: Debug & Error Fixing: Review the entire source code of the MQL expert advisor. Identify and fix all logical errors, bugs, and performance issues that cause trades to close prematurely or yield extremely low profits. Strategy Restructuring & Optimization: Fully analyze and optimize the current entry and exit strategy for USDJPY and GBPUSD. Modify, upgrade, or completely rewrite the entry
Winter 500+ USD
I am looking for an MQL5 developer to independently review an existing EA’s execution and position management logic. The review should focus on duplicate orders, trade isolation by symbol and magic number, broker price and volume constraints, error handling, and recovery after a terminal restart. This order is for an audit report. Please do not modify the source or change the trading strategy. For each finding
Title: Fully Automatic MT5 Trading Bot (Expert Advisor) with Risk Management I want a fully automated trading robot (Expert Advisor) for MetaTrader 5, written in MQL5. The bot must automatically analyse market data, identify trading opportunities, execute BUY and SELL orders, manage open positions, and close trades according to predefined rules without requiring manual confirmation for each trade. Requirements
The Traffic Rush 250 - 500 USD
Subject: Inquiry: MQL4 Optimization & Refinement for Proprietary Binary Suite (Pine-to-MT4) I am seeking an experienced MQL4 / MetaTrader developer to optimize and finalize a custom binary options trading suite. Project Summary Core Architecture: Multi-pair Regime Scanner (22-pair FX basket monitoring state/score) and a Signal Engine operating on M1 charts. Strategy Sequence: Pre-Alert Dot: Placed on a candle closing
Hello I want some that can help with my strategy signal I have the video that you are going to watch if you know you can help me with kindly do well to bid and let discussed it an urgent project and also if you can not work before you get paid please don bid thanks
Existing EA: NEW_CORE_ORB_M5_v021 | MT5 | XAUUSD M5 Early-stage research prototype, not a new EA from scratch. Need an experienced MQL5 developer to audit, complete, repair, improve and test BOTH independent strategies equally: Opening Range Breakout (ORB) and Scalp. Keep code lightweight and preserve an untouched baseline. No unnecessary rewrite or complex filters. 1. ORB Strategy Verify opening-range construction
i need an expert to develop Bot TO trade using MT5 with a profitable strategy ... work daily with good indicators the price will be negotiable will try the bot first after we can decide
The indicator should identify the high and low of two configurable trading sessions, draw their levels on the chart, and generate reliable breakout alerts. 1. Session Settings Symbol: Current chart symbol (EURUSD for testing). Timeframe: M5. Two independent sessions: Session A: 08:00–10:00 Session B: 13:00–15:00 All times use MT5 broker server time. Start and end times must be configurable. The indicator should
Project: Convert TradingView Indicator to MT4 We are looking for an experienced MQL4 developer to convert a high-quality TradingView indicator into a MetaTrader 4 (MT4) indicator. Indicator Details: The TradingView indicator generates buy and sell arrows for trade entries. It is non-repainting, has no lag, and is highly reliable. Arrows appear only after the candle closes and remain visible permanently. Requirements
Hi, I need NinjaTrader 8 Strategy Analyzer backtests on two of my strategies, each over 1 year AND 3 years of data. Please quote the full job. Common settings: NT8 Strategy Analyzer, MCL (Micro WTI Crude Oil) continuous front-month contract (MCL ##-##), 5-minute bars, 1yr + 3yr of the most recent data, $2.50 round-turn commission per contract. Deliverables per run: full Strategy Analyzer summary (net profit, profit

Información sobre el proyecto

Presupuesto
25 USD
Plazo límite de ejecución
de 1 a 2 día(s)