指定
//+------------------------------------------------------------------+
//| Emmanuels Bot |
//| Copyright © 2023 Emmanuel |
//| https://www.example.com |
//+------------------------------------------------------------------+
//|----------------------------------------------------|
//| Trading Strategy Parameters |
//|----------------------------------------------------|
input double Key_Value = 2.0; // Key Value to adjust sensitivity
input int ATR_Period = 10; // ATR Period
input double Lot_Size = 0.05; // Lot Size for orders
input int Take_Profit = 20; // Take Profit in pips
//|----------------------------------------------------|
//| Indicator |
//|----------------------------------------------------|
double xATRTrailingStop; // Trailing Stop value
//+------------------------------------------------------------------+
//| |
//+------------------------------------------------------------------+
void OnTick()
{
double atr = iATR(_Symbol, _Period, ATR_Period, 0); // ATR value
double nLoss = Key_Value * atr; // Dynamic Loss value
double stopLoss = 0; // Stop Loss value
// Calculate the Trailing Stop
if(Close[1] < xATRTrailingStop && Close[0] > xATRTrailingStop))
{
xATRTrailingStop = MathMax(xATRTrailingStop[1], Close[0] - nLoss);
}
else
if(Close[1] > xATRTrailingStop && Close[0] < xATRTrailingStop)
{
xATRTrailingStop = MathMin(xATRTrailingStop[1], Close[0] + nLoss);
}
else
{
if(Close[0] > xATRTrailingStop)
{
xATRTrailingStop = Close[0] - nLoss;
}
else
{
xATRTrailingStop = Close[0] + nLoss;
}
}
// Check for entry signal
if(Close[1] < xATRTrailingStop && Close[0] > xATRTrailingStop)
{
if(PositionsTotal() == 0)
{
// Open Buy Order
double stopLoss = xATRTrailingStop - nLoss;
double takeProfit = xATRTrailingStop + Take_Profit * _Point;
OrderSend(_Symbol, OP_BUY, Lot_Size, Ask, 3, stopLoss, takeProfit, "Buy Order", 0, 0, CLR_GREEN);
}
}
else
if(Close[1] > xATRTrailingStop && Close[0] < xATRTrailingStop)
{
if(PositionsTotal() == 0)
{
// Open Sell Order
double stopLoss = xATRTrailingStop + nLoss;
double takeProfit = xATRTrailingStop - Take_Profit * _Point;
OrderSend(_Symbol, OP_SELL, Lot_Size, Bid, 3, stopLoss, takeProfit, "Sell Order", 0, 0, CLR_RED);
}
}
// Check for exit signal
if(PositionsTotal() > 0)
{
if(Close[1] > xATRTrailingStop && Close[0] < xATRTrailingStop && PositionGetInteger(POSITION_TYPE) == POSITION_TYPE_BUY)
{
// Close Buy Order
OrderClose(PositionGetTicket(0), Lot_Size, Bid, 3, CLR_GREEN);
}
//+------------------------------------------------------------------+
//+------------------------------------------------------------------+
I NEED TO DEBUG THIS CODE
反馈
1
等级
项目
515
19%
仲裁
35
46%
/
31%
逾期
34
7%
工作中
2
等级
项目
641
41%
仲裁
25
48%
/
36%
逾期
46
7%
工作中
3
等级
项目
3
33%
仲裁
0
逾期
0
空闲
4
等级
项目
72
22%
仲裁
13
46%
/
15%
逾期
5
7%
空闲
5
等级
项目
80
10%
仲裁
38
8%
/
58%
逾期
6
8%
空闲
6
等级
项目
1462
63%
仲裁
21
57%
/
10%
逾期
43
3%
空闲
7
等级
项目
19
26%
仲裁
4
25%
/
25%
逾期
1
5%
空闲
8
等级
项目
744
56%
仲裁
48
31%
/
31%
逾期
120
16%
空闲
发布者: 1 代码
9
等级
项目
739
34%
仲裁
49
53%
/
39%
逾期
15
2%
工作中
10
等级
项目
4
0%
仲裁
0
逾期
1
25%
空闲
相似订单
Ultra mobile bot
31+ USD
//+------------------------------------------------------------------+ //| UltraBot_MT5_EA.mq5 | //| Copyright 2026, UltraBot Algorithmic Engine | //| Brokers: RCG Markets & Razor Market | //+------------------------------------------------------------------+ #property copyright "UltraBot Automated Algo" #property link "https://ultrabot-mt5.app" #property version
Automate this Video Strategy
35 - 100 USD
https://www.youtube.com/watch?v=xMNx8f-aGQE& ;t=56s risk 1% per trade watch the video carefully and automate the trade setups in XAUUSD i prefer picking the least drawdown and good return expert advisor do not use overfitting(Strict) account type : hedging
Creating a Multi-Currency Expert Advisor
500 - 1000 USD
FREELANCER JOB ORDER: DEVELOPMENT OF A MULTI-ASSET FTMO-COMPLIANT EXPERT ADVISOR (EA) 1. Project Title Development of a Professional, Configurable MT5 Expert Advisor for FTMO Challenges and Funded Accounts — Forex, Gold, Silver and Commodities 2. Project Overview I am seeking an experienced MQL5 developer to design and develop a professional automated trading system (Expert Advisor) for MetaTrader 5 (MT5). The EA
Custom MT5 Trading Robot for Gold and Forex
200 - 300 USD
Project: Custom MT5 Day Trading Expert Advisor I need a custom automated trading robot (EA) for MetaTrader 5, developed in MQL5. Markets: - Gold (XAUUSD) - Selected Forex pairs Trading style: Automated day trading. All positions should be closed according to predefined strategy rules and before the end of the selected trading session. Strategy: The developer should propose a clear trading strategy, explain its rules
Ninjascript strategy tester
30+ USD
Hi, I need NinjaTrader 8 Strategy Analyzer backtests on two of my strategies, each over 1 year AND 3 years of data. Please quote the full job. Common settings: NT8 Strategy Analyzer, MCL (Micro WTI Crude Oil) continuous front-month contract (MCL ##-##), 5-minute bars, 1yr + 3yr of the most recent data, $2.50 round-turn commission per contract. Deliverables per run: full Strategy Analyzer summary (net profit, profit
1. Overview Build an MQL5 Expert Advisor for MetaTrader 5 that trades XAUUSD (Gold) as a scalper, using Heiken Ashi candles and a 50 EMA for entries. 2. Platform and symbol MetaTrader 5, Expert Advisor (.mq5 and compiled .ex5) Symbol: XAUUSD (must work with broker suffixes, e.g. XAUUSDm) Default timeframe: M5 (configurable; M1 to M15 should work) 3. Indicators Heiken Ashi candles, calculated inside the EA (no
a { text-decoration: none; color: #464feb; } tr th, tr td { border: 1px solid #e6e6e6; } tr th { background-color: #f5f5f5; } Project Description I need an Expert Advisor (EA) for MetaTrader 5 (MT5) that can automatically trade Gold (XAUUSD) and major Forex pairs. The EA must analyze market conditions, open and close trades automatically, manage risk effectively, and be fully compatible with the MT5 Strategy Tester
MQL5/MT5 TRADING BOT
57+ USD
Hi i'm looking for a trading bot that will trade on mt5/MQL5. The bot must be able to follow trend and works on any pair,chart and symbol. All distance measured with ATR. Trend from a higher time frame (default H1) with a moving average;UP/DOWN. Support and resistance found automatically from recent swing highs and low nothing drawn on the chart. Two kinds of trades, each can be switched on/off. S/R trades; price
EA-MT5-XAUUSD-PuPrime-Live6 +10%/m
30 - 200 USD
I am looking for an EA using MT5, trading XAUUSD on PuPrime-Live6, Standard account. LIMITATIONS No martingale, no grid. Start equity 1000 EUR. Leverate 1:500 Account in USD. PuPrime-Live6 All settings (risk, time, drawdown %, cooldown, lot size) shall be adjustable on init or backtest. VERIFICATIONS The EA needs to reach the profit goals on Actual Ticks, 100ms slippage in backtests for each month 2026. profit goal
To create a unique description that meets the freelance site's requirements, you can type the following: "I am looking for an experienced MQL5 developer to create a custom Forex Expert Advisor. The trading strategy should be based on a moving average crossover system, filtered by the Relative Strength Index indicator. The expert advisor needs to feature distinct strategy modules with adjustable settings for the
项目信息
预算
30+ USD