Termos de Referência
// --- إعدادات المؤشرات
input int FastMA_Period = 9; // الفترة للمتوسط المتحرك السريع
input int SlowMA_Period = 50; // الفترة للمتوسط المتحرك البطيء
input int RSI_Period = 14; // فترة مؤشر RSI
input double RSI_Overbought = 70; // مستوى التشبع الشرائي
input double RSI_Oversold = 30; // مستوى التشبع البيعي
input int BB_Period = 20; // فترة Bollinger Bands
input double BB_Deviation = 2.0; // الانحراف المعياري لـ Bollinger Bands
input double LotSize = 0.1; // حجم اللوت
input double StopLoss = 50; // وقف الخسارة بالنقاط
input double TakeProfit = 100; // جني الأرباح بالنقاط
// --- تعريف المؤشرات
double FastMA[], SlowMA[], RSI[], BB_Upper[], BB_Lower[];
// --- إعداد الروبوت
int OnInit() {
ArraySetAsSeries(FastMA, true);
ArraySetAsSeries(SlowMA, true);
ArraySetAsSeries(RSI, true);
ArraySetAsSeries(BB_Upper, true);
ArraySetAsSeries(BB_Lower, true);
return(INIT_SUCCEEDED);
}
// --- الدالة الرئيسية
void OnTick() {
int totalBars = Bars(_Symbol, _Period);
if (totalBars < SlowMA_Period) return;
// جلب بيانات المؤشرات
CopyBuffer(iMA(_Symbol, _Period, FastMA_Period, 0, MODE_SMA, PRICE_CLOSE), 0, 0, 3, FastMA);
CopyBuffer(iMA(_Symbol, _Period, SlowMA_Period, 0, MODE_SMA, PRICE_CLOSE), 0, 0, 3, SlowMA);
CopyBuffer(iRSI(_Symbol, _Period, RSI_Period, PRICE_CLOSE), 0, 0, 3, RSI);
CopyBuffer(iBands(_Symbol, _Period, BB_Period, BB_Deviation, 0, PRICE_CLOSE, BANDS_UPPER), 0, 0, 3, BB_Upper);
CopyBuffer(iBands(_Symbol, _Period, BB_Period, BB_Deviation, 0, PRICE_CLOSE, BANDS_LOWER), 0, 0, 3, BB_Lower);
// التحقق من وجود صفقات مفتوحة
if (PositionsTotal() > 0) return;
double currentPrice = SymbolInfoDouble(_Symbol, SYMBOL_BID);
// شروط الدخول شراء
if (FastMA[1] > SlowMA[1] && FastMA[2] <= SlowMA[2] && RSI[1] > RSI_Oversold && currentPrice <= BB_Lower[1]) {
OpenOrder(ORDER_BUY);
}
// شروط الدخول بيع
if (FastMA[1] < SlowMA[1] && FastMA[2] >= SlowMA[2] && RSI[1] < RSI_Overbought && currentPrice >= BB_Upper[1]) {
OpenOrder(ORDER_SELL);
}
}
// --- فتح الصفقة
void OpenOrder(int orderType) {
double price = (orderType == ORDER_BUY) ? SymbolInfoDouble(_Symbol, SYMBOL_ASK) : SymbolInfoDouble(_Symbol, SYMBOL_BID);
double sl = (orderType == ORDER_BUY) ? price - StopLoss * _Point : price + StopLoss * _Point;
double tp = (orderType == ORDER_BUY) ? price + TakeProfit * _Point : price - TakeProfit * _Point;
MqlTradeRequest request;
MqlTradeResult result;
ZeroMemory(request);
request.action = TRADE_ACTION_DEAL;
request.symbol = _Symbol;
request.volume = LotSize;
request.type = orderType;
request.price = price;
request.sl = sl;
request.tp = tp;
request.deviation = 10;
request.magic = 123456;
request.comment = "Pro Strategy: MA + RSI + BB";
request.type_filling = ORDER_FILLING_FOK;
OrderSend(request, result);
}
Respondido
1
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
2
Classificação
Projetos
10
0%
Arbitragem
2
50%
/
0%
Expirado
2
20%
Trabalhando
3
Classificação
Projetos
19
16%
Arbitragem
3
67%
/
0%
Expirado
0
Livre
4
Classificação
Projetos
141
45%
Arbitragem
10
80%
/
0%
Expirado
0
Trabalhando
5
Classificação
Projetos
1
0%
Arbitragem
0
Expirado
0
Trabalhando
6
Classificação
Projetos
4
0%
Arbitragem
3
33%
/
33%
Expirado
0
Livre
7
Classificação
Projetos
192
19%
Arbitragem
18
44%
/
17%
Expirado
0
Trabalhando
8
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
9
Classificação
Projetos
44
25%
Arbitragem
23
13%
/
74%
Expirado
10
23%
Carregado
10
Classificação
Projetos
219
29%
Arbitragem
0
Expirado
3
1%
Livre
11
Classificação
Projetos
59
22%
Arbitragem
11
18%
/
27%
Expirado
5
8%
Carregado
12
Classificação
Projetos
207
46%
Arbitragem
6
33%
/
0%
Expirado
12
6%
Ocupado
13
Classificação
Projetos
148
66%
Arbitragem
0
Expirado
0
Livre
14
Classificação
Projetos
2757
62%
Arbitragem
116
46%
/
25%
Expirado
425
15%
Trabalhando
15
Classificação
Projetos
448
24%
Arbitragem
46
59%
/
22%
Expirado
51
11%
Carregado
16
Classificação
Projetos
602
33%
Arbitragem
33
39%
/
42%
Expirado
9
1%
Ocupado
17
Classificação
Projetos
211
72%
Arbitragem
5
100%
/
0%
Expirado
1
0%
Trabalhando
Pedidos semelhantes
Dear Friends, I need a profitable bot with account protection (do not blowup the account) the EA have ability to make 20-50% per month on 1000$ account on (xauusd, gbpusd, eurusd, jpyusd, etc) or if you have other pairs in suggession thats also good but need at end profitable with low drawdown (10-15% only). if you have a ready or can make please share your price and after sale services also thank you
I need a professional developer that can work for me for a very long term, because i work will a company which i always receive 3 new projects in a week but first Hai .. Request : Forex Robot (Expert Advisor) Platform : metatrader 5 (mt5) Delivery requirements : Both mq5 and ex5 files. Expect Delivery 4 days is fine. General SOP entry type : optional single and multilayers indicator confirmation : n/a entry method
I need a developer to convert/adapt my MQL5 EA, which uses fractals and pending orders (Buy Stop/Sell Stop), to operate on Binance via API, keeping the same strategy and parameters. Main requirements: Exact same strategy as the current version, including risk management, time filters, spread filter, trailing stop, and fractal logic. Orders must open in sync with the original MT5 EA for test validation. Must retain
Hello expert developers, I need a developer who can work on a trading journal for me, kindly send an inbox if you are an expert in this field for detailed discussion of what the project entails in full details
I have strategy for : Gold US30 GBP JPY (2) USoil Ger30 All of my strategies are working. I have backtested them for more than 4 months. I am trading with Gold strategy in a prop account too. It took me 6 years to find these working trading styles. I make strategies mainly for trading in prop account. Minimum drawdown and at least of 2-10% gain per month. If you are a trader and looking for a working strategies, then
Hello expert developers, I need a developer who can work on a trading journal for me, kindly send an inbox if you are an expert in this field for detailed discussion of what the project entails in full details
Een trading platform is een digitale omgeving waar gebruikers financiële instrumenten kunnen kopen en verkopen, zoals aandelen, valuta, grondstoffen en cryptocurrencies. Deze platforms bieden tools en functies die traders helpen bij het analyseren van de markten, het uitvoeren van transacties en het beheren van hun investeringen. Veel trading platforms bieden real-time gegevens, grafieken, en analyses om gebruikers
Hi, I have an EA that I would like to reverse engineer. The extension of the EA is ex4. Alternatively I need help understamding why it works in Strategy Tester yet not taking any live trades ? That's actually the ultimate objective. Please post the answer as follows: 1) Possible or not ? 2) How much money ? 3) how much time ? 4) could you help understanding why it takes no live trades yet works in Strategy testing
I have a few trading strategies in TradingView that generate buy signals. Once there is a buy signal alert in TradingView, I want a buy order to be immediately sent to my TradeStation account. I would like to be able to edit % of balance before a trade is initiated and have this be a static value that i can change over time. I would like to edit the sell % and stop loss targets for each trade. If it is easier, I can
Juliana's expertise
30+ USD
Hi I want a forex trading robot so I can earn profit to support my daily live as I am unemployed and unable to work I hope my reason is stable enough to make you consider giving me a forex trading robot
Informações sobre o projeto
Orçamento
100+ USD
Prazo
para 15 dias
Cliente
Pedidos postados1
Número de arbitragens0