MQL5 EA creation based on Price Channel (Donchian Channel)

Trabajo finalizado

Plazo de ejecución 42 días
Comentario del Ejecutor
Highly professional

Tarea técnica

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”



Han respondido

1
Desarrollador 1
Evaluación
(361)
Proyectos
644
26%
Arbitraje
92
72% / 14%
Caducado
12
2%
Trabaja
Ha publicado: 1 ejemplo
2
Desarrollador 2
Evaluación
(219)
Proyectos
370
42%
Arbitraje
145
17% / 41%
Caducado
124
34%
Libre
Ha publicado: 38 ejemplos
3
Desarrollador 3
Evaluación
(195)
Proyectos
395
28%
Arbitraje
155
20% / 52%
Caducado
112
28%
Libre
4
Desarrollador 4
Evaluación
(4)
Proyectos
9
67%
Arbitraje
1
0% / 0%
Caducado
9
100%
Libre
Ha publicado: 3 ejemplos
Solicitudes similares
I need a professional MT5 Expert Advisor (MQL5) for XAU/USD (Gold) only. Requirements: - Symbol: XAU/USD only - Timeframe: H1 trend, M5 entry - Smart Money Concept (SMC) - Liquidity Sweep - Break of Structure (BOS) - Order Block Retest - Confirmation Candle (Engulfing or Pin Bar) - ATR-based Stop Loss - Risk:Reward = 1:3 (adjustable) - Auto Lot (1% risk) - Break Even - Trailing Stop - Maximum 2 trades per day - One
Hello, SYSTEM BLUEPRINT READY I am looking for a professional, top-tier MQL5 developer to build a semi-automated Expert Advisor for MetaTrader 5. I have a fully completed, detailed Master Technical Specification Document attached, alongside a formatted 4-column User Input Configuration spreadsheet. And a high level overview with screen shots. Core System Features: - State Machine Architecture (Factor 1 Baseline
Hello, I am looking for an existing, fully backtestable MT5 Expert Advisor or EA portfolio designed specifically for passing an FTMO-style prop-firm evaluation. I am not looking for unrealistic profit claims or a visually perfect backtest. My priority is a statistically defensible probability of passing the challenge while respecting all risk limits. Primary objective The system should be designed for the current
I have a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5 designed primarily for US30 (Dow Jones Index) . The EA performs consistently and profitably on demo accounts, but when I run it on an IC Markets Raw or Standard live account, it starts generating losses under what appear to be the same trading conditions. At this time, I cannot provide the source code (.mq4/.mq5). I can only provide the
I need an Expert Advisor for MT5 on XAUUSD 1min timeframe using SMC concepts. STRATEGY RULES: SELL: 1. Identify previous day High/Low as liquidity 2. Entry only during London-NY session: 15:00-19:00 GMT+3 3. If price sweeps previous day High and closes back below it 4. Check for bearish 1min FVG below sweep candle 5. Wait for BOS - lower low 6. Entry: Sell at 50% of the FVG 7. SL: 10 pips above sweep wick 8. TP: 2R
Hello looking for someone to convert an indicator from tradingview to Thinkorswim I have attached the codes from trading view Also, I like make it trigger (alert) a one-time alert when the trend changes, and can also create a custom watchlist column that flags symbols currently in a new trend so you can scan multiple stocks easily. And like the watchlist to show only fresh trend changes or the current trend direction
Version document : 1.0 Plateforme : TradingView Langage : Pine Script v6 Type : Indicateur d'analyse et d'aide à la décision (non-exécutant) 1. Présentation du projet Nom du produit ONYX SR V2 — Intelligent Support & Resistance Scalping System Objectif Créer un indicateur TradingView capable d'identifier automatiquement des opportunités de scalping basées sur : supports et résistances dynamiques ; action du prix ;
I want to build a fundamental news trading bot that trade off economic news data, as we know every economic news data released always have effect on the asset associated with it, so this bot will take a trade instantly based on the news data released either to buy or sell, it will come with good money management and also SL and TP target based on price and pips value
Specification : 1. Goal I am commissioning a mean-reversion grid Expert Advisor for XAUUSD on MT5. The deliverable is the complete, commented .mq5 source (strictly personal usel). Offers limited to compiled .ex5 will not be considered. 2. Required framework (non-negotiable) 2.1. Works natively on M5; signals evaluated on closed bars; symmetric long/short. 2.2. Entry logic built on Bollinger Bands + Moving Average
TumiiFX 30 - 20000 USD
1. Use two EMAs: 20 and 50. If EMA 20 is above EMA 50 → uptrend (look for buys) If EMA 20 is below EMA 50 → downtrend (look for sells) 2. Wait for a pullback into the area between the two EMAs. - For buys: price must touch or move between EMA 20 and EMA 50 during the last few candles. - For stils: same idea, but in a downtrend. 3. Entry signal: Buy: a bullish engulfing candle in an uptrend after the pullback

Información sobre el proyecto

Presupuesto
30 - 100 USD
Plazo límite de ejecución
de 0 a 10 día(s)