Elijah

MQL5 Experten

Spezifikation


//|                                              session_scalper.mq5 |
//|                              Copyright 2026, Phan Van Khoa       |
//|                                             https://www.mql5.com |
//+------------------------------------------------------------------+
#property copyright "Copyright 2026, Phan Van Khoa"
#property link      "https://www.mql5.com"
#property version   "1.00"
#property description "Session-based scalping indicator. Highlights the active trading session and shows the opening price of the session."
#property description "Works with the M1-M15 timeframes. A classic scalping technique is to fade the first impulsive move away from the session open."
#property description "Use the SessionOpen line together with the highlighted background to time entries at the beginning of a session."
#property indicator_chart_window
#property indicator_buffers 1
#property indicator_plots   1

//--- plot SessionOpen
#property indicator_label1  "SessionOpen"
#property indicator_type1   DRAW_LINE
#property indicator_color1  clrDodgerBlue
#property indicator_style1  STYLE_SOLID
#property indicator_width1  2

//--- input parameters
input int      InpSessionStartHour  = 7;             // Session start hour (terminal time)
input int      InpSessionStartMinute = 0;            // Session start minute
input int      InpSessionDuration  = 8;              // Session duration, hours
input bool     InpFillBackground   = true;           // Fill session background
input color    InpBackgroundColor  = C'220,230,255'; // Background fill color
input ENUM_TIMEFRAMES InpTradeFrame = PERIOD_M1;    // Scalping timeframe

//--- indicator buffers
double         SessionOpenBuffer[];

//--- handle of the higher timeframe to detect session start
int            m_handle = INVALID_HANDLE;

//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int OnInit()
  {
//--- set buffer as used for drawing
   SetIndexBuffer(0, SessionOpenBuffer, INDICATOR_DATA);
   IndicatorSetInteger(INDICATOR_DIGITS, _Digits);

//--- attach a lower-resolution copy of the chart for stable session anchors
   m_handle = iMA(_Symbol, InpTradeFrame, 1, 0, MODE_SMA, PRICE_CLOSE);
   if(m_handle == INVALID_HANDLE)
     {
      Print("Failed to create the supporting indicator handle");
      return(INIT_FAILED);
     }

   return(INIT_SUCCEEDED);
  }
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function                       |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
  {
   if(m_handle != INVALID_HANDLE)
      IndicatorRelease(m_handle);
  }
//+------------------------------------------------------------------+
//| Convert a bar time into the local day index                      |
//+------------------------------------------------------------------+
datetime DayStart(const datetime t)
  {
   MqlDateTime dt;
   TimeToStruct(t, dt);
   dt.hour = 0;
   dt.min  = 0;
   dt.sec  = 0;
   return(StructToTime(dt));
  }
//+------------------------------------------------------------------+
//| Return the session opening time for a given bar                  |
//+------------------------------------------------------------------+
datetime SessionStartTime(const datetime t)
  {
   datetime day = DayStart(t);
   datetime start = day + InpSessionStartHour * 3600 + InpSessionStartMinute * 60;
   if(start > t)
      start -= 24 * 3600;
   return(start);
  }
//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int OnCalculate(const int rates_total,
                const int prev_calculated,
                const datetime &time[],
                const double &open[],
                const double &high[],
                const double &low[],
                const double &close[],
                const long &tick_volume[],
                const long &volume[],
                const int &spread[])
  {
   if(rates_total < 1)
      return(0);

   int start = (prev_calculated > 0) ? prev_calculated - 1 : 0;

   for(int i = start; i < rates_total; i++)
     {
      datetime sOpen = SessionStartTime(time[i]);
      datetime sEnd  = sOpen + InpSessionDuration * 3600;

      SessionOpenBuffer[i] = EMPTY_VALUE;

      if(time[i] >= sOpen && time[i] < sEnd)
        {
         int idx = iBarShift(_Symbol, _Period, sOpen);
         if(idx >= 0)
            SessionOpenBuffer[i] = open[idx];
        }
     }

   return(rates_total);
  }
//+------------------------------------------------------------------+
//| Chart event function - redraw the background on timeframe change |
//+------------------------------------------------------------------+
void OnChartEvent(const int id, const long &lparam, const double &dparam, const string &sparam)
  {
   if(id == CHARTEVENT_CHART_CHANGE)
      ChartRedraw();
  }

Bewerbungen

1
Entwickler 1
Bewertung
(21)
Projekte
27
7%
Schlichtung
9
33% / 33%
Frist nicht eingehalten
1
4%
Arbeitet
2
Entwickler 2
Bewertung
(106)
Projekte
129
25%
Schlichtung
24
29% / 54%
Frist nicht eingehalten
8
6%
Frei
3
Entwickler 3
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
4
Entwickler 4
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
5
Entwickler 5
Bewertung
(1)
Projekte
1
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
6
Entwickler 6
Bewertung
(549)
Projekte
838
61%
Schlichtung
33
27% / 45%
Frist nicht eingehalten
24
3%
Frei
Veröffentlicht: 1 Beispiel
7
Entwickler 7
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
8
Entwickler 8
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
9
Entwickler 9
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
Veröffentlicht: 1 Beispiel
10
Entwickler 10
Bewertung
(257)
Projekte
301
76%
Schlichtung
13
77% / 0%
Frist nicht eingehalten
4
1%
Arbeitet
11
Entwickler 11
Bewertung
(169)
Projekte
202
48%
Schlichtung
5
20% / 60%
Frist nicht eingehalten
2
1%
Frei
12
Entwickler 12
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
13
Entwickler 13
Bewertung
(318)
Projekte
565
35%
Schlichtung
81
31% / 44%
Frist nicht eingehalten
204
36%
Frei
14
Entwickler 14
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
15
Entwickler 15
Bewertung
(1)
Projekte
1
100%
Schlichtung
0
Frist nicht eingehalten
0
Frei
16
Entwickler 16
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
17
Entwickler 17
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
18
Entwickler 18
Bewertung
(4)
Projekte
6
17%
Schlichtung
3
0% / 67%
Frist nicht eingehalten
0
Frei
Ähnliche Aufträge
//+------------------------------------------------------------------+ //| DX_Structure_H1.mq5 | //| Copyright 2026, Seu Nome | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2026" #property link " https://www.mql5.com " #property version "1.00" #property strict // Parâmetros de Entrada input string InpSymbol = "DX.F"; // Nome do Ativo
{ "strategy_name": "M5 EMA Scalper", "timeframe": "M5", "indicators": { "ema_fast": 20, "ema_slow": 50, "rsi": 14, "atr": 14 }, "entry_rules": { "buy": [ "EMA20 > EMA50", "Price closes above EMA20", "RSI > 55" ], "sell": [ "EMA20 < EMA50", "Price closes below EMA20", "RSI < 45" ] }, "risk_management": { "risk_per_trade": 1.0, "stop_loss_atr": 1.5, "take_profit_rr": 2.0
Hola, traders e inversores: Desarrollamos soluciones de trading algorítmico para MetaTrader 4 y MetaTrader 5. Creamos bots, indicadores y herramientas a medida que convierten estrategias manuales en sistemas automáticos, configurables y orientados a una gestión de riesgo sólida. Hemos trabajado en automatizaciones que integran entradas y salidas por reglas, cálculo de lotaje, control de drawdown, filtros de horario y
Hello All, can someone help me to make an EA base on MACD, https://www.mql5.com/en/code/14669 and RSI. If you are able to make this than please get me in touch, i will appreciated Thanks and best Regards Kodj007
EA 45 - 205 USD
If EMA20 > EMA50 AND RSI > 55 AND No Open Position THEN Buy SL = 50 pips TP = 100 pips If Profit > 30 pips Move SL to Break Even If Profit > 50 pips Enable Trailing Stop
I am looking for an experienced MQL5 developer to modify an existing Expert Advisor by adding an automated hedging module. The existing EA is fully functional and already manages trade entries and exits. The objective of this enhancement is to introduce a risk management feature that automatically opens a hedge position when an existing trade reaches a predefined unrealized loss in USD. The hedge should remain active
automatic robo sell at bollinger band upwards breach and rsi should above 80 and buy when bollinger breach downwards and rsi is below 30, rsi shoould works only on Gold trade and none ofhe trades
Hello, I need a custom Expert Advisor for MetaTrader 5. I am trading from mobile only. **Account & Style:** - Capital: $5,000 - $10,000 - Risk: Moderate/Balanced - Trading Style: Scalping **Pairs & Timeframe:** - Symbols: EURUSD and XAUUSD - Timeframe: M5 **Strategy:** - BUY: RSI(14) < 30 AND Price > 20 EMA - SELL: RSI(14) > 70 AND Price < 20 EMA - Only 1 trade per symbol at a time - No Martingale / No Grid **Risk
am an auto trader that for Sierra chart that works but needs some cleaning up. I need some features added to it like two parent studies with different take profit, stops, quantities and also a parent study to add to the position with its own take profit, stops, quantities
We are seeking an experienced MQL4/MQL5 programmer to develop a high-performance, fully automated Expert Advisor (EA). The bot must execute a sophisticated multi-currency hedging strategy across correlated forex pairs. Key Responsibilities Develop Multi-Currency Logic : Build an EA capable of scanning and trading multiple currency pairs simultaneously from a single chart or setup. Implement Hedging Strategy : Code

Projektdetails

Budget
30+ USD

Kunde

Veröffentlichte Aufträge1
Anzahl der Schlichtungen0