MQL5 EA creation based on Price Channel (Donchian Channel)

Job finished

Execution time 42 days
Feedback from employee
Highly professional

Specification

The rights and ownership of MQL5 EA and it's source code will belong 100% will belong to me. I will need the source code and when compiled, the EA must return no error. 


Requirements:

The EA must use and trigger sound alerts and trades on the break outs of the price channel (Donchian channel) as described below. 

The EA must use the ATR (Average True Range), 10 Price Channel (Upper and Lower channel only) and 20 price channel (Upper and Lower channel only) to make it’s calculations as described below.

Note: Price Channel is the same as the Donchian channel.

The EA must have the ability to alert 

EA must work on a 8 hours chart 

EA must leave detailed information in the journal and entry/exit on the chart

If there are any errors, it must print a message describing the error in the journal.

Trading behavior - First in first out (FIFO) must apply to each trade. 

Entry is calculated from <Entry_target> +/- of 20 price channel (based on the last candle closed). 

+ for buying into the market

- for selling into the market

Take profit

Take profit is calculated by 2 x ATR - <ATR_Factor>.

ATR_Factor is a numeric variable described in the input section. 

Stop loss (A)

All Price Channel measurements are taken from the last candle closed (aka the candle BEFORE the entry).

If the 10 Price Channel measure less than 200 pips (from Upper channel to Lower channel), the Initial Stop Loss is 80 pips away from the entry price. Verify that you are not within 30 pips of a local candle support/resistance, if so move the ISL 5-15 pips further away from the support/resistance. ***If local resistance/support is more 130 pips away then ISL is 100 pips. Local/support is determine by last 3 to 8 pips. ***

If the 10 Price Channel measure more than 200 pips (from Upper channel to Lower channel), the ISL is 175 pips away from the entry price.  Verify that you are not within 50 pips of a local  candle support/resistance, if so move the ISL 10-25 pips further away from the support/resistance. ***If local resistance/support is more 250 pips away then ISL is 200 pips. Local/support is determine by last 3 to 8 pips. ***

If the 10 day Price Channel measure more than 400 pips (from Upper channel to Lower channel), you can use one of 3 ISLs:

(A) 175 pips

(B) The chart's support/resistance; or 

(C) 2/3rds of the PC measurement.  

If the Initial Stop Loss is more than 225 pips away from price, use 1/2 of your normal lot size for the entry. 

If the Initial Stop Loss is more than 300 pips away from price, use 1/4 lot size.

Stop loss (B)

Stop loss is Y pips beneath the 10 price channel (Y is configurable).

Trailing Stop Loss (A)

The Initial Stop Loss doesn't become the Trailing Stop Loss until the 10 Price Channel has moved more than 30 pips away from the Initial Stop Loss, in the direction of the trade.

If, in between any two candles, the 10 Price Channel moves between 30 and 60 pips, then move the Trailing Stop Loss to the 10 Price Channel (+/-) 1/2 of the pip move.  The Trailing Stop Loss should be farther away from price than the 10 Price Channel.

If the 10 Price Channel plateaus for 6 candles, then move the Trailing Stop Loss to the 10 Price Channel (+/-) 5 pips.  

Trailing Stop Loss (B)

Trailing Stop Loss <TSL_value> pip below the 10 Price Channel

Inputs Variables: [Name and description]  

Entry target = The number of pips above or below the 20 price channel.  If the Entry value was set to 20. Entry would be  20 pips above the 20 price channel for buy orders and 20 pips below for sell orders.


Entry percentage (On/Off) = When selected, entry target value is the percentage multiplied by the distance from current 20 price upper channel (20UPC) - 20 price lower channel (20LPC) add to the 20 price channel (20PC) is the entry.  Formula: (20UPC-2LPC)x<Entry target>+/-(20PC)=Entry.


Lot_size_percentage = Percent based on the available funds in the account. Example: 10 would mean 10% of available funds for that trade. 


ATR_Factor =  Take profit is determined by the formula 2 x ATR - ATR_Factor.  ATR_Factor is number of pips subtracted from this formula. 


Stop Loss Rules A (On/Off) = When selected, Stop Loss is determine by rules in Stop Loss A. 


Stop Loss Rules B (On/Off) = When selected, Stop Loss is determine by rules in Stop Loss B. 


Trailing Stop Loss A (On/Off) = When selected, Trailing  Stop Loss is determine by rules in Trailing Stop Loss (A) Rules. 


Trailing Stop Loss B (On/Off) = When selected, Trailing  Stop Loss is determine by rules in Trailing Stop Loss (B) Rules. 


Debug_mode (On/Off) = Pauses trading and alerts me so that I can evaluate traded before it is executed. This should bring up a dialog to “Execute Trade or Continue Monitoring”



Responded

1
Developer 1
Rating
(361)
Projects
643
26%
Arbitration
92
72% / 14%
Overdue
12
2%
Working
Published: 1 code
2
Developer 2
Rating
(219)
Projects
370
42%
Arbitration
145
17% / 41%
Overdue
124
34%
Free
Published: 38 codes
3
Developer 3
Rating
(195)
Projects
395
28%
Arbitration
155
20% / 52%
Overdue
112
28%
Free
4
Developer 4
Rating
(4)
Projects
9
67%
Arbitration
1
0% / 0%
Overdue
9
100%
Free
Published: 3 codes
Similar orders
1.Sinyal Perdagangan : Sinyal beli: garis MACD utama memotong garis sinyal ke atas (macd_current>signal_current && macd_previous<signal_previous). Sinyal jual: garis MACD utama memotong garis sinyal ke bawah (macd_current<signal_current && macd_previous>signal_previous). Gambar di bawah menunjukkan kasus beli dan jual. 2. Posisi ditutup pada sinyal yang berlawanan: Posisi beli ditutup pada sinyal jual, dan posisi
Trading Bot Executes Trades on Specific Days via TradingView Alerts **As a** trader, **I want** to develop a trading bot that integrates with TradeLocker and MTS, **So that** when a TradingView alert (based on a 2,4,5,10,15,30 minute break and retest strategy whichever one) is triggered first. the bot will execute trades on both platforms, but only on specific days of the week. --- ## Acceptance Criteria 1
specification High-Frequency Candle Momentum Scalper 1. Strategy Overview Core Logic: The EA identifies the current color of the active candle (Bullish or Bearish). Entry Trigger: It opens positions only after a specific duration of the candle has passed (e.g., after 30 seconds on a 1-minute candle) to confirm the direction. 2. Entry Logic (The "Half-Candle" Rule) Timeframe: M1 (Default, but adjustable). Time Filter
Me encuentro en busca de un desarrollador MT4 para crear un EA totalmente basado en reglas enfocadas en Propfirms (Específicamente en The5ers) para operar el activo EURUSD. Cuento con un documento detallado con reglas de contexto, eventos, ejecución y gestión operativa. Necesito código limpio, sin margintale, sin grid; con control de reducción orientado a abrir y cerrar posiciones durante el horario de la sesión de
Olá, preciso de um programador para montar um indicador com base na sobrevenda do estocastico, volume macd, para uma estrategia de reversão e falso rompimento com regioes de OB validos minimas e maximas de H1, H4, D1 e canais para confluencias, quero que seja didatico visualmente e com cores, sons de alertas e algum sinal de call ou put como setas indicando reversões e falsos rompimentos e continuidade
I have an issue with my ninja script and i would like you to help me straighten things I wanted to create an indicator and i have the source code already but i am getting compiling errors on my NinjaTrader And i tried fixing the error it still same I sent 3 images here for you to understand the errors and i would like to ask if you can help me fix it so i can go ahead and compile my source code. Thanks
I have a perfectly working EA that always gets altered, I need special security features implemented, and I already have a great idea of what I need. Super easy, codes already work, just need tweaking here and there. Cybersecurity proficiency would be a positive
Pazuzu 30+ USD
generate or create me a python coded file that has mql5 language requirements for a trading bot under the following instructions. the bot must execute trades if necessary the bot must trade 24/7 the bot must trade gold and currency the bot must make unlimited profit hourly the bot must enter market with caution after market analysis of 98 percent of clear trade

Project information

Budget
30 - 100 USD
Deadline
from 0 to 10 day(s)