Simple modification of an existing MQL4 indicator – 3 new conditons based on CCI and Williams Percent Range signal

Trabajo finalizado

Plazo de ejecución 21 días

Tarea técnica

Helo my friends,

I have an indicator and I want to put 3 new simple conditions for BUY and SELL signal, with sound alert and email.

I want also to put custom Period of averaging for indicator calculation for CCI, and two wiliams percent indicator range like:

extern int picciu=14; //Period of averaging for indicator calculation (for CCI –default period 14)

extern int piwprbar=14; //Period (amount of bars) for indicator calculation (for wiliams (%) –default period 14)

extern int piwprbar1=13; //Period (amount of bars) for indicator calculation (for wiliams (%) –default period 13)

Also I need to put number of fully formed bar myself  - for CCI, wil1 and wil 2. (read the text)

Signal candle is - the latest fully formed bar

 

For Buy - adition condition on existing indicator

//Commodity Channel Index
//Buy: 1. indicator crosses - 100 from below upwards in the last 5 fully formed bar (I need to put number of fully formed bar myself  - custom variable) and signal candle it is not above +100. No meather does it cross on signal candle or before last  5 fully formed bar (candle).

and

//Williams Percent Range – (one indicator with this condition)

//Buy: crossing -80 upwards from below upwards in the last 5 fully formed bar (I need to put number of fully formed bar myself  - custom variable).

and

//Williams Percent Range – (second indicator with this condition)

//Buy: crossing -80 upwards from below upwards in the last 5 fully formed bar (I need to put number of fully formed bar myself  - custom variable) and on the signal candle it is  not above -20

Becose that I need custom Period of averaging to put myself

Important for buy signals lines on all indicators must be upwards.

Please see the pictures and all be clear to you.

 

 

For Sell - adition condition on existing indicator

//Commodity Channel Index
//Sell: 1. indicator crosses +100 from above downwards in the last 5 fully formed bar (I need to put number of fully formed bar myself  - custom variable - 5 default) and signal candle is not below -100

and

//Williams Percent Range – (one indicator with this condition)

//Buy: crossing -20 from above downwards in the last 5 fully formed bar (I need to put number of fully formed bar myself  - custom variable – 5 default)

and

//Williams Percent Range – (second indicator with this condition)

//Buy: crossing -20 from above downwards in the last 5 fully formed bar (I need to put number of fully formed bar myself  - custom variable - 5 default) and on the signal candle not above -80

Important for sell signals lines on all indicators must be downwards

Please see the pictures and all be clear to you.






Han respondido

1
Desarrollador 1
Evaluación
(1923)
Proyectos
3539
88%
Arbitraje
73
40% / 15%
Caducado
268
8%
Libre
2
Desarrollador 2
Evaluación
(65)
Proyectos
87
39%
Arbitraje
3
0% / 33%
Caducado
29
33%
Libre
3
Desarrollador 3
Evaluación
(94)
Proyectos
148
59%
Arbitraje
16
38% / 13%
Caducado
25
17%
Libre
Ha publicado: 1 ejemplo
4
Desarrollador 4
Evaluación
(2593)
Proyectos
3271
67%
Arbitraje
77
48% / 14%
Caducado
342
10%
Libre
Ha publicado: 1 ejemplo
5
Desarrollador 5
Evaluación
(258)
Proyectos
395
28%
Arbitraje
69
19% / 49%
Caducado
120
30%
Libre
6
Desarrollador 6
Evaluación
(221)
Proyectos
369
66%
Arbitraje
10
50% / 0%
Caducado
46
12%
Libre
7
Desarrollador 7
Evaluación
(91)
Proyectos
144
38%
Arbitraje
67
15% / 48%
Caducado
55
38%
Libre
8
Desarrollador 8
Evaluación
(206)
Proyectos
332
35%
Arbitraje
64
13% / 56%
Caducado
87
26%
Libre
9
Desarrollador 9
Evaluación
(229)
Proyectos
339
49%
Arbitraje
21
5% / 33%
Caducado
24
7%
Libre
10
Desarrollador 10
Evaluación
(574)
Proyectos
945
47%
Arbitraje
303
59% / 25%
Caducado
125
13%
Libre
11
Desarrollador 11
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
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
30 - 60 USD
Para el ejecutor
27 - 54 USD
Plazo límite de ejecución
de 1 a 10 día(s)