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
644
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
Pip Scalper Bot 60+ USD
i want a trading bot that is aleast 98% sure,and cam also do scalping 99% correct using smart money concept, ICT, ALL technical analysis on it and also put risk management on it
Greetings I need MT5 developer that has expertise in developing a custom indicator for mt5 boom and crash based on my exact details and requirements which would be discuss later. Kindly bid for this project if it is something you can handle for me
AI Trading MQL5: Maximizing Profit from a $10 Investment Achieving significant profits from a small initial capital like $10 in AI trading with MQL5 requires a highly strategic and disciplined approach. While the potential for exponential growth exists, it's crucial to manage expectations and understand the inherent risks. **Key Strategies for Small Capital AI Trading:** 1. **Low-Risk, High-Probability
I’m looking for an experienced NinjaTrader developer to complete an existing custom indicator. The project is already partially built and is well organized, completely functional, and well documented. The former developer experienced some personal difficulties and unfortunately cannot continue. Key Requirement (Read Carefully): You MUST have direct, hands-on experience with NinjaTrader and NinjaScript (C#) . This is
I need a professional developer to help me create an EA using RSI and Moving averages.The strategies are well organised and everything is in order. I will send all the details in the inbox
Powerful 30 - 100 USD
I really want a powerful developed EA that can generate a minimum of 10% every month without martingale, greed or any dangerous strategy for sale. Developer must provide the mql5 file or the raw file for modification etc
I already have a fully developed MT5 Expert Advisor with all required prop firm features, including: Risk management Daily loss & max drawdown limits Spread & slippage filters News filter Trade management system The EA structure is complete. 👉 What I need is a professional developer to replace ONLY the entry logic with a high-quality, rule-based trading strategy. 🚨 STRICT REQUIREMENT (READ CAREFULLY): I am NOT
Hello, I’m looking for an experienced developer who can help convert an existing cTrader indicator into a fully functional Quantower indicator . I already have the complete source code for the cTrader indicator (written in C#) , and I would like the same logic, behavior, and visual output to be accurately replicated in Quantower
You can control via Telegram: /start - enable bot, begin trading, /stop - end trading, disable bot /status - trade status Bot requirements: • Automated trading throughout the day until 00:00 UTC (Moscow time) (I do not want to trade or turn the bot on 100 times a day). • Auto shutdown of the bot in Telegram at 00:00 UTC (Moscow time) and manual restart when convenient. • Market analysis 24/5 using 20 EMA, RSI, and
I am seeking an alert-only EA. An EA that will follow all the rules but not execute a trade. As this is a repeat posting I am seeking the successful technician - Xiro from Vietnam. Thanks Karl

Project information

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