명시

//+------------------------------------------------------------------+
//| 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
개발자 1
등급
(7)
프로젝트
9
0%
중재
2
0% / 100%
기한 초과
0
무료
게재됨: 1 기고글
2
개발자 2
등급
(64)
프로젝트
144
46%
중재
20
40% / 15%
기한 초과
32
22%
작업중
3
개발자 3
등급
(4)
프로젝트
3
33%
중재
2
0% / 100%
기한 초과
0
무료
4
개발자 4
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
5
개발자 5
등급
(3)
프로젝트
1
100%
중재
3
0% / 100%
기한 초과
0
무료
6
개발자 6
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
7
개발자 7
등급
(354)
프로젝트
425
54%
중재
20
55% / 15%
기한 초과
29
7%
작업중
8
개발자 8
등급
프로젝트
1
0%
중재
1
0% / 100%
기한 초과
1
100%
작업중
9
개발자 9
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
10
개발자 10
등급
프로젝트
0
0%
중재
1
0% / 0%
기한 초과
0
작업중
11
개발자 11
등급
(6)
프로젝트
7
14%
중재
1
0% / 100%
기한 초과
1
14%
무료
12
개발자 12
등급
(119)
프로젝트
169
38%
중재
9
78% / 22%
기한 초과
15
9%
무료
13
개발자 13
등급
(6)
프로젝트
6
0%
중재
2
50% / 0%
기한 초과
1
17%
무료
14
개발자 14
등급
(2)
프로젝트
2
0%
중재
0
기한 초과
0
작업중
15
개발자 15
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
16
개발자 16
등급
프로젝트
0
0%
중재
0
기한 초과
0
작업중
17
개발자 17
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
18
개발자 18
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
19
개발자 19
등급
(8)
프로젝트
9
22%
중재
0
기한 초과
0
무료
20
개발자 20
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
21
개발자 21
등급
(45)
프로젝트
63
52%
중재
5
0% / 40%
기한 초과
1
2%
무료
22
개발자 22
등급
(2)
프로젝트
1
0%
중재
1
0% / 100%
기한 초과
0
무료
비슷한 주문
Looking for an experienced MQL5 developer to design and develop a custom Expert Advisor (EA) for MetaTrader 5. The purpose of this EA is not just automated trading, but also to help me better structure, test, and refine my personal trading strategy
I’m hiring an experienced MQL5 developer to finish and fix an existing project (NOT building from scratch). I have: An existing MT5 EA (.mq5 + .ex5) that is based on my TradingView logic A TradingView indicator version used for signals/alerts The EA works but has logic/consistency issues and needs improvements + cleanup Goal Make the EA reliable and consistent: Ensure entries/exits match the intended logic Fix
Data Integrity 500 - 1000 USD
The trading bot is an automated software system designed to monitor financial markets, execute trades, and manage risk based on predefined strategies. The bot aims to maximize profits while minimizing human intervention and emotional decision-making. Scope: Supports automated trading on selected exchanges (e.g., Binance, Bitget, Coinbase). Executes trades based on technical indicators, signals, or AI models. Provides

프로젝트 정보

예산
40 - 10000 USD