10 indigator Super Hot

MQL5 Scripts Integration

Specification

//+------------------------------------------------------------------+
//|                                                     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);
   }
}

Responded

1
Developer 1
Rating
(232)
Projects
289
27%
Arbitration
14
50% / 36%
Overdue
9
3%
Busy
2
Developer 2
Rating
(19)
Projects
22
23%
Arbitration
3
67% / 33%
Overdue
2
9%
Working
3
Developer 3
Rating
(46)
Projects
47
9%
Arbitration
0
Overdue
0
Free
4
Developer 4
Rating
(495)
Projects
737
56%
Arbitration
47
32% / 30%
Overdue
116
16%
Working
Published: 1 code
5
Developer 5
Rating
(535)
Projects
613
34%
Arbitration
34
38% / 47%
Overdue
9
1%
Busy
6
Developer 6
Rating
(1)
Projects
1
0%
Arbitration
1
0% / 0%
Overdue
0
Free
7
Developer 7
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 9 codes

Project information

Budget
50+ USD
For the developer
45 USD