10 indigator Super Hot

MQL5 Komut dosyaları Entegrasyon

İş Gereklilikleri

//+------------------------------------------------------------------+
//|                                                     YourScript |
//|                        Generated by Assistant                    |
//+------------------------------------------------------------------+
#property copyright "Copyright 2023, Your Company"
#property version   "1.00"
#property script_show_inputs

// İstifadə ediləcək indikatorlar
input int    period_MA = 14;
input int    period_BB = 20;
input int    period_RSI = 14;
input int    period_SlowEMA = 26;
input int    period_FastEMA = 12;
input int    period_StochK = 14;
input int    period_StochD = 3;
input int    period_Fibonacci = 21;
input int    period_ATR = 14;
input int    period_CCI = 14;

// Alım-satım sinyalı üçün parametrlər
input double   overbought_RSI = 70;
input double   oversold_RSI = 30;
input double   overbought_Stoch = 80;
input double   oversold_Stoch = 20;
input double   overbought_CCI = 100;
input double   oversold_CCI = -100;

// Kar qərarı üçün parametrlər
input double   take_profit_percentage = 5;

//+------------------------------------------------------------------+
//| Expert initialization function                                   |
//+------------------------------------------------------------------+
int OnInit()
{
   // TODO: İnitializasiya üçün əmrlər

   return(INIT_SUCCEEDED);
}

//+------------------------------------------------------------------+
//| Expert tick function                                             |
//+------------------------------------------------------------------+
void OnTick()
{
   // TODO: Tick funksiyası əmrlər
   CheckIndicators();
}

//+------------------------------------------------------------------+
//| İndikatorları yoxla və əmrləri icra et                              |
//+------------------------------------------------------------------+
void CheckIndicators()
{
   double ma = iMA(_Symbol, 0, period_MA, 0, MODE_SMA, PRICE_CLOSE, 0);
   double upper_band, lower_band;
   iBands(_Symbol, 0, period_BB, 2.0, 2.0, 0, upper_band, lower_band, 0);
   double rsi = iRSI(_Symbol, 0, period_RSI, PRICE_CLOSE, 0);
   double macd_line, signal_line, histogram;
   iMACD(_Symbol, 0, period_FastEMA, period_SlowEMA, 9, PRICE_CLOSE, MODE_MAIN, macd_line, signal_line, histogram);
   double stochK, stochD;
   iStochastic(_Symbol, 0, period_StochK, period_StochD, 3, MODE_SMA, STO_LOWHIGH, stochK, stochD);
   double fib_level = iHigh(_Symbol, 0, iHighest(_Symbol, 0, PRICE_HIGH, period_Fibonacci, 0)) -
                     iLow(_Symbol, 0, iLowest(_Symbol, 0, PRICE_LOW, period_Fibonacci, 0));
   double atr = iATR(_Symbol, 0, period_ATR, 0);
   double cci = iCCI(_Symbol, 0, period_CCI, PRICE_CLOSE, 0);

   // Alım və satım sinyallarını yoxla
   if (Close[0] > ma && Close[0] > upper_band && rsi > overbought_RSI && macd_line > signal_line && stochK > overbought_Stoch && cci > overbought_CCI)
   {
      // Alış emri göndər
      OrderSend(_Symbol, OP_BUY, 0.1, Ask, 3, 0, 0, "Buy Order", 0, 0, Green);
   }
   else if (Close[0] < ma && Close[0] < lower_band && rsi < oversold_RSI && macd_line < signal_line && stochK < oversold_Stoch && cci < oversold_CCI)
   {
      // Satış emri göndər
      OrderSend(_Symbol, OP_SELL, 0.1, Bid, 3, 0, 0, "Sell Order", 0, 0, Red);
   }

   // Kar qərarı
   double profit = OrderProfit();
   if (profit > 0 && (profit / OrderOpenPrice()) * 100 >= take_profit_percentage)
   {
      // 5% qazanılmışdıqdan sonra pozisiyanı bağla
      OrderClose(OrderTicket(), OrderLots(), Bid, 3, Green);
   }
}

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(232)
Projeler
289
27%
Arabuluculuk
14
50% / 36%
Süresi dolmuş
9
3%
Meşgul
2
Geliştirici 2
Derecelendirme
(19)
Projeler
22
23%
Arabuluculuk
3
67% / 33%
Süresi dolmuş
2
9%
Çalışıyor
3
Geliştirici 3
Derecelendirme
(46)
Projeler
47
9%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
4
Geliştirici 4
Derecelendirme
(495)
Projeler
737
56%
Arabuluculuk
47
32% / 30%
Süresi dolmuş
116
16%
Çalışıyor
Yayınlandı: 1 kod
5
Geliştirici 5
Derecelendirme
(535)
Projeler
613
34%
Arabuluculuk
34
38% / 47%
Süresi dolmuş
9
1%
Meşgul
6
Geliştirici 6
Derecelendirme
(1)
Projeler
1
0%
Arabuluculuk
1
0% / 0%
Süresi dolmuş
0
Serbest
7
Geliştirici 7
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Yayınlandı: 9 kod
Benzer siparişler
I need a custom options scanner built with the following features: Scan ATM call or put options with the same expiry . Filter for open interest ≥ 175 . Expiration between 1 to 60 days . Underlying stock price between $5 and $175 . Use mark price for calculations. Results should be sortable by debit or credit . Scanner should include ETFs as well as stocks . Goal: A simple and efficient scanner that quickly identifies
BOT for Deriv! 45+ USD
Hi guys, I need to create a bot for deriv, it will do this: *** Send "CALL" for volatility indexes and Jump indexes with expiry 10 seconds. *** Send "PUT" for volatility indexes and Jump indexes with expiry 10 seconds. i need the file to be ready in 1 hour
Hello, Need to code on pine script (tradingview) as system that will monitor multi timeframe (required developer with experience coding in multi time frame simultany) The system is based on a lot of patterns (unique patterns) shown on charts in many time frames simultaneously (not using any indicators), as i mentioned the patterns have to be found and monitored in many TF like (9m and 6h and many more). The

Proje bilgisi

Bütçe
50+ USD
Geliştirici için
45 USD