MQL4 & MQL5 RANGE checker - EA & Indicator

Trabajo finalizado

Plazo de ejecución 4 días
Comentario del Cliente
Perfect developper. Job's done in 2 hours. Thank you Ziheng Zhuang.
Comentario del Ejecutor
He is a professional trader, his strategy description is very clear. Thank you.

Tarea técnica

Hello,
This order is really sample. But i want to be able to use the indicator and EA on both metatrader platforms (MQL4 and MQL5). 4 files to create.

The indicator:
It has its own window. At 0 without signal...

Parameters
X : The number of candlesticks to check
Y : a multiplier (default: 1)
Z : sleep after signal -> true or false

The indicator checks HIGH minus LOW for each of the last X candlesticks. Then, it select the MAX range detected.

NB : not the global range of the last X candlesticks... Only the MAX range of one candlestick (included in the last X candlesticks)

If the current candlestick range is higher than Y * MAX range detected : the indicator value is
+1 if the current candlestick is bullish
-1 if the current candlesticks is bearish

NB: the indicator do NOT wait the close of the current candlestick to define its value.

If Z is "true", the indicator will wait at value 0 at least X candlesticks.
If Z is "false", the indicator can have a +1/-1 value during several candlesticks... (if the range of the current 


The Expert advisor :

Parameters:
- P : Position size
- N: Number of candlesticks to wait after the trade openning to auto close the position
- H : variable to define a stop loss at H pips over/under the current hight/low candlesticks

If Indicator = +1
EA Buy. Stop loss at H pips under the LOW of the current candlestick.
If Indicator = -1
EA Sell. Stop loss at H pips over the HIGH of the current candlestick.

A position is auto closed after N candlesticks.

NB: the indicator is working on the current candlestick, so its value can change several times (ex : 0/+1/0/+1/0/+1...) if the range of the current candlestick reach with difficulty the MAX range detected... I don't want the expert advisor to open several position on the same way... If a position is openned the system go to bed and wait for the next candlestick.

Han respondido

1
Desarrollador 1
Evaluación
(69)
Proyectos
93
34%
Arbitraje
10
40% / 30%
Caducado
5
5%
Libre
2
Desarrollador 2
Evaluación
(94)
Proyectos
148
59%
Arbitraje
16
38% / 13%
Caducado
25
17%
Libre
Ha publicado: 1 ejemplo
3
Desarrollador 3
Evaluación
(108)
Proyectos
125
35%
Arbitraje
5
0% / 60%
Caducado
2
2%
Libre
Ha publicado: 25 ejemplos
4
Desarrollador 4
Evaluación
(206)
Proyectos
332
35%
Arbitraje
64
13% / 56%
Caducado
87
26%
Libre
5
Desarrollador 5
Evaluación
(188)
Proyectos
212
58%
Arbitraje
9
11% / 89%
Caducado
8
4%
Libre
6
Desarrollador 6
Evaluación
(839)
Proyectos
1435
72%
Arbitraje
117
29% / 47%
Caducado
356
25%
Trabaja
Ha publicado: 3 artículos
7
Desarrollador 7
Evaluación
(130)
Proyectos
210
40%
Arbitraje
90
20% / 43%
Caducado
85
40%
Libre
8
Desarrollador 8
Evaluación
(1923)
Proyectos
3539
88%
Arbitraje
73
40% / 15%
Caducado
268
8%
Libre
9
Desarrollador 9
Evaluación
(88)
Proyectos
143
39%
Arbitraje
21
19% / 48%
Caducado
30
21%
Libre
Solicitudes similares
Hello, I need a custom MT4/MT5 indicator that looks exactly like the screenshot I will provide (attached). The indicator should include: Candlestick chart Volume numbers displayed on each candle Multiple moving averages (colored lines) Automatic Support & Resistance levels Buy/Sell arrows (signals) Market direction in percentage (UP/DOWN %) Requirements: Must work on MT4 Source code must be clean and well-commented
Momo 30+ USD
Je suis disponible tous les jours à partir de 19h à 8h. Attach up to 32 files maximum 16 Mb per upload (.zip .txt .log .mqh .ex5 .mq5 .mq4 .mqproj .ex4 .mt5 .set .tpl .cl .py .sqlite .csv .ini .ipynb .onnx .gif .png .jpg .jpeg .mp4 .webm
Precision Shift EA 100 - 500 USD
Use the Daily (D1) chart as the higher timeframe reference. On the H1 timeframe, monitor for a sweep of the previous day’s high or low. A sweep means that price takes liquidity above or below the previous day’s level and then shifts back inside. After a sweep on H1, drop to the M5 timeframe. On M5, wait for a Change of State in Delivery / Market Structure Shift (CHOCH/BOS) to confirm entry. If the sweep occurs above
Sharper trading bot 30 - 200 USD
I have a $200,000 trading account challenge. I need the bot to work on trading view so it has to be a pine script I think. I’m going to attach a photo of the requirements for the account
📌 Forex EA Bot Requirement Document 1. General Information Trading Platform: MetaTrader 5 (MT5) / MetaTrader 4 (MT4) Trading Instruments: (e.g., GBP/JPY, XAU/USD, BTC/USD) Timeframes to Trade: (e.g., 15M, 1H, 4H, Daily) Trading Style: (Scalping, Swing trading, Intraday, Position trading) 2. Entry Rules Define the indicators/strategies for entry (e.g., Moving Averages, MACD, RSI, Order Blocks, Supply & Demand)
Hello, I want to make candles on the same chart as the one in the picture so that the trend is very clear and I know the upward or downward trend in a filtered way and with the same filter of the clear chart in front of you in the picture This is not an indicator, but a chart like Japanese candlesticks, Renko, etc. I want this chart as shown in the picture in front of you. It is the best chart I want because it shows
Sharp scalping 30 - 100 USD
I have $1 million account that I need a scalping box for with a 90% win rate I attached a photo of the daily draw down and the max draw down of the account because it is a prop firm challenge. I need it in Pine script for trading view. Thanks
$50 - $150 80+ USD
I need someone who can create a scalping trading bot for me. With a 1 - 5 minutes timeframe entry. A good robot that automatically opens a trade and close in profit
*Indicator Combination:* 1. *ZigZag*: To identify significant price movements and trend lines. 2. *Donchian Channels*: To plot trend lines based on highs and lows over a specified period. *Strategy Logic:* 1. *Trend Line Break*: A trend line break occurs when price closes above/below the trend line. 2. *Confirmation*: Additional confirmation can come from other indicators (e.g., RSI, MACD) or price action (e.g
Trading bot 100+ USD
Hello great developer I need a trading bot that can: Auto-detect and buy new tokens on the Surge tab of Axiom Pro within milliseconds Work with TradingView alerts (webhook integration) Allow settings for buy amount, slippage, and risk controls Optional: auto-sell (TP/SL) Please only apply if you have experience building crypto trading bots and can deliver a fast, reliable solution.Please

Información sobre el proyecto

Presupuesto
250+ USD
IVA (20%): 50 USD
Total: 300 USD
Para el ejecutor
225 USD