Specification
//+------------------------------------------------------------------+
//| 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);
}
Responded
1
Rating
Projects
9
0%
Arbitration
2
0%
/
100%
Overdue
0
Free
Published: 1 article
2
Rating
Projects
144
46%
Arbitration
20
40%
/
15%
Overdue
32
22%
Working
3
Rating
Projects
3
33%
Arbitration
2
0%
/
100%
Overdue
0
Free
4
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
5
Rating
Projects
1
100%
Arbitration
3
0%
/
100%
Overdue
0
Free
6
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
7
Rating
Projects
425
54%
Arbitration
20
55%
/
15%
Overdue
29
7%
Working
8
Rating
Projects
1
0%
Arbitration
1
0%
/
100%
Overdue
1
100%
Working
9
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
10
Rating
Projects
0
0%
Arbitration
1
0%
/
0%
Overdue
0
Working
11
Rating
Projects
7
14%
Arbitration
1
0%
/
100%
Overdue
1
14%
Free
12
Rating
Projects
169
38%
Arbitration
9
78%
/
22%
Overdue
15
9%
Free
13
Rating
Projects
6
0%
Arbitration
2
50%
/
0%
Overdue
1
17%
Free
14
Rating
Projects
2
0%
Arbitration
0
Overdue
0
Working
15
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
16
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Working
17
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
18
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
19
Rating
Projects
9
22%
Arbitration
0
Overdue
0
Free
20
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
21
Rating
Projects
63
52%
Arbitration
5
0%
/
40%
Overdue
1
2%
Free
22
Rating
Projects
1
0%
Arbitration
1
0%
/
100%
Overdue
0
Free
Similar orders
EA developer with stregegy builder required
50 - 100 USD
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
Develop a fully automated MT5 Expert Advisor based on a multi-timeframe institutional trend-pullback strategy with: Regime filtering (H4) Execution logic (H1) ATR-based stop model Multi-stage trailing system Risk-based position sizing Portfolio-level risk protection Detailed performance logging This EA will be used for client capital (PAMM/MAM environment). Stability and risk control are higher priority than high
Hello, I have an MQ4 indicator that works with a specific strategy. I want to modify some aspects and convert the file to MQ5. It's simple and won't take much effort or time for someone experienced in this field. Ideally, the person undertaking this task should be familiar with the MX2Trading software, as I will be using it to transfer the signals from the indicator to the trading platform
What informtion would you need for Ninjatrader futures automated trading and how long would it take ? if anyone can give me answer i will be happy to discuss more about the project thanks fill free to bid to the project thanks
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
I need help in modifying an amibroker AFL indicator the indicator already works but I need per symbol static variable isolation, parameters persistence per symbol after restart, non declining trailing stop logic, parameter auto restore when switching symbols and a global reset function for static variables. For better understanding As discussed, this is the official offer for restructuring my RAD Chandelier stop loss
Project information
Budget
40 - 10000 USD