The killer

MQL5 Experts

Specification

//+------------------------------------------------------------------+
//|                                                   ScalpTrendEA   |
//|                        Simple EMA + RSI Scalping EA              |
//+------------------------------------------------------------------+
#property strict

#include <Trade/Trade.mqh>
CTrade trade;

//--- Input parameters
input double RiskPercent = 0.01;      // Risk per trade (% of balance)
input int StopLoss = 100;            // Stop Loss (points)
input int TakeProfit = 150;          // Take Profit (points)
input int EMA_Fast = 50;             // Fast EMA
input int EMA_Slow = 200;            // Slow EMA
input int RSI_Period = 14;           // RSI Period
input int RSI_Buy_Level = 30;        // RSI Buy level
input int RSI_Sell_Level = 70;       // RSI Sell level
input ENUM_TIMEFRAMES TimeFrame = PERIOD_M5; // Timeframe

//--- Global variables
int emaFastHandle;
int emaSlowHandle;
int rsiHandle;

//+------------------------------------------------------------------+
//| Expert initialization                                            |
//+------------------------------------------------------------------+
int OnInit()
{
   emaFastHandle = iMA(_Symbol, TimeFrame, EMA_Fast, 0, MODE_EMA, PRICE_CLOSE);
   emaSlowHandle = iMA(_Symbol, TimeFrame, EMA_Slow, 0, MODE_EMA, PRICE_CLOSE);
   rsiHandle     = iRSI(_Symbol, TimeFrame, RSI_Period, PRICE_CLOSE);

   if(emaFastHandle == INVALID_HANDLE || 
      emaSlowHandle == INVALID_HANDLE || 
      rsiHandle == INVALID_HANDLE)
   {
      Print("Error creating indicator handles");
      return(INIT_FAILED);
   }

   return(INIT_SUCCEEDED);
}

//+------------------------------------------------------------------+
//| Calculate Lot Size                                               |
//+------------------------------------------------------------------+
double CalculateLot()
{
   double balance = AccountInfoDouble(ACCOUNT_BALANCE);
   double riskAmount = balance * RiskPercent / 100.0;
   double tickValue = SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_VALUE);
   double lotStep = SymbolInfoDouble(_Symbol, SYMBOL_VOLUME_STEP);

   double lot = riskAmount / (StopLoss * tickValue);
   lot = NormalizeDouble(lot, 2);

   return(MathMax(lot, SymbolInfoDouble(_Symbol, SYMBOL_VOLUME_MIN)));
}

//+------------------------------------------------------------------+
//| Check if there is open position                                  |
//+------------------------------------------------------------------+
bool HasOpenPosition()
{
   for(int i=0;i<PositionsTotal();i++)
   {
      if(PositionGetSymbol(i) == _Symbol)
         return true;
   }
   return false;
}

//+------------------------------------------------------------------+
//| Expert tick function                                             |
//+------------------------------------------------------------------+
void OnTick()
{
   if(HasOpenPosition())
      return;

   double emaFast[], emaSlow[], rsi[];
   CopyBuffer(emaFastHandle, 0, 0, 2, emaFast);
   CopyBuffer(emaSlowHandle, 0, 0, 2, emaSlow);
   CopyBuffer(rsiHandle, 0, 0, 2, rsi);

   double lot = CalculateLot();

   // BUY condition
   if(emaFast[0] > emaSlow[0] && rsi[0] < RSI_Buy_Level)
   {
      trade.Buy(lot, _Symbol, 0, 
                Ask - StopLoss * _Point, 
                Ask + TakeProfit * _Point, 
                "Scalp Buy");
   }

   // SELL condition
   if(emaFast[0] < emaSlow[0] && rsi[0] > RSI_Sell_Level)
   {
      trade.Sell(lot, _Symbol, 0, 
                 Bid + StopLoss * _Point, 
                 Bid - TakeProfit * _Point, 
                 "Scalp Sell");
   }
}

Responded

1
Developer 1
Rating
(93)
Projects
114
24%
Arbitration
21
29% / 52%
Overdue
8
7%
Free
2
Developer 2
Rating
Projects
0
0%
Arbitration
1
0% / 0%
Overdue
0
Working
3
Developer 3
Rating
(3)
Projects
1
100%
Arbitration
3
0% / 100%
Overdue
0
Free
4
Developer 4
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Working
5
Developer 5
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
6
Developer 6
Rating
(2)
Projects
4
25%
Arbitration
0
Overdue
1
25%
Working
7
Developer 7
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
I'm looking for an experienced developer who can program advance EA, designed to help in optimizing trading strategies and frequent trading to maximize profit opportunities. The EA should be program based on price action and candle stick dependency which opens to number of trades per signal. KEY FEATURES: * Position Hedging: EA allows users to hedge their positions based on individual risk tolerance and market
u have to make an MT 5 EA of Renko + Super Trend buy when Super trend is bullish and renko make bull bars for sell opposite , multi trades feature : if trend buy in super trend , EA should coninue buy like griding at bull bars not bear bars same but opposite for sell trailing stop , time filter , new filter , martingale , grid , account management so many basic settings should be given , screenshots and cotent should
simple automated trading system with adaptive risk management and trend-based execution. The EA manages trades with dynamic position handling and built-in stability filters. Designed for single-position trading and disciplined execution 30 usd budget
PROJECT DESCRIPTION Looking for 1 experienced MQL5 developer to build 2 Expert Advisors for MetaTrader 5, targeting XAUUSD and major currency pairs. Strong preference for a single developer handling both EAs to maximize code reuse, reduce cost, and ensure consistency. EA1 — Grid Martingale Pro · Buy/Sell grid with Fixed or ATR Dynamic distance (ATR read once per fill, stored in grid_step_at_open[]) · Gap
Hi I have a simple task (hopefully) I have a custom strategy that I built with the help of Claude Anthropic - everything is finished and I zipped it with power shell but when importing it NT8 gives me the error message that the file was made from an older, incompatible version or not a NinjaScript. My folder structure is correct as far I can see so I don't know what the issues is and it's costing me too much to go
Do you happen to have a profitable strategy for MNQ? it is urgent if any one can help me with this i will be happy to discuss with you and move forward to pay for it kindly let me know the amount thank fill free to bid
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 am looking for a developer to build a robust MetaTrader 5 Expert Advisor for Gold (XAUUSD) scalping on the M5 timeframe. The EA must be optimized for small accounts ($200 - $1,000). Technical Requirements: Primary Strategy: Mean Reversion using Bollinger Bands (20, 2.0) and RSI (14). Buy: Price closes below lower band + RSI < 30 + Trend Filter. Sell: Price closes above upper band + RSI > 70 + Trend Filter. Trend
Olá amigos possuo um indicador que não tem o código fonte mas tenho a licença para usar esse indicador que está me trazendo bons resultados no meu operacional desejo automatizar as suas entradas através de um robô funciona mais ou menos da seguinte forma o indicador gera um sinal de compra ou venda e também gera um nível de take profit stop loss.O robô deve fazer a leitura dos sinais e definir TP e SL nos mesmos
An additional indicator signal will be added to the existing EA. The existing mechanical system will NEVER be changed. I will send you the necessary documents and codes. I will send you the necessary documents and codes. thank you

Project information

Budget
30+ USD

Customer

Placed orders1
Arbitrage count0