Техническое задание
//+------------------------------------------------------------------+
//| Simple Robo Trader MT5 |
//| Works on any pair & timeframe |
//+------------------------------------------------------------------+
#property strict
// Input settings
input double LotSize = 0.01;
input int FastMA = 10;
input int SlowMA = 30;
input int RSIPeriod = 14;
input int StopLoss = 200; // in points
input int TakeProfit = 400;// in points
// Indicator handles
int fastMAHandle;
int slowMAHandle;
int rsiHandle;
//+------------------------------------------------------------------+
int OnInit()
{
fastMAHandle = iMA(_Symbol, _Period, FastMA, 0, MODE_EMA, PRICE_CLOSE);
slowMAHandle = iMA(_Symbol, _Period, SlowMA, 0, MODE_EMA, PRICE_CLOSE);
rsiHandle = iRSI(_Symbol, _Period, RSIPeriod, PRICE_CLOSE);
return(INIT_SUCCEEDED);
}
//+------------------------------------------------------------------+
void OnTick()
{
if(PositionsTotal() > 0) return;
double fastMA[2], slowMA[2], rsi[1];
CopyBuffer(fastMAHandle, 0, 0, 2, fastMA);
CopyBuffer(slowMAHandle, 0, 0, 2, slowMA);
CopyBuffer(rsiHandle, 0, 0, 1, rsi);
// BUY Condition
if(fastMA[1] < slowMA[1] && fastMA[0] > slowMA[0] && rsi[0] > 50)
{
BuyTrade();
}
// SELL Condition
if(fastMA[1] > slowMA[1] && fastMA[0] < slowMA[0] && rsi[0] < 50)
{
SellTrade();
}
}
//+------------------------------------------------------------------+
void BuyTrade()
{
double price = SymbolInfoDouble(_Symbol, SYMBOL_ASK);
double sl = price - StopLoss * _Point;
double tp = price + TakeProfit * _Point;
MqlTradeRequest req;
MqlTradeResult res;
ZeroMemory(req);
req.action = TRADE_ACTION_DEAL;
req.symbol = _Symbol;
req.volume = LotSize;
req.type = ORDER_TYPE_BUY;
req.price = price;
req.sl = sl;
req.tp = tp;
req.deviation = 10;
OrderSend(req, res);
}
//+------------------------------------------------------------------+
void SellTrade()
{
double price = SymbolInfoDouble(_Symbol, SYMBOL_BID);
double sl = price + StopLoss * _Point;
double tp = price - TakeProfit * _Point;
MqlTradeRequest req;
MqlTradeResult res;
ZeroMemory(req);
req.action = TRADE_ACTION_DEAL;
req.symbol = _Symbol;
req.volume = LotSize;
req.type = ORDER_TYPE_SELL;
req.price = price;
req.sl = sl;
req.tp = tp;
req.deviation = 10;
OrderSend(req, res);
}
Откликнулись
1
Оценка
Проекты
9
0%
Арбитраж
2
0%
/
100%
Просрочено
0
Свободен
2
Оценка
Проекты
144
46%
Арбитраж
19
42%
/
16%
Просрочено
32
22%
Работает
3
Оценка
Проекты
3
33%
Арбитраж
2
0%
/
100%
Просрочено
0
Свободен
4
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
5
Оценка
Проекты
1
100%
Арбитраж
3
0%
/
100%
Просрочено
0
Свободен
6
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
7
Оценка
Проекты
397
53%
Арбитраж
20
55%
/
15%
Просрочено
29
7%
Занят
8
Оценка
Проекты
0
0%
Арбитраж
1
0%
/
100%
Просрочено
0
Свободен
9
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
10
Оценка
Проекты
0
0%
Арбитраж
1
0%
/
0%
Просрочено
0
Работает
Похожие заказы
I am looking for an experienced MQL5 developer to convert a complex TradingView Pine Script (will provide the script from tradingview) into a fully automated MT5 Expert Advisor -bot. The TradingView script includes: Market Structure (BOS, CHoCH, Swing BOS) Strong / Weak High & Low Equilibrium (Premium / Discount zones) Volumetric Order Blocks Fair Value Gaps (FVG / VI / OG) Accumulation & Distribution zones Equal
SpikeEnginePro EA
30+ USD
// Add this to your EA after ExportState() function void SendToBase44(const string state, const string dir, double entry, double sl, double tp) { string url = " https://preview-sandbox--ee0a32a725b788974de435e8cef40b7a.base44.app/api/functions/receiveEAState "; string headers = "Content-Type: application/json\r\n"; string json = "{" "\"symbol\":\""+_Symbol+"\","
1.Sinyal Perdagangan : Sinyal beli: garis MACD utama memotong garis sinyal ke atas (macd_current>signal_current && macd_previous<signal_previous). Sinyal jual: garis MACD utama memotong garis sinyal ke bawah (macd_current<signal_current && macd_previous>signal_previous). Gambar di bawah menunjukkan kasus beli dan jual. 2. Posisi ditutup pada sinyal yang berlawanan: Posisi beli ditutup pada sinyal jual, dan posisi
can anyone help me with building a complete automated pine code strategy and indicator that work for both FXs & CFDs and have a high winning rate proved through back testing. I have a very complex current code that developed mostly using AI but lots of gaps are there although it translate exactly what I have in my mind. So, you are free to decide whether wo build a complete new code or fix my current working code ( i
Hello. I am finding an experienced python developer who can implement my trading strategies into robots. I like trend-following swing trading strategies and am going to automate my idea. More details can be discussed by chatting. If you have similar working experience it can be a plus. Thanks
An Expert Advisor based on Fibonacci Retracement
30 - 60 USD
* Use Fibonacci retracement (with adjusted values) to scale entry points. * Timeframe may differ depending on the projected target; but the Fibonacci conditions remain the same * date range into consideration as well * Applicable to indices, crypto and metals. * Activate entries on the second half of my fib *Usually takes the whole week to unfold (5 - 7 days) * Timeframes to consider 5m/15m, H1/H2 The attached images
I have developed a cloud-based AI copier that automatically replicates analyzed signals from any linked channel directly to your platform. Streamline your workflow with precision automation and real-time execution. Boost your efficiency and never miss a critical trade or update again. Reach out now to integrate this powerful tool
Информация о проекте
Бюджет
40 - 10000 USD
Заказчик
Размещено заказов1
Количество арбитражей0