Spécifications
//+------------------------------------------------------------------+
//| 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
Répondu
1
Évaluation
Projets
508
19%
Arbitrage
33
45%
/
30%
En retard
34
7%
Chargé
2
Évaluation
Projets
641
41%
Arbitrage
25
48%
/
36%
En retard
46
7%
Travail
3
Évaluation
Projets
3
33%
Arbitrage
0
En retard
0
Gratuit
4
Évaluation
Projets
72
22%
Arbitrage
13
46%
/
15%
En retard
5
7%
Gratuit
5
Évaluation
Projets
80
10%
Arbitrage
38
8%
/
58%
En retard
6
8%
Gratuit
6
Évaluation
Projets
1462
63%
Arbitrage
21
57%
/
10%
En retard
43
3%
Gratuit
7
Évaluation
Projets
19
26%
Arbitrage
4
25%
/
25%
En retard
1
5%
Gratuit
8
Évaluation
Projets
744
56%
Arbitrage
48
31%
/
31%
En retard
120
16%
Gratuit
Publié : 1 code
9
Évaluation
Projets
640
33%
Arbitrage
41
41%
/
46%
En retard
11
2%
Chargé
10
Évaluation
Projets
4
0%
Arbitrage
0
En retard
1
25%
Gratuit
Commandes similaires
Aaa
30+ USD
//+------------------------------------------------------------------+ //| BullishBearish Engulfing CCI.mq5 | //| Copyright 2000-2026, MetaQuotes Ltd. | //| www.mql5.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2000-2026, MetaQuotes Ltd." #property link " https://www.mql5.com " #property version
Collaboratore MetaTrader 5 (Ottimizzazione algoritmi)
700 - 1500 USD
Società di investimento con attività tra Sanremo e Monaco ricerca un giovane collaboratore con esperienza nell’utilizzo avanzato di MetaTrader 5. Attività: Il collaboratore si occuperà di: • eseguire backtest di strategie di trading su MT5 • effettuare ottimizzazioni parametri tramite Strategy Tester • analizzare risultati e robustezza delle strategie • eseguire forward test • preparare report di test e analisi. Gli
We are seeking an experienced MQL5 developer to design and develop a high-performance Expert Advisor (EA) for trading Gold (XAUUSD) on MetaTrader 5 . This project is intended for large-scale capital deployment , with an available trading capital exceeding $8,000,000 USD . As such, we are looking for a developer capable of building a robust, scalable, and risk-controlled algorithmic trading system suitable for
Zone detection is coded , you will be working from that point . Trailing Stop Optimization for live chart . Apply Specific Currency Support . Clean Code . Zone Upper Limit and Lower Limit
I am looking for an experienced MT4 developer/designer who can create a custom chart template using a background image provided NOTE: Apply if you have done this type of job in the past, also provide the prove of your past project
نموزج الكتفين
30+ USD
حلل لي اصل مالي ) اكتب هنا مثلا XAU EUR USD USD اريد تحليلا تعليما و ليس توصية مالية ۱- نوع التحليل المطلوب : ( فني / اساسي / سلوك سعري ) ٢ - المدي الزمني : ( قصير / متوسط / طويل ) M15 / H1 / H4 / ) اذكر الفريمات المطلوبه + (D1 ما اريد استخراجه من التحليل : الاتجاه العام اقوي مستويات دعم و مقاومة رقمية سيناريو صعود و سيناريو هبوط مع شروط كل سيناريو ( IF / THEN ) اين يصبح السيناريو لاغيا مناطق دخول و خروج تعليمية (
Project Title: Looking for an MQL5 developer for a custom MT5 Expert Advisor Hello, I am looking for an experienced MQL5 developer to create a custom Expert Advisor (EA) for MetaTrader 5. The strategy logic will be discussed privately after I find a developer interested in the project. At this stage, I only want to know: • If you are available to develop a custom EA • Your experience with MT5 / MQL5 • Your estimated
I need modifications to an existing MT5 Expert Advisor. Modification 1 EA must be able to run on indices as well as forex , specifically: SP500 US100 US30 No other changes to the current logic Modification 2 Other alterations/notes: Opening breakout range option for 15min or 30 min from session start. 5 min fair value gap (FVG) break outside of the range (instead of 1 min). At least one of the candles must be within
I am looking for an experienced quantitative developer to analyze and optimize an MT5 Expert Advisor that I have already developed. The EA is relatively complex and includes: Multiple strategies (Trend Pullback, Breakout, Mean Reversion, EMA Reclaim) Scoring system combining technical score and probabilistic filter Regime detection (ADX based) Volatility filters (ATR regime) Correlation and cluster exposure control
Translarion
30+ USD
I need expert. Who translate expert and have trust wallet app. If anyone have inbox me. This is very important. Ok anyone interested so dm me.In the situation translater need very important. First dm me
Informations sur le projet
Budget
30+ USD