Develop MT5 Indicator and EA Based on Swing Depth Logic (Full Specifications Included)

指定

Dear Developer,

I am looking to develop both a MetaTrader 5 Indicator and a MetaTrader 5 Expert Advisor (EA) based on the swing depth logic shown in the Pine Script code attached below. The indicator and EA must be built as separate files but must follow the exact same signal logic so both display and execute identically.

Please carefully review the requirements below and confirm your understanding before starting.


Project Deliverables

You will develop two separate components:

  1. MT5 Custom Indicator

  2. MT5 Expert Advisor (EA)

Both must use identical swing point detection logic and produce the same buy and sell signals.


Core Logic (Source Code Reference)

The following Pine Script contains the exact signal logic that must be used as the foundation of both the Indicator and EA. This logic must be accurately converted into MQL5.

// This Pine Script code is subject to the terms of the Mozilla Public License 2.0
// © yashgode9

//@version=6
//@author = yashgode9 [YASH NANDKUMAR GODE]

import yashgode9/signalLib_yashgode9/2 as signalLib

indicator("Abdulla Buy Sell Only + buysellsignal-yashgode9", overlay=true, format=format.price, max_labels_count=500, max_lines_count=50)

// Inputs
groupSig = "signalLib Config"
DEPTH_ENGINE     = input.int(30, "DEPTH_ENGINE", minval=1)
DEVIATION_ENGINE = input.int(5,  "DEVIATION_ENGINE", minval=1)
BACKSTEP_ENGINE  = input.int(5,  "BACKSTEP_ENGINE", minval=2)

// Signal Logic
[direction, zee1, zee2] = signalLib.signalLib(low, high, DEPTH_ENGINE, DEVIATION_ENGINE, BACKSTEP_ENGINE)

// Entry / Exit Logic
if bool(ta.change(direction))
    float newEntryPrice = direction < 0 ? low : high

    // close existing trade at new signal price
    if not na(bt_entryPrice) and bt_entryDir != 0
        f_addTrade(bt_entryPrice, newEntryPrice, bt_entryDir)

    // open new trade
    bt_entryPrice := newEntryPrice
    bt_entryDir   := direction < 0 ? 1 : -1


This logic defines the swing point detection and trade direction changes. This must be replicated exactly in MT5.


EA Trading Rules

The EA must operate under the following strict conditions:

One Position Only

  • Only one open trade at any time

  • When a new opposite signal appears:

    • Close current trade immediately

    • Open new trade in opposite direction

Entry Conditions

  • Buy when confirmed Buy-point appears

  • Sell when confirmed Sell-point appears

Stop Loss

  • Fixed stop loss of exactly $15 USD per trade

  • Stop loss must be calculated based on USD value, not points

  • Must work correctly on XAUUSD and forex pairs

Trailing Stop (Run More Mode)

  • Trailing activates only after trade reaches +$25 profit

  • Trail stop distance = $20 USD

  • Stop loss must only move forward, never backward

  • Update trailing only if improvement is at least $2 USD

No Fixed Take Profit

Trades must close only when:

  • Opposite signal appears, or

  • Stop loss is hit


Always In Market Requirement

The EA must always maintain an active trade.

If stop loss is hit:

  • Immediately open a new trade in the direction of the most recent confirmed signal

  • Continue operating normally until opposite signal appears


Indicator Requirements

The indicator must display:

  • Buy points at swing lows

  • Sell points at swing highs

And include a live dashboard table showing:

  • Account Balance

  • Profit Today

  • Total Profit/Loss

  • Current Stop Loss Value ($15)

  • Current Direction (BUY or SELL)

  • Open Trade Profit (if applicable)


EA Dashboard Requirements

The EA must display the same table plus:

  • Equity

  • Current Position Status (Buy / Sell / None)

  • Last Signal Direction

Table must update in real time.


Inputs Required in EA

  • Lot Size

  • DEPTH_ENGINE

  • DEVIATION_ENGINE

  • BACKSTEP_ENGINE

  • Stop Loss USD (default 15)

  • Trailing Activation USD (default 25)

  • Trailing Distance USD (default 20)

  • Trailing Step USD (default 2)

  • Magic Number


Symbols and Compatibility

The EA and Indicator must work correctly on:

  • XAUUSD (Primary)

  • Forex pairs

Must correctly calculate profit and stop loss based on contract size and tick value.


Final Requirements

Please confirm the following when replying:

  1. You understand the swing logic and can convert it accurately

  2. You will deliver both Indicator and EA separately

  3. Dashboard table will be included

  4. Stop loss and trailing will be based on USD value

  5. EA will always re enter the market after stop loss

Please also include your timeline and cost.

Kind regards,



反馈

1
开发者 1
等级
(103)
项目
165
24%
仲裁
23
9% / 78%
逾期
16
10%
工作中
2
开发者 2
等级
项目
0
0%
仲裁
0
逾期
0
工作中
3
开发者 3
等级
(16)
项目
35
23%
仲裁
4
0% / 50%
逾期
2
6%
工作中
4
开发者 4
等级
(43)
项目
53
49%
仲裁
6
83% / 0%
逾期
0
工作中
5
开发者 5
等级
(7)
项目
16
44%
仲裁
2
0% / 100%
逾期
3
19%
工作中
6
开发者 6
等级
项目
0
0%
仲裁
0
逾期
0
空闲
7
开发者 7
等级
(5)
项目
6
17%
仲裁
1
0% / 100%
逾期
1
17%
工作中
8
开发者 8
等级
(30)
项目
30
63%
仲裁
1
0% / 0%
逾期
1
3%
已载入
发布者: 5 代码
9
开发者 9
等级
项目
1
0%
仲裁
1
0% / 100%
逾期
1
100%
空闲
相似订单
I’m hiring an experienced MQL5 developer to finish and fix an existing project (NOT building from scratch). I have: An existing MT5 EA (.mq5 + .ex5) that is based on my TradingView logic A TradingView indicator version used for signals/alerts The EA works but has logic/consistency issues and needs improvements + cleanup Goal Make the EA reliable and consistent: Ensure entries/exits match the intended logic Fix
The indicator a bit inverted. But it doesn’t matter to me as long as the winrate make sense for investment. For brief details regarding the indicator. What should have been a sell, i inverted it into buy with sl and tp swapped(only change the name of sl and tp for visualisation , but the code still on right tp and sl) . And in script ive inverted the signal command code. But the trouble is the tp and sl cant be
All other Necessary filters already coded , Mostly it is referring to another expert copy pasting . Live Chart Optimization . Optimization from Signal Trigger Point . Apply to stay ahead . While applying please explain the correct trailing stop loss for value gap entries
Patrick 30 - 200 USD
//+------------------------------------------------------------------+ //| EURUSD Daily Strategy EA | //+------------------------------------------------------------------+ extern int MA_Fast = 50; extern int MA_Slow = 200; extern int RSI_Period = 14; extern double RiskReward = 2.0; extern double StopLossMultiplier = 1.5; void OnTick() { if (TimeCurrent() != iTime(NULL, PERIOD_D1, 0)) return;
I would like to create a robot with the smart money concepts, that integrates order block,FVG,supply & demand ,read the market structure,liquidity and also trade with the session and also after a liquidity sweep a market structure is needed to verify the reversal and a retracement to the order block and sometimes fair value Gap
Joker poverty scalper 40 - 100 USD
the joker poverty scalper is the power full robort it can analyse in just 1 minutes it is good for beginner traders you can even make 5000$ in just an week or two.. the best thing to do is to buy joker and make life easy with your own copy of joker .in order to be rich you need the joker to help you with your success in life even in future THE JOKER POVERT SCALPER
I’m looking to acquire an existing, profitable Expert Advisor (EA) with full source code to add to our client investment portfolio. To be clear, this is not a request to develop or design a new strategy. If you already have an EA that is proven, consistent, and production-ready, I’m open to reviewing it immediately. Please apply only if you meet all the requirements below. Submissions without a proper introduction or
Trailing Stop Based on Thresholds . Other Necessary Filters already Coded . Live Chart Only . The strategy already coded - needs a fresh new draft . To Start from Signal Trigger
MT5 backtestest helper 30 - 200 USD
Sure 😊 — here’s a simple file-style write-up about your robot that you ordered on MetaTrader 4. You can copy it into Word or save it as a document. Title: My Trading Robot on MetaTrader 4 Introduction I recently ordered a trading robot on MetaTrader 4 to help me trade in the financial markets. A trading robot, also known as an Expert Advisor (EA), is a program that automatically analyzes the market and places trades
I am looking for a professional MQL5 developer to build a structured MT5 Expert Advisor. This is NOT a martingale or high-risk grid bot. Platform: • MT5 only (MQL5 source code required) Symbols: • XAUUSD • GBPUSD • GBPJPY Timeframe: • M5 Risk Management: • Adjustable risk per trade (default 0.5% equity) • Daily drawdown protection (max 3%, auto-lock trading for the day) • Maximum 2 open trades • Minimum 120 seconds

项目信息

预算
30+ USD
截止日期
 10 天

客户

所下订单1
仲裁计数0