Spécifications
//+------------------------------------------------------------------+
//| MyEA.mq5 |
//| Copyright 2024, Your Company Name |
//| http://www.yourwebsite.com|
//+------------------------------------------------------------------+
#property copyright "2024, Your Company Name"
#property link "http://www.yourwebsite.com"
#property version "1.00"
#property strict
//+------------------------------------------------------------------+
//| Expert initialization function |
//+------------------------------------------------------------------+
int OnInit()
{
// Place your initialization code here
return INIT_SUCCEEDED;
}
//+------------------------------------------------------------------+
//| Expert deinitialization function |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
{
// Place your deinitialization code here
}
//+------------------------------------------------------------------+
//| Expert tick function |
//+------------------------------------------------------------------+
void OnTick()
{
// Place your trading logic here
double stopLossDistance = 30.0; // Stop loss distance in pips
double stopLossPrice = 0.0; // Stop loss price
double entryPrice = Ask(); // Get current ask price (assuming long trade)
// Calculate stop loss price
if (stopLossDistance > 0)
{
stopLossPrice = entryPrice - stopLossDistance * Point;
}
// Place stop loss order
if (stopLossPrice > 0)
{
int ticket = OrderSend(Symbol(), OP_BUY, 0.1, entryPrice, 2, stopLossPrice, 0, "Stop Loss", 0, 0, clrNONE);
if (ticket > 0)
{
Print("Stop loss order placed successfully at price ", stopLossPrice);
}
else
{
Print("Error placing stop loss order: ", GetLastError());
}
}
}
//+------------------------------------------------------------------+
Répondu
1
Évaluation
Projets
21
10%
Arbitrage
4
25%
/
75%
En retard
0
Gratuit
2
Évaluation
Projets
980
47%
Arbitrage
32
38%
/
34%
En retard
96
10%
Travail
Publié : 6 codes
3
Évaluation
Projets
1
0%
Arbitrage
1
0%
/
100%
En retard
1
100%
Gratuit
4
Évaluation
Projets
59
27%
Arbitrage
26
19%
/
54%
En retard
10
17%
Travail
Publié : 1 code
5
Évaluation
Projets
80
10%
Arbitrage
38
8%
/
58%
En retard
6
8%
Gratuit
6
Évaluation
Projets
340
37%
Arbitrage
6
50%
/
17%
En retard
7
2%
Gratuit
Publié : 5 codes
7
Évaluation
Projets
67
37%
Arbitrage
5
40%
/
40%
En retard
1
1%
Gratuit
8
Évaluation
Projets
190
57%
Arbitrage
10
80%
/
0%
En retard
0
Gratuit
Publié : 1 code
9
Évaluation
Projets
4
100%
Arbitrage
0
En retard
0
Gratuit
10
Évaluation
Projets
22
36%
Arbitrage
5
0%
/
100%
En retard
4
18%
Gratuit
11
Évaluation
Projets
66
12%
Arbitrage
12
58%
/
42%
En retard
1
2%
Gratuit
12
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
13
Évaluation
Projets
19
16%
Arbitrage
5
40%
/
40%
En retard
0
Gratuit
14
Évaluation
Projets
1
0%
Arbitrage
0
En retard
0
Gratuit
15
Évaluation
Projets
945
47%
Arbitrage
309
58%
/
27%
En retard
125
13%
Gratuit
16
Évaluation
Projets
146
34%
Arbitrage
13
8%
/
62%
En retard
26
18%
Gratuit
Publié : 6 codes
17
Évaluation
Projets
228
60%
Arbitrage
3
33%
/
33%
En retard
6
3%
Gratuit
Publié : 1 code
Commandes similaires
I want an EA that work with my support and resistance indicator. Buy entry condition are: 1. hen candlestick closes in side the support bar. 2. When candlestick break above resistance bar. Likewise sell condition: 1. When candlestick closes inside the resistance bar, 2. When candlestick break below support bar
1. Goal I want a MetaTrader 5 Expert Advisor that trades a simple Supertrend trend‑following idea, but with professional‑grade risk management and filters. It should be robust enough for real money on instruments like XAUUSD and GBP pairs, using small, consistent risk per trade rather than martingale or grid. 2. Strategy Logic Indicators (I will supply the .mq5 files if needed): Supertrend (ATR‑based), with
Hi developers, I need someone to help me create a simple EA with my indicators and trading plan... I will give you all parameters and you help me create... 2 moving averages, one candle pattern
Please a need a very good expert for this jou I want to create 2 robot one a trade manager Perfect — here’s a clean, professional order description you can post directly to an EA freelancer (MQL5). I’ve written it so it’s clear, serious, and attractive to skilled developers 👌 MQL5 Trade Manager EA – Development Request I am looking for an experienced MQL5 developer to build a robust Trade Manager Expert Advisor for
Henryy999
30 - 3000 USD
The Ai robot must help me with forex and I don't have money soon can the Ai robot give me some money and I will pay it back if the Ai robot does a good job making me rich
Project Title: MT5 Algo Trading EA (Single Strategy + License Panel + Ownership + Manual Trade) --- Project Description I am looking for an experienced MT5 (MQL5) developer to create a clean, stable and professional Algo Trading EA for my company and future clients. This is a long-term business project, not a one-time personal EA. --- 1. Strategy Requirements - Only 1 single trading strategy - No martingale - No grid
StrategyQuant X (SQX) – Trading Template Build
100 - 500 USD
I am looking for an experienced StrategyQuant X (SQX) developer to build a reusable trading template , not a single strategy. ⚠️ Please do NOT apply unless you actively use StrategyQuant X and have access to it. This project cannot be completed without SQX. 1. Session and Time Filters Trading restricted to fixed GMT sessions per index Sessions must convert correctly to broker server time and remain correct through
PipJuice Indicator available?
30 - 300 USD
Is there someone who coded the PipJuice indicator? Here is the link: https://www.pipjuice.io/ Unfortunately, I don‘t have access to the indicator or the code. If someone have it please send me some screenshots
Strategy Development: Suggest a high-probability trading strategy based on Technical Analysis (using indicators like RSI, MACD, or Price Action). Risk Management: Explain how to calculate position sizing so I don't lose more than 1-2% of my capital per trade. Market Analysis: Teach me how to identify Support and Resistance levels and how to spot a trend reversal. Psychology: Give me 5 golden rules to maintain
Grid EA with percentage trade allocation with Hedge
250 - 500 USD
A Grid EA with a hedge that open trades on a percentage based on whats is opened on the other side, closes losing trades with current profits made and utilizes a grid trading strategy combined with hedging technique to mitigate risk and potentially lock in profits. It involves placing buy and sell orders at predetermined price intervals, forming a grid. When a trade within the grid moves against the initial
Informations sur le projet
Budget
30+ USD