MQL5 EA creation based on Price Channel (Donchian Channel)

仕事が完了した

実行時間42 日
開発者からのフィードバック
Highly professional

指定

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”



応答済み

1
開発者 1
評価
(359)
プロジェクト
637
26%
仲裁
90
72% / 13%
期限切れ
12
2%
仕事中
パブリッシュした人: 1 code
2
開発者 2
評価
(219)
プロジェクト
370
42%
仲裁
145
17% / 41%
期限切れ
124
34%
パブリッシュした人: 38 codes
3
開発者 3
評価
(195)
プロジェクト
395
28%
仲裁
155
20% / 52%
期限切れ
112
28%
4
開発者 4
評価
(4)
プロジェクト
9
67%
仲裁
1
0% / 0%
期限切れ
9
100%
パブリッシュした人: 3 codes
類似した注文
program ussd zar cad adsafafaefefefqfeqfeqfqefqefesaddqdqDDF FAEWF FA RWFWEF ERWF WE FAEW FRE FA EWRF EF EW FAEW F EWF EW FEW F EWF SADASDW WDA WD AWDW DWA DEAW DEAE D ADADEA DAEDE D EDEADAEDADEDEA D ED AED AED AD
I’m looking for an experienced and reliable MT4 developer or strategy optimizer to generate profitable, robust, and forward-testable set files for my existing EA. This EA is designed for trading XAUUSD (Gold) on MT4. 🔧 What I Provide: The compiled EA (.ex4 file) Instructions on the EA’s inputs and logic Broker specifications: spread, leverage, account type Desired timeframe(s) to optimize for (e.g., M15, H1)
hello great developer i want to fix this script This arrow shouldn’t of printed because the renko brick ended red{ check the image} One other guy said this ‘okay I am seeing, arrow sticks because your code plots it conditionally but never deletes it later. This is expected behavior unless you add cleanup logic like -- Chart.RemoveObject(...) for outdated arrows... not sure if you understand the technical parts
im looking for a developer to build a fully automated trading robot Expert Advisor for Metatrader 5. The EA must do the following open buy sell orders based on a custom strategy details below place take profit and stop loss automatically Lot size should be adjustable Should avoid overtrading e.g. max 3 trades per day Close trades automatically based on criteria Work on multiple pairs if possible News filler optional
I need an Expert advisor (EA) for metatrader 5 (MT5), coded in MQL5. The EA should open and close trades based on the RSI indicator. A buy trade is triggered when RSI crosses below 30 and then moves back above it. A sell trade when RSI crosses above 70 and then drops below. The EA must include customizable input settings such as RSI period, lot size, stop loss, take profit, maximum number of trades, and trading time
I'm looking for a professional MQL developer to convert an Indicator codes (Pine Script) from TradingView to MQL5 and modifying it , It's based on FVG and OB indicator in tradingview
Fix script 40+ USD
hello great developer i want to fix this script This arrow shouldn’t of printed because the renko brick ended red{ check the image} One other guy said this ‘okay I am seeing, arrow sticks because your code plots it conditionally but never deletes it later. This is expected behavior unless you add cleanup logic like -- Chart.RemoveObject(...) for outdated arrows... not sure if you understand the technical parts
hello coders , i want you to create a trading bot in mt5. i have the pinescript code for the strategy. the trading bot is a type of scalping bot hence the entry and exit would be very fast typically in the same candle and within 20 seconds. so if anyone can help me in creating i would be very muh happy
I’m looking for an experienced MQL5 developer to build a fully custom Expert Advisor (EA) for MT5. The EA should combine two integrated strategies: Session-Based Breakout System, using the opening range of a defined market session to detect and trade breakout-retest setups on lower timeframes. Multi-Timeframe Reversal Strategy, incorporating RSI-based exhaustion signals, candlestick confirmations, and automated
This Expert Advisor (EA) is based on the 'Liquidity Sweep + Momentum Shift' scalping strategy, built for EURUSD, XAUUSD (Gold), and NAS100 (NASDAQ). It is designed to trade on the 5-minute (M5) timeframe, identifying high-probability reversals following liquidity grabs. The EA must scan for trades continuously and may execute up to 10 trades per symbol per day, depending on conditions met. 2. Symbols and Timeframes -

プロジェクト情報

予算
30 - 100 USD
開発者用
27 - 90 USD
締め切り
最低 0 最高 10 日