Spezifikation
//+------------------------------------------------------------------+
//| 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
Bewerbungen
1
Bewertung
Projekte
515
19%
Schlichtung
35
46%
/
31%
Frist nicht eingehalten
34
7%
Arbeitet
2
Bewertung
Projekte
641
41%
Schlichtung
25
48%
/
36%
Frist nicht eingehalten
46
7%
Arbeitet
3
Bewertung
Projekte
3
33%
Schlichtung
0
Frist nicht eingehalten
0
Frei
4
Bewertung
Projekte
72
22%
Schlichtung
13
46%
/
15%
Frist nicht eingehalten
5
7%
Frei
5
Bewertung
Projekte
80
10%
Schlichtung
38
8%
/
58%
Frist nicht eingehalten
6
8%
Frei
6
Bewertung
Projekte
1462
63%
Schlichtung
21
57%
/
10%
Frist nicht eingehalten
43
3%
Frei
7
Bewertung
Projekte
19
26%
Schlichtung
4
25%
/
25%
Frist nicht eingehalten
1
5%
Frei
8
Bewertung
Projekte
744
56%
Schlichtung
48
31%
/
31%
Frist nicht eingehalten
120
16%
Frei
Veröffentlicht: 1 Beispiel
9
Bewertung
Projekte
739
34%
Schlichtung
49
53%
/
39%
Frist nicht eingehalten
15
2%
Arbeitet
10
Bewertung
Projekte
4
0%
Schlichtung
0
Frist nicht eingehalten
1
25%
Frei
Ähnliche Aufträge
Decrypt ex4 file for mt4 and recreate EA for mt4
30 - 50 USD
i have existing EA but its decrypted i dont have its source code , i want you to decrypt the EA and give me the original source code of it
MT5 to MEXC web trading
50+ USD
Hi gentlemen, I want MT5 market orders placed (open and close orders) on MEXC trading through web browser. MEXC doesnt allow algo trading. - Need source code budget: USD 50 (quote me your price and delivery time) I need this at the earliest and this job is only for mexc.com, not binance or any other exchange I look forward to your price offer and your suggestions. Appreciate
Automate this Video Strategy
35 - 100 USD
https://www.youtube.com/watch?v=xMNx8f-aGQE& ;t=56s risk 1% per trade watch the video carefully and automate the trade setups in XAUUSD i prefer picking the least drawdown and good return expert advisor do not use overfitting(Strict) account type : hedging
Bonjour , je cherche quelqu’un capable de crée un bot sur le gold type HFT , ouverture de plusieurs positions en quelques secondes , robot agressif , je cherche un robot qui marche sur du réel , qui a déjà était tester avec des résultats, pas basé que sur des backtest
Decrypt ex5 file for mt5 and recreate EA for mt5
30 - 80 USD
i have existing EA but its decrypted i dont have its source code , i want you to decrypt the EA and give me the original source code of it
Custom MT5 Trading Robot for Gold and Forex
200 - 300 USD
Project: Custom MT5 Day Trading Expert Advisor I need a custom automated trading robot (EA) for MetaTrader 5, developed in MQL5. Markets: - Gold (XAUUSD) - Selected Forex pairs Trading style: Automated day trading. All positions should be closed according to predefined strategy rules and before the end of the selected trading session. Strategy: The developer should propose a clear trading strategy, explain its rules
Ninjascript strategy tester
30+ USD
Hi, I need NinjaTrader 8 Strategy Analyzer backtests on two of my strategies, each over 1 year AND 3 years of data. Please quote the full job. Common settings: NT8 Strategy Analyzer, MCL (Micro WTI Crude Oil) continuous front-month contract (MCL ##-##), 5-minute bars, 1yr + 3yr of the most recent data, $2.50 round-turn commission per contract. Deliverables per run: full Strategy Analyzer summary (net profit, profit
1. Overview Build an MQL5 Expert Advisor for MetaTrader 5 that trades XAUUSD (Gold) as a scalper, using Heiken Ashi candles and a 50 EMA for entries. 2. Platform and symbol MetaTrader 5, Expert Advisor (.mq5 and compiled .ex5) Symbol: XAUUSD (must work with broker suffixes, e.g. XAUUSDm) Default timeframe: M5 (configurable; M1 to M15 should work) 3. Indicators Heiken Ashi candles, calculated inside the EA (no
a { text-decoration: none; color: #464feb; } tr th, tr td { border: 1px solid #e6e6e6; } tr th { background-color: #f5f5f5; } Project Description I need an Expert Advisor (EA) for MetaTrader 5 (MT5) that can automatically trade Gold (XAUUSD) and major Forex pairs. The EA must analyze market conditions, open and close trades automatically, manage risk effectively, and be fully compatible with the MT5 Strategy Tester
To create a unique description that meets the freelance site's requirements, you can type the following: "I am looking for an experienced MQL5 developer to create a custom Forex Expert Advisor. The trading strategy should be based on a moving average crossover system, filtered by the Relative Strength Index indicator. The expert advisor needs to feature distinct strategy modules with adjustable settings for the
Projektdetails
Budget
30+ USD