Bullish engulfing dan bearish engulfing

MQL5 Uzman Danışmanlar

İş Gereklilikleri

//+------------------------------------------------------------------+
//|                                               EngulfingBot.mq5    |
//|                        Copyright 2024, Your Name                 |
//|                                       https://yourwebsite.com     |
//+------------------------------------------------------------------+
input double TakeProfit = 50; // Take profit dalam pips
input double StopLoss = 30;    // Stop loss dalam pips
input double LotSize = 0.1;     // Ukuran lot
input int Slippage = 3;         // Slippage

//+------------------------------------------------------------------+
//| Expert initialization function                                   |
//+------------------------------------------------------------------+
int OnInit()
  {
   return(INIT_SUCCEEDED);
  }

//+------------------------------------------------------------------+
//| Expert deinitialization function                                 |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
  {
  }

//+------------------------------------------------------------------+
//| Expert tick function                                             |
//+------------------------------------------------------------------+
void OnTick()
  {
   int lastBar = 1; // Menggunakan bar terakhir
   double open1 = iOpen(NULL, 0, lastBar);
   double close1 = iClose(NULL, 0, lastBar);
   double open2 = iOpen(NULL, 0, lastBar + 1);
   double close2 = iClose(NULL, 0, lastBar + 1);

   // Memeriksa bullish engulfing
   if (close1 > open1 && open1 < close2 && close2 < open2)
     {
      // Buka posisi Buy
      if (OrderSend(Symbol(), OP_BUY, LotSize, Ask, Slippage, 0, 0, "Bullish Engulfing", 0, 0, clrGreen) > 0)
        {
         Print("Buy Order Opened");
        }
     }

   // Memeriksa bearish engulfing
   if (close1 < open1 && open1 > close2 && close2 > open2)
     {
      // Buka posisi Sell
      if (OrderSend(Symbol(), OP_SELL, LotSize, Bid, Slippage, 0, 0, "Bearish Engulfing", 0, 0, clrRed) > 0)
        {
         Print("Sell Order Opened");
        }
     }
  }
//+------------------------------------------------------------------+

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(167)
Projeler
187
32%
Arabuluculuk
6
50% / 50%
Süresi dolmuş
2
1%
Çalışıyor
2
Geliştirici 2
Derecelendirme
(214)
Projeler
347
16%
Arabuluculuk
22
41% / 32%
Süresi dolmuş
18
5%
Meşgul
3
Geliştirici 3
Derecelendirme
(59)
Projeler
66
6%
Arabuluculuk
27
19% / 37%
Süresi dolmuş
4
6%
Meşgul
4
Geliştirici 4
Derecelendirme
(29)
Projeler
35
14%
Arabuluculuk
5
40% / 60%
Süresi dolmuş
5
14%
Serbest
5
Geliştirici 5
Derecelendirme
(315)
Projeler
401
21%
Arabuluculuk
44
61% / 23%
Süresi dolmuş
46
11%
Çalışıyor
6
Geliştirici 6
Derecelendirme
(10)
Projeler
25
28%
Arabuluculuk
3
0% / 0%
Süresi dolmuş
1
4%
Yüklendi
7
Geliştirici 7
Derecelendirme
(36)
Projeler
46
37%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
8
Geliştirici 8
Derecelendirme
(2)
Projeler
5
0%
Arabuluculuk
1
0% / 0%
Süresi dolmuş
1
20%
Çalışıyor
9
Geliştirici 9
Derecelendirme
(7)
Projeler
13
8%
Arabuluculuk
0
Süresi dolmuş
3
23%
Yüklendi
10
Geliştirici 10
Derecelendirme
Projeler
1
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
11
Geliştirici 11
Derecelendirme
(172)
Projeler
244
21%
Arabuluculuk
17
65% / 18%
Süresi dolmuş
1
0%
Yüklendi
12
Geliştirici 12
Derecelendirme
(1100)
Projeler
1457
46%
Arabuluculuk
49
73% / 12%
Süresi dolmuş
36
2%
Çalışıyor
13
Geliştirici 13
Derecelendirme
(3)
Projeler
7
29%
Arabuluculuk
1
100% / 0%
Süresi dolmuş
0
Çalışıyor
14
Geliştirici 14
Derecelendirme
(98)
Projeler
121
40%
Arabuluculuk
10
80% / 0%
Süresi dolmuş
0
Çalışıyor
15
Geliştirici 15
Derecelendirme
(5)
Projeler
7
29%
Arabuluculuk
2
50% / 0%
Süresi dolmuş
2
29%
Serbest
16
Geliştirici 16
Derecelendirme
(357)
Projeler
563
33%
Arabuluculuk
24
67% / 8%
Süresi dolmuş
17
3%
Serbest
17
Geliştirici 17
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Benzer siparişler
Hi there I'm looking to create an EA that incorporates my trading strategy, unfortunately I do not have experience coding. The strategy consist of: - Fibonacci retracement on 4h timeframe, in the direction of the trend - The trade needs to be opened following trend direction - indicator EMA - need option to customize period input, Uptrend if price above EMA, downtrend if price below EMA - Only take high quality
Hi, I am looking for you who probably already got this high-performing bot that I am looking for or is willing to create one. My main focus is XAUUSD. Win-Rate should be >70% on back-test, Should also be able to run live demo a/c and show profit. There has to be a clear strategy and parameters in order to optimize and adapt to change
Hello there, am in need of an expert pinescript programmer who can work on an existing code to add some indicators and features. Please bid if you understand pinescript well and can work on existing code
We are seeking an experienced MQL4 developer to create a forecasting indicator with a prediction accuracy above 80%. The indicator must be capable of learning from historical market data starting from the year 2000 to the present. Additionally, it should offer an option to analyze and learn from all available candlesticks on the current timeframe, allowing it to adapt to real-time market conditions. Key Requirements
Dears, I hope you are doing well. I am looking to develop a trading bot specifically for trading gold on the MT5 platform. My target is for the bot to generate a monthly return of 40-60% on the initial capital, which will start at $2,000, with a leverage of 1:400. Additionally, I would like to have access to the indicators and tools necessary for evaluating the bot’s performance. These should include key metrics like
I have an expert that wrote in Mq4 .. and I would like to convert it to Mq5 .. to work as it works on mq4 .. with some added options.. so who can do it for me
Mega-FX Indicator 30 - 100 USD
Hello the Mega-Fx Indicator is currently running on MT4. I would need it in Mt5 and automatic trading with free setting of parameters. Specifically. When he should make a trade should be adjustable
I am looking for someone to help me to automate my trading from mt4/5 expert advisors and own trades to tradovate. My trades are generated by my expert in MT5, I want those trades copied to Tradovate's platform using their API to different accounts, that some programmers have suggested is a REST API and should be easily doable
Kindly access the vps to check out the EA, the name of the EA I'm referring to is called TOPGUN 2.0 The EA is in below VPS Server: 176.57.188.42 User:administrator Password: Test20082024! The project is to replicate the same EA in the server and code a very similar one based on the exact functionality in that existing EA
Good day. I would like to have an EA that closes all positions when a certain equity has been achieved. For example, I set balance to 100$ and equity target profit to 5$. When equity reaches 105$, it closes all positions and does the process again to 110$, 115$ and so on and so forth

Proje bilgisi

Bütçe
33+ USD
Son teslim tarihi
from 1 to 99 gün

Müşteri

Verilmiş siparişler1
Arabuluculuk sayısı0