Specification
// 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
}
Responded
1
Rating
Projects
1
0%
Arbitration
2
50%
/
50%
Overdue
0
Free
2
Rating
Projects
125
24%
Arbitration
23
26%
/
52%
Overdue
8
6%
Working
3
Rating
Projects
633
54%
Arbitration
32
53%
/
22%
Overdue
6
1%
Loaded
4
Rating
Projects
68
25%
Arbitration
12
42%
/
42%
Overdue
4
6%
Free
5
Rating
Projects
3380
68%
Arbitration
77
48%
/
14%
Overdue
342
10%
Free
Published: 1 code
6
Rating
Projects
559
35%
Arbitration
80
31%
/
44%
Overdue
203
36%
Free
7
Rating
Projects
16
25%
Arbitration
1
0%
/
100%
Overdue
1
6%
Free
8
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
9
Rating
Projects
59
27%
Arbitration
26
19%
/
54%
Overdue
10
17%
Working
Published: 1 code
10
Rating
Projects
243
74%
Arbitration
7
100%
/
0%
Overdue
1
0%
Free
Published: 1 article
11
Rating
Projects
18
28%
Arbitration
4
50%
/
50%
Overdue
1
6%
Free
12
Rating
Projects
11
0%
Arbitration
5
20%
/
60%
Overdue
2
18%
Free
13
Rating
Projects
80
10%
Arbitration
38
8%
/
58%
Overdue
6
8%
Free
14
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
15
Rating
Projects
641
41%
Arbitration
25
48%
/
36%
Overdue
46
7%
Working
16
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
17
Rating
Projects
80
6%
Arbitration
46
11%
/
54%
Overdue
7
9%
Working
Similar orders
Darwish
30 - 100 USD
Hey, I want you to build an AI bot for buying and selling. I really like the structure and design of the information I sent you, so please use that as the base. I need the same logic and flow, but make sure it’s unique to me. The bot should handle buying and selling, and I want to control access most users get limited access, like one day, but I need a way to grant full, unlimited access if I choose. Don’t worry just
Super scalper
30 - 200 USD
Articles 1 How to create Requirements Specification for ordering a trading robot 28 MetaQuotes 225 289 Table of Contents Prerequisites for ordering a trading robot Why is it important to have a well-prepared Requirements Specification? Requirements Specification examples What is contained in the Requirements Specification? Where do I get Requirements Specification if I can't create it? Terms to use How to write an
Need Scalper EA with profit
30 - 200 USD
Articles 1 How to create Requirements Specification for ordering a trading robot 28 MetaQuotes 225 289 Table of Contents Prerequisites for ordering a trading robot Why is it important to have a well-prepared Requirements Specification? Requirements Specification examples What is contained in the Requirements Specification? Where do I get Requirements Specification if I can't create it? Terms to use How to write an
Situation: Please contact me privately so I can provide the source code for review. Thank you. Project Overview: I have developed a high-frequency trading (HFT) EA that performs consistently in demo environments and passes most prop-firm requirements. While short live phases showed profitability, the results were not reproducible over time. My primary goal is stable live performance on retail accounts , not just
I need an expert advisor at around 30$-50$
30 - 50 USD
"I need an MT5 EA based on price action — liquidity sweep + hammer/shooting star reversal strategy. TREND: Identified by HH/HL for uptrend, LL/LH for downtrend on selected timeframe. No trade in ranging conditions. BUY SETUP: In uptrend, price retraces to swing low zone, wicks below it (liquidity sweep), hammer forms (lower wick min 2x body, closes above swept low). Buy stop entry at hammer high. SL below hammer
EA SPECIFICATION SHEET OBJECTIVE: Build a transparent, non-martingale, non-grid breakout EA for XAUUSD that trades only high‑quality breakouts during London + New York sessions. 1. TRADING INSTRUMENT - XAUUSD only - MT4 platform - 5‑digit ECN broker 2. CORE STRATEGY LOGIC (BREAKOUT + CONFIRMATION) A trade is allowed ONLY when ALL conditions are true: - Candle closes beyond previous high/low (no wick breakouts) -
I am looking to develop a custom Expert Advisor (EA) for MetaTrader (MT4/MT5) based on a defined technical analysis strategy and flexible risk management rules. The EA should operate on a chart and timeframe that I manually specify, with the ability to adapt its behavior dynamically when the timeframe is changed. Core Strategy Logic The EA will execute trades based on predefined technical analysis zones
I need a simple MT5 custom alert indicator/scanner. It must scan a list of FX pairs and alert me when my MACD continuation setup appears. Symbols The tool must allow me to enter a custom list of symbols, for example: EURUSD, GBPUSD, USDJPY, USDCHF, AUDUSD, USDCAD, NZDUSD, EURJPY, GBPJPY, AUDJPY, CADJPY, CHFJPY, NZDJPY, EURGBP, EURAUD, EURNZD, EURCAD, EURCHF, GBPAUD, GBPNZD, GBPCAD, GBPCHF, AUDNZD, AUDCAD, AUDCHF
Modify an existing EA
30 - 50 USD
This is to modify my Semi Auto EA -Looking for developer modify my existing EA to Pending Order EA (BS/BL/SL/SS). Relevent with Heiken Ashi Smooth ,Moving Average , Acceleration. Concept MAster and Slave. Ready to give previous soucre code as guide. Work to do - 1)To modify this EA to Pending Order. 2) to add new feature - Risk Management/moneymanagement 3) To modify 4 slave to 7 slave will give the previous to
NEED INVESTORS TO WORK ON PROFIT SHARING BASIS
30 - 50 USD
PLEASE READ BEFORE APPLYING : I have developed an Arbitrage Bot which trades using gap of spot and future, looking forward to the investors who are intretsed in steady and slow returns by keeping your capital safe and are willing to work with PROFIT SHARING BASIS. Can start with minimum capital of $250 as trial period of 1 month. Bot gave 60% returns with 5% drawdown, ready to share the backtest reports and live
Project information
Budget
30 - 50 USD