指定
// Input Parameters
input int TradeExecutionHour = 10; // Trade execution hour (server time)
input bool ManualLotSize = true; // Enable manual lot size adjustment
input bool RiskAllocation = true; // Enable percentage-based risk allocation
input double RiskPercentage = 2.0; // Percentage of risk per trade
input int CandleRangeCondition = 100; // Minimum candle range condition in points
input string Symbols = {"GER30.fin", "EURUSD", "GBPUSD"}; // Symbols to trade
// Global Variables
int ticketBuy, ticketSell;
double entryPointBuy, entryPointSell, stopLossBuy, stopLossSell, takeProfitBuy, takeProfitSell;
bool breakevenBuy = false, breakevenSell = false;
void OnTick()
{
// Check trade execution time
if (TimeHour(TimeCurrent()) == TradeExecutionHour)
{
// Check candle range condition
if (CheckCandleRangeCondition())
{
// Calculate entry points
CalculateEntryPoints();
// Calculate lot size
double lotSize = CalculateLotSize();
// Place buy stop order
ticketBuy = OrderSend(Symbol(), OP_BUYSTOP, lotSize, entryPointBuy, 2 * Point, stopLossBuy, takeProfitBuy);
// Place sell stop order
ticketSell = OrderSend(Symbol(), OP_SELLSTOP, lotSize, entryPointSell, 2 * Point, stopLossSell, takeProfitSell);
}
}
// Check breakeven condition
if (breakevenBuy && breakevenSell)
{
if (CheckBreakevenCondition())
{
// Move stop loss to breakeven
MoveStopLossToBreakeven();
}
}
}
bool CheckCandleRangeCondition()
{
double range = 0;
for (int i = 0; i < 5; i++)
{
range += High[i] - Low[i];
}
range /= 5;
return range >= CandleRangeCondition * Point;
}
void CalculateEntryPoints()
{
double highestHigh = High[1];
double lowestLow = Low[1];
for (int i = 1; i <= 5; i++)
{
if (High[i] > highestHigh)
highestHigh = High[i];
if (Low[i] < lowestLow)
lowestLow = Low[i];
}
entryPointBuy = highestHigh + 2 * Point;
entryPointSell = lowestLow - 2 * Point;
stopLossBuy = lowestLow - 2 * Point;
stopLossSell = highestHigh + 2 * Point;
takeProfitBuy = entryPointBuy + 3 * (entryPointBuy - stopLossBuy);
takeProfitSell = entryPointSell - 3 * (stopLossSell - entryPointSell);
}
double CalculateLotSize()
{
double lotSize = 0;
if (ManualLotSize)
{
// Adjust the lot size manually for each trade
// Add your own logic here
lotSize = 0.01;
}
else if (RiskAllocation)
{
// Calculate lot size based on risk percentage
double accountBalance = AccountBalance();
double riskAmount = accountBalance * RiskPercentage / 100.0;
double stopLossDistance = MathMax(stopLossBuy - entryPointBuy, entryPointSell - stopLossSell);
lotSize = riskAmount / stopLossDistance;
}
return lotSize;
}
bool CheckBreakevenCondition()
{
// Check if the price has reached 1 to 1 ratio
// Add your own logic here
return false;
}
void MoveStopLossToBreakeven()
{
// Move stop loss to breakeven
// Add your own logic here
}
応答済み
1
評価
プロジェクト
1
0%
仲裁
2
50%
/
50%
期限切れ
0
暇
2
評価
プロジェクト
127
24%
仲裁
23
30%
/
52%
期限切れ
8
6%
仕事中
3
評価
プロジェクト
638
53%
仲裁
32
59%
/
22%
期限切れ
6
1%
仕事中
4
評価
プロジェクト
68
25%
仲裁
12
42%
/
42%
期限切れ
4
6%
暇
5
評価
プロジェクト
3405
68%
仲裁
77
48%
/
14%
期限切れ
342
10%
暇
パブリッシュした人: 1 code
6
評価
プロジェクト
565
35%
仲裁
81
31%
/
44%
期限切れ
204
36%
暇
7
評価
プロジェクト
16
25%
仲裁
1
0%
/
100%
期限切れ
1
6%
暇
8
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
9
評価
プロジェクト
59
27%
仲裁
26
19%
/
54%
期限切れ
10
17%
仕事中
パブリッシュした人: 1 code
10
評価
プロジェクト
245
74%
仲裁
7
100%
/
0%
期限切れ
1
0%
暇
パブリッシュした人: 1 article
11
評価
プロジェクト
18
28%
仲裁
4
50%
/
50%
期限切れ
1
6%
暇
12
評価
プロジェクト
11
0%
仲裁
5
20%
/
60%
期限切れ
2
18%
暇
13
評価
プロジェクト
80
10%
仲裁
38
8%
/
58%
期限切れ
6
8%
暇
14
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
15
評価
プロジェクト
641
41%
仲裁
25
48%
/
36%
期限切れ
46
7%
仕事中
16
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
17
評価
プロジェクト
80
6%
仲裁
46
11%
/
54%
期限切れ
7
9%
仕事中
類似した注文
Modify existing MT5 XAUUSD EA entry and exit logic
150 - 200 USD
I have an existing MT5 Expert Advisor for XAUUSD M5. This is NOT a new robot from zero. I need modification and professional review of an existing MQL5 EA. Main goals: 1. Buy entries: Buy trades are currently too rare. The Buy ADX filter was very strict at 45. I am testing 40 now. I need you to review the Buy entry filters and improve Buy entry quality without making entries random or weak. 2. Sell entries: Sell
I am looking for an experienced MQL5 developer to build a professional MetaTrader 5 (MT5) Expert Advisor (EA) for swing trading. Trading Pairs EUR/USD USD/JPY Timeframes Daily (D1) for trend identification. H4 for trade entries. Strategy The EA should: Detect Daily market structure (HH, HL, LH, LL) using confirmed swing highs and lows (not relying solely on ZigZag). Use DMI/ADX for trend confirmation. Open trades
English Description (For Developers): I need a custom Expert Advisor (EA) for MT5 to trade ONLY ETHUSD based on trend-following and counter-trendline breakout-retest with an M1 execution filter and strict risk management. Trading Logic: 1. Trend Filter: Price must be below 200 EMA on both H1 and M15 timeframes for Short (Sell) trades. (Opposite for Long/Buy trades). 2. Setup: On the M15 chart, after a strong move in
Need a Martingale hedging EA
30+ USD
Hello, I want an EA which does martingale and has hedge feature. You may be confused by what this mean entirely so reach out to me so we can talk in depth as what I have said here is very vague for someone to clearly understand. I am not paying a single dollar over $30, so don't apply if you don't agree with that. Thank you for taking your time to read this
مطلوب مبرمج اكسبيرت
30+ USD
أحتاج إلى مستشار خبير لمنصة MetaTrader 5 (MT5) مصمم كآلة حالة محدودة (FSM). يجب أن ينفذ أوامر السوق فقط بناءً على مستويات أسعار يحددها المستخدم. يجب ألا يستخدم أي مؤشرات أو تحليل فني أو أوامر معلقة أو ذكاء اصطناعي أو قرارات تداول تلقائية. يجب أن ينفذ المستشار الخبير ببساطة تسلسلًا محددًا مسبقًا لمستويات الأسعار كما يحددها المستخدم تمامًا، مع إدارة دقيقة للحالة، ودورة نشطة واحدة في كل مرة، ومعالجة الفجوات السعرية،
Make Ea from Investor login
30 - 100 USD
Message me please for the investor login. You will replicate the ea and I shall tell u some things about it, I am not paying over $100. You should have great skills. The EA can handle any market and shall not blow the account
Мне нужен простой торговый бот, написанный исключительно на Python. Бот должен подключаться к терминалу MetaTrader 5 через официальную библиотеку Python "MetaTrader5". Объем кода невелик (около 250 строк). КРИТИЧЕСКИ ВАЖНЫЕ ТРЕБОВАНИЯ: 1. НЕТ КОДА MQL5: Весь проект должен быть написан только на Python. 2. ВНЕШНЯЯ КОНФИГУРАЦИЯ: У бота должен быть внешний конфигурационный файл (config.ini или settings.json). Я должен
[7/6/2026 12:24 PM] DR.HassaN: Current Phase: Comprehensive Review & Final Enhancement_ This indicator is designed for the TradingView platform. Now that the core engines have been completed, I want to enter a comprehensive review and professional enhancement phase before adding any major new features. My goal is to transform this indicator into a premium institutional-grade TradingView indicator , both in terms of
Driven Multiple Choice
30+ USD
Part 1: Project setup Input settings (risk, stop loss, take profit, EMA periods) Indicator initialization Trade management framework Part 2: Trading logic EMA crossover detection Buy/Sell entry rules One-trade-per-symbol check Part 3: Risk management Automatic lot size calculation Stop-loss and take-profit placement Trade execution and error handling Part 4: Final touches On-screen information Optimization
Crypto Latency Arbitrage EA
30 - 5000 USD
I am looking for an experienced MQL4 or MQL5 developer to build a high-frequency (HFT) latency arbitrage Expert Advisor for cryptocurrency trading between LMAX and IC Markets. I need someone who understands low-latency execution, price feeds, slippage, spreads, and fast order execution. The basic idea is that LMAX acts as the leading price feed while IC Markets is the execution broker. The EA should constantly
プロジェクト情報
予算
30 - 50 USD