指定
//+------------------------------------------------------------------+
//| Expert Advisor: Gold AI Scalping Bot (M1/M5 MA Crossover) |
//+------------------------------------------------------------------+
#property copyright "OpenAI"
#property version "1.01"
#property strict
input string symbol = "XAUUSD";
input ENUM_TIMEFRAMES timeframe = PERIOD_M1; // Change to PERIOD_M5 if needed
input int fastMA = 5;
input int slowMA = 20;
input double lotSize = 0.1;
input int stopLoss = 100; // in points (e.g., 10 pips)
input int takeProfit = 150; // in points (e.g., 15 pips)
input int magicNumber = 777777;
double maFastPrev, maFastCurr;
double maSlowPrev, maSlowCurr;
//+------------------------------------------------------------------+
//| Expert initialization |
//+------------------------------------------------------------------+
int OnInit()
{
Print("Gold AI Scalping Bot initialized on ", EnumToString(timeframe));
return(INIT_SUCCEEDED);
}
//+------------------------------------------------------------------+
//| Expert tick function |
//+------------------------------------------------------------------+
void OnTick()
{
if (Symbol() != symbol) return;
if (PositionsTotal() > 0) return; // Avoid multiple trades
// MA values
maFastPrev = iMA(symbol, timeframe, fastMA, 0, MODE_EMA, PRICE_CLOSE, 1);
maFastCurr = iMA(symbol, timeframe, fastMA, 0, MODE_EMA, PRICE_CLOSE, 0);
maSlowPrev = iMA(symbol, timeframe, slowMA, 0, MODE_EMA, PRICE_CLOSE, 1);
maSlowCurr = iMA(symbol, timeframe, slowMA, 0, MODE_EMA, PRICE_CLOSE, 0);
// Crossover detection
if (maFastPrev < maSlowPrev && maFastCurr > maSlowCurr)
{
// BUY signal
OpenTrade(ORDER_TYPE_BUY);
}
else if (maFastPrev > maSlowPrev && maFastCurr < maSlowCurr)
{
// SELL signal
OpenTrade(ORDER_TYPE_SELL);
}
}
//+------------------------------------------------------------------+
//| Trade execution |
//+------------------------------------------------------------------+
void OpenTrade(ENUM_ORDER_TYPE type)
{
double price = (type == ORDER_TYPE_BUY) ? SymbolInfoDouble(symbol, SYMBOL_ASK)
: SymbolInfoDouble(symbol, SYMBOL_BID);
double sl = (type == ORDER_TYPE_BUY) ? price - stopLoss * _Point
: price + stopLoss * _Point;
double tp = (type == ORDER_TYPE_BUY) ? price + takeProfit * _Point
: price - takeProfit * _Point;
MqlTradeRequest request;
MqlTradeResult result;
ZeroMemory(request);
request.action = TRADE_ACTION_DEAL;
request.symbol = symbol;
request.volume = lotSize;
request.type = type;
request.price = NormalizeDouble(price, _Digits);
request.sl = NormalizeDouble(sl, _Digits);
request.tp = NormalizeDouble(tp, _Digits);
request.magic = magicNumber;
request.deviation = 10;
request.type_filling = ORDER_FILLING_IOC;
if (!OrderSend(request, result))
{
Print("Trade failed: ", result.retcode);
}
else
{
Print("Trade opened: ", (type == ORDER_TYPE_BUY ? "BUY" : "SELL"));
}
}
反馈
1
等级
项目
2873
63%
仲裁
121
45%
/
26%
逾期
429
15%
空闲
2
等级
项目
19
11%
仲裁
4
25%
/
50%
逾期
1
5%
工作中
3
等级
项目
627
40%
仲裁
2
100%
/
0%
逾期
1
0%
空闲
发布者: 9 代码
4
等级
项目
4
25%
仲裁
1
0%
/
100%
逾期
0
空闲
5
等级
项目
0
0%
仲裁
0
逾期
0
空闲
6
等级
项目
0
0%
仲裁
5
0%
/
60%
逾期
0
空闲
7
等级
项目
396
27%
仲裁
38
39%
/
50%
逾期
1
0%
空闲
8
等级
项目
1
100%
仲裁
3
0%
/
67%
逾期
0
工作中
9
等级
项目
1
0%
仲裁
1
0%
/
100%
逾期
0
空闲
10
等级
项目
0
0%
仲裁
0
逾期
0
空闲
11
等级
项目
80
23%
仲裁
24
13%
/
58%
逾期
7
9%
工作中
12
等级
项目
225
20%
仲裁
19
42%
/
16%
逾期
0
已载入
13
等级
项目
0
0%
仲裁
0
逾期
0
空闲
14
等级
项目
253
30%
仲裁
0
逾期
3
1%
空闲
发布者: 2 代码
15
等级
项目
951
75%
仲裁
26
19%
/
65%
逾期
100
11%
已载入
发布者: 1 文章, 6 代码
16
等级
项目
686
34%
仲裁
32
72%
/
9%
逾期
22
3%
空闲
17
等级
项目
0
0%
仲裁
0
逾期
0
空闲
18
等级
项目
0
0%
仲裁
0
逾期
0
空闲
19
等级
项目
12
17%
仲裁
2
0%
/
50%
逾期
1
8%
空闲
20
等级
项目
30
13%
仲裁
10
0%
/
50%
逾期
8
27%
工作中
21
等级
项目
4
0%
仲裁
2
50%
/
50%
逾期
2
50%
空闲
22
等级
项目
0
0%
仲裁
0
逾期
0
空闲
23
等级
项目
278
77%
仲裁
12
75%
/
0%
逾期
4
1%
工作中
24
等级
项目
8
13%
仲裁
6
33%
/
17%
逾期
0
工作中
25
等级
项目
741
56%
仲裁
47
32%
/
30%
逾期
117
16%
已载入
发布者: 1 代码
26
等级
项目
306
69%
仲裁
2
100%
/
0%
逾期
0
空闲
发布者: 1 代码
27
等级
项目
945
47%
仲裁
309
58%
/
27%
逾期
125
13%
空闲
28
等级
项目
1
0%
仲裁
0
逾期
0
空闲
29
等级
项目
0
0%
仲裁
0
逾期
0
空闲
30
等级
项目
284
35%
仲裁
17
24%
/
59%
逾期
42
15%
已载入
31
等级
项目
3
0%
仲裁
3
0%
/
67%
逾期
0
工作中
32
等级
项目
0
0%
仲裁
0
逾期
0
空闲
33
等级
项目
29
21%
仲裁
20
10%
/
50%
逾期
8
28%
工作中
34
等级
项目
1
0%
仲裁
1
0%
/
0%
逾期
0
空闲
相似订单
Looking for a reliable Expert Advisor with a proven track record? I'm seeking an EA with source code that meets the following criteri *Requirements:* - .mq5 source code (well-commented and readable) - 4-year backtest (Jan 2022 - Dec 2025) with tick/data quality details - 1-month demo test on live/demo broker - ~15% monthly average returns (medium risk) - Max drawdown ≤15% (equity/drawdown report) - No grid
Looking for an Existing Profitable EA
30 - 50 USD
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
Dark Venus EA – Trend + Scalping Strategy (MQL5)
30 - 100 USD
I need a custom MT5 Expert Advisor named “Dark Venus”. Strategy details: - Timeframe: M5 / M15 - Market: Forex (all major pairs) - Strategy type: Trend + Scalping - Indicators: • EMA (Fast & Slow) • RSI filter • ATR for Stop Loss & Take Profit - Trades only during low-spread sessions (London & New York) Trade Rules: - Buy when fast EMA crosses above slow EMA + RSI confirmation - Sell when fast EMA crosses below
BMM VERSION 1 AI
30+ USD
//+------------------------------------------------------------------+ //| FXE Trader Smart AI EA (Deriv MT5 Forex) | //+------------------------------------------------------------------+ #property strict #include <Trade/Trade.mqh> CTrade trade; // ===== INPUTS ===== input double RiskPercent = 1.0; // % risk per trade input int FastEMA = 50; input int SlowEMA = 200; input int RSI_Period = 14; input int
Proven EA Acquisition
30+ USD
Acquire existing profitable Expert Advisor with source code for client investment portfolio - Full .mq5 code (clean & commented) - 4+ years backtest (Jan 2022 - Dec 2025, 100% tick data) - ~10% monthly return - Max DD ≤15% - No grid/martingale (strictly enforced) - 1-month forward test required - Send trade history + EA details for review - Demo EA file needed for backtest replication - Open to any currency
Copy trade on binance
30+ USD
i need the multi-chain dex bot with set up and installation i need you to help me set the copy reading wallet on binance or phantom with capital for 100 Euro to 1 Million in one year
Please teach me orderflow
300 - 3000 USD
I am searching a profitable trader that is using orderflow in his analysis. Only serious offers please. Please send me your history of trades. I need proof. Merry Christmas everyone
Forex Expert Advisor/Robot mt4
30 - 50 USD
Greetings, I'm seeking a price quote for the following EA description. 1) Short positions are opened after trades that have closed below the open of the trade. 2) Long positions are opened after trades that have closed above the open of the trade. 3) The base lot size plus the spread is applied for every trade that opens after the take profit has been reached. 4) Double the lot size of the previous trade plus
Ninjatrader indicator
30+ USD
I have an issue with my ninja script and i would like you to help me straighten things I wanted to create an indicator and i have the source code already but i am getting compiling errors on my NinjaTrader And i tried fixing the error it still same I sent 3 images here for you to understand the errors and i would like to ask if you can help me fix it so i can go ahead and compile my source code. Thanks
Nijatrader indicator
30+ USD
Good day, I would like to build an automated trading system for Ninjatrader using 2 MACD, a Supertrend, and a moving average indicator. I want the option to adjust the indicator settings, the ability to trade at three different times, and the option to receive alerts. I want to get an idea of what that will cost me. It will enter trades on all blue take one contract out at a fixed point, move the stop to break even
项目信息
预算
50+ USD