Smc sniper bot

MQL5 Göstergeler Uzmanlar

İş Gereklilikleri

//+------------------------------------------------------------------+
//| SMC SNIPER BOT PRO V2 |
//| Smart Money Concept EA for V25 |
//+------------------------------------------------------------------+
#property strict

input double LotSize = 0.20;
input int StopLoss = 250;
input int TakeProfit = 500;
input int LookBack = 30;
input bool UseTrendFilter = true;

double lastHigh;
double lastLow;
double trendMA;

//+------------------------------------------------------------------+
int OnInit()
{
   Print("SMC Sniper PRO Started");
   return(INIT_SUCCEEDED);
}
//+------------------------------------------------------------------+

void OnTick()
{
   if (PositionsTotal() > 0) return;

   lastHigh = iHigh(_Symbol, PERIOD_M15,
      iHighest(_Symbol, PERIOD_M15, MODE_HIGH, LookBack, 1));

   lastLow = iLow(_Symbol, PERIOD_M15,
      iLowest(_Symbol, PERIOD_M15, MODE_LOW, LookBack, 1));

   trendMA = iMA(_Symbol, PERIOD_M15, 50, 0, MODE_EMA, PRICE_CLOSE, 0);

   double price = SymbolInfoDouble(_Symbol, SYMBOL_BID);

   bool upTrend = price > trendMA;
   bool downTrend = price < trendMA;

   // ----- BUY LOGIC -----
   if (price < lastLow)
   {
      if (!UseTrendFilter || upTrend)
      {
         BuyTrade();
      }
   }

   // ----- SELL LOGIC -----
   if (price > lastHigh)
   {
      if (!UseTrendFilter || downTrend)
      {
         SellTrade();
      }
   }
}

//+------------------------------------------------------------------+

void BuyTrade()
{
   double ask = SymbolInfoDouble(_Symbol, SYMBOL_ASK);

   double sl = NormalizeDouble(ask - StopLoss * _Point, _Digits);
   double tp = NormalizeDouble(ask + TakeProfit * _Point, _Digits);

   MqlTradeRequest req;
   MqlTradeResult res;

   ZeroMemory(req);

   req.action = TRADE_ACTION_DEAL;
   req.symbol = _Symbol;
   req.volume = LotSize;
   req.type = ORDER_TYPE_BUY;
   req.price = ask;
   req.sl = sl;
   req.tp = tp;
   req.deviation = 20;
   req.magic = 777;

   OrderSend(req, res);
}

//+------------------------------------------------------------------+

void SellTrade()
{
   double bid = SymbolInfoDouble(_Symbol, SYMBOL_BID);

   double sl = NormalizeDouble(bid + StopLoss * _Point, _Digits);
   double tp = NormalizeDouble(bid - TakeProfit * _Point, _Digits);

   MqlTradeRequest req;
   MqlTradeResult res;

   ZeroMemory(req);

   req.action = TRADE_ACTION_DEAL;
   req.symbol = _Symbol;
   req.volume = LotSize;
   req.type = ORDER_TYPE_SELL;
   req.price = bid;
   req.sl = sl;
   req.tp = tp;
   req.deviation = 20;
   req.magic = 777;

   OrderSend(req, res);
}

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(13)
Projeler
19
37%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
1
5%
Çalışıyor
2
Geliştirici 2
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
3
Geliştirici 3
Derecelendirme
(1)
Projeler
1
0%
Arabuluculuk
1
0% / 0%
Süresi dolmuş
0
Çalışıyor
4
Geliştirici 4
Derecelendirme
(376)
Projeler
482
23%
Arabuluculuk
59
54% / 25%
Süresi dolmuş
55
11%
Yüklendi
5
Geliştirici 5
Derecelendirme
(5)
Projeler
6
0%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
1
17%
Çalışıyor
6
Geliştirici 6
Derecelendirme
(4)
Projeler
3
33%
Arabuluculuk
2
0% / 100%
Süresi dolmuş
0
Serbest
7
Geliştirici 7
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
8
Geliştirici 8
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
9
Geliştirici 9
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
10
Geliştirici 10
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
11
Geliştirici 11
Derecelendirme
(13)
Projeler
20
40%
Arabuluculuk
3
0% / 67%
Süresi dolmuş
3
15%
Serbest
12
Geliştirici 12
Derecelendirme
(255)
Projeler
261
30%
Arabuluculuk
0
Süresi dolmuş
3
1%
Serbest
Yayınlandı: 2 kod
13
Geliştirici 13
Derecelendirme
(5)
Projeler
7
0%
Arabuluculuk
8
13% / 75%
Süresi dolmuş
3
43%
Serbest
Benzer siparişler
I want someone to hold a session for me and explain in details on how to implement them in. I would really appreciate your guidance on how to properly set up GoCharting and get access to CME futures data
EA SMC/ICT 30+ USD
//+------------------------------------------------------------------+ //| SMC_ICT_Advanced_EA.mq5 | //| Smart Money Concepts Trading | //| Combines Order Blocks, FVG, BOS, CHoCH | //+------------------------------------------------------------------+ #property copyright "SMC/ICT Trading System" #property version "2.00" #property strict #include <Trade/Trade.mqh>
Logic: Healthy → no action Weak → reduce exposure Danger → strong protection Requirements: Equity tracking Basic trade management Simple dashboard Only apply if you understand risk-based EA logic
Mani 30 - 50 USD
Title: MT5 Martingale EA (Based on Stop Loss of Previous Trade) Description: Hello, I need a simple and efficient MT5 Expert Advisor based on a martingale logic. Main Logic: The EA should work with trades placed manually or by another EA (including limit orders). When a trade hits Stop Loss, the EA must automatically open a new trade in the same direction. The lot size of the new trade should be multiplied
Existing EA 30 USD
I’m looking to acquire an existing, profitable Expert Advisor (EA) with full source code to add to our client investment portfolio. To be clear, this is not a request to develop or design a new strategy. If you already have an EA that is proven, consistent, and production-ready, I’m open to reviewing it immediately. Please apply only if you meet all the requirements below. Submissions without a proper introduction or
Leonard Quantum FX 80 - 120 USD
I want the EA to be fully automated and capable of taking trades across multiple timeframes. It should be optimized for a starting account balance of $100 with proper risk management suitable for a small account, and it will be used with the broker ApexMarket.io. ⸻ Platform • Platform: MetaTrader 5 (MT5) • Type: Fully automated Expert Advisor • Operation: Hands-free (no manual trade management required) ⸻ 📈 Markets
Wealthy bot 50 - 200 USD
‎Build a mobile-based trading bot system integrated with MetaTrader 5 that specializes in high-frequency “machine gun” style trading on synthetic indices (crash 50 and Crash 300). ‎ ‎The bot must continuously scan the market in real-time using M1 and M5 timeframes and execute frequent trades based on probability, not prediction. Its core function is to detect early signs of potential reversals by analyzing combined
Preciso de um especialista completo, totalmente profissional, que trabalhe com o indicador Hull Moving Average. Que faça entradas exatamente na mudança de cores com base no Exp_ColorHma, de Nikolay e também com a opção de entrada exatamente no cruzamento de duas Hull Average Moving(não na próxima vela), uma lenta e outra rápida. O programador deverá fazer um trabalhado de profissional. Dispenso curiosos ou
Tebza ngwenya 30 - 100 USD
Just know your deal,if you don't know what you are up to I gotchu. This is my first time trying also so yeah, but otherwise if you looking for something grand I'm here, if you got offered me well you in for some great time
Looking to acquire an existing, profitable Expert Advisor (EA) with full source code to add to our client investment portfolio. To be clear, this is not a request to develop or design a new strategy. If you already have an EA that is proven, consistent, and production-ready, with at least 6 months of history performance I’m open to reviewing it immediately. Please apply only if you meet all the requirements below

Proje bilgisi

Bütçe
30+ USD

Müşteri

Verilmiş siparişler1
Arabuluculuk sayısı0