Termos de Referência
// Setting the initial parameters
double capital = 1000;
double risk = 0.015; // 1.5% stop loss
double take_profit = 0.10;
double lot_size = 0.10;
int max_executions = 6;
// Calculating the Ichimoku indicator
int period1 = 9;
int period2 = 26;
int period3 = 52;
int period4 = 26;
double tenkan_sen[];
double kijun_sen[];
int init()
{
// Calculate the Ichimoku indicator
ArrayResize(tenkan_sen, Bars);
ArrayResize(kijun_sen, Bars);
for (int i = 0; i < Bars; i++)
{
double ichimoku[4];
iIchimoku(Symbol(), 0, period1, period2, period3, period4, PRICE_HIGH, ichimoku);
tenkan_sen[i] = ichimoku[0];
kijun_sen[i] = ichimoku[1];
}
return (0);
}
int start()
{
// Implementing the trading strategy
static int position = 0; // 0 represents no position, 1 represents long position
static int executions = 0; // Number of executions
double stop_loss, take_profit_price;
for (int i = 1; i < Bars; i++)
{
if (tenkan_sen[i - 1] > kijun_sen[i - 1] && tenkan_sen[i] < kijun_sen[i] && position == 0)
{
if (executions < max_executions)
{
position = 1;
executions++;
stop_loss = iClose(Symbol(), 0, i) * (1 - risk);
take_profit_price = iClose(Symbol(), 0, i) * (1 + take_profit);
capital -= lot_size * iClose(Symbol(), 0, i); // Entering the market
}
}
else if (tenkan_sen[i - 1] > kijun_sen[i - 1] && tenkan_sen[i] < kijun_sen[i] && position == 1)
{
position = 0;
executions--;
capital += lot_size * iClose(Symbol(), 0, i); // Exiting the market
}
else if (iClose(Symbol(), 0, i) < stop_loss && position == 1)
{
position = 0;
executions--;
capital += lot_size * stop_loss; // Exiting the market with stop loss
}
else if (iClose(Symbol(), 0, i) > take_profit_price && position == 1)
{
position = 0;
executions--;
capital += lot_size * take_profit_price; // Exiting the market with take profit
}
}
// Print the final capital
Print("Final Capital: $", capital);
return (0);
}
Respondido
1
Classificação
Projetos
499
23%
Arbitragem
60
55%
/
25%
Expirado
59
12%
Trabalhando
2
Classificação
Projetos
4
50%
Arbitragem
4
0%
/
75%
Expirado
0
Livre
3
Classificação
Projetos
118
17%
Arbitragem
44
23%
/
39%
Expirado
20
17%
Livre
4
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
5
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
6
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Pedidos semelhantes
Order conditions **The trading robot should have proven record of passing several prop firms challenges within a week max two weeks **The trading robot should be backtestable via strategy tester like I understand some developers says they can't share their secret but those kinds I want here only develers willingly allows me to test their robot via strategy tester because I don't have enough time to test live and
I need a trading indicator for passing prop firms backtestable also non repainting **Consider it should be non repainting **It should be backtestable via MT5 strategy tester **It should be fit for scalping like producing as many true signal ad possible **It should not be lagging indicator most important (I don't waylagging indicators) The developer should not ask to develop that one for me but should have one tested
I am looking to convert my existing TradingView Pine Script (v5) strategy into an MQL5 Expert Advisor (EA) for MetaTrader 5. Strategy Details: Asset: Gold (XAUUSD) Timeframe: 15-minute Strategy Logic: The strategy is based on a breakout concept. Anchor Candle: The base calculation starts from the Specified Candle Entry Window: The EA should only look for entries As Per Indicator Risk Management: The strategy
Professional MT5 Expert Advisor – Multi-Engine Trading Framework Description I'm looking for an experienced MQL5 developer to build a professional MetaTrader 5 Expert Advisor. This is not a simple indicator-based EA. The system should be designed using a modular architecture with a strong focus on maintainability, optimization, and future scalability. The first version should include the following features. Market
Description: I need an experienced MQL5 developer to build a professional MT5 Expert Advisor for XAU/USD based on my trading strategy. I require the full .mq5 source code and the compiled file. Trading Logic: Timeframes: H4 to determine overall direction, H1 for supply and demand zones, M15 for trade entries. Buy conditions: H4 trend is bullish, price reaches a valid H1 demand zone, liquidity sweep occurs below the
Standby Description . Prop Firm Environment . ( Monitor Execution and Handling Environment Changes as Required ) . Technical Issues . Delete extra lines of code (Clean Code , Folder) . Asset related translation , no need for Logic Alteration
Only Technical Issues . Familiarization to Different Symbols . [Again Technical Assistance Only] . Deleting extra lines of code , Not Required Folders (Clean Code) . No Need for Logic Alteration (Strictly)
MultiPair_PriceAction
30 - 200 USD
OANDA market watch clock and symbols (.sim) Multipair able so i can choose at least 6 of those more volatile forex pairs. Price Action setups instead of relay on lag indicators. But rsi for confirmation. Spread protection, position management, magic number editor, hours trading. Volatility protection Trailing Stop, Stop losses, take profit. Percentage and ATR scale instead of dollars or lot sizes. Funds management
Project Overview I am seeking an experienced MQL5 Expert Advisor (EA) developer to automate a systematic, multi-timeframe institutional trading framework specifically optimized for Spot Gold (XAUUSD) . The EA must programmatically map market structure, identify liquidity zones, and execute trades based on structural confirmations across three distinct timeframes: Daily (D1), 1-Hour (H1), and 15-Minute (M15) . Core
Writing of an Expert Advisor
30 - 200 USD
I want to find a Developer to perform this work and settle payments in this Application. I undertake not to communicate with Applicants anywhere else except this Application, including third-party messengers, personal correspondence or emails. I understand that violators will be banned from publishing Orders in the Freelance
Informações sobre o projeto
Orçamento
30+ USD
Prazo
de 30 para 50 dias