Moving Average Step Indikator MT5

MQL5 Lo demás C++

Tarea técnica

//+------------------------------------------------------------------+
//|                                               SimpleMAIndicator.mq5|
//|                        Copyright 2024, MetaTrader 5               |
//|                                        https://www.mql5.com       |
//+------------------------------------------------------------------+
#property indicator_separate_window
#property indicator_buffers 1
#property indicator_color1 Blue

input int InpPeriod = 14; // MA period

double ExtLineBuffer[];

//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int OnInit()
  {
   SetIndexBuffer(0, ExtLineBuffer, INDICATOR_DATA);
   IndicatorSetString(INDICATOR_SHORTNAME, "Simple MA");
   return(INIT_SUCCEEDED);
  }
//+------------------------------------------------------------------+
//| 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 <= InpPeriod)
      return(0);

   for(int i = prev_calculated; i < rates_total; i++)
     {
      ExtLineBuffer[i] = iMA(NULL, 0, InpPeriod, 0, MODE_SMA, PRICE_CLOSE, i);
     }

   return(rates_total);
  }
//+------------------------------------------------------------------+

Han respondido

1
Desarrollador 1
Evaluación
(5)
Proyectos
7
14%
Arbitraje
2
50% / 50%
Caducado
2
29%
Trabaja
2
Desarrollador 2
Evaluación
(131)
Proyectos
152
22%
Arbitraje
5
0% / 60%
Caducado
4
3%
Trabaja
3
Desarrollador 3
Evaluación
(83)
Proyectos
103
24%
Arbitraje
7
43% / 29%
Caducado
8
8%
Libre
4
Desarrollador 4
Evaluación
(329)
Proyectos
448
52%
Arbitraje
22
50% / 27%
Caducado
5
1%
Trabajando
5
Desarrollador 5
Evaluación
(53)
Proyectos
60
32%
Arbitraje
2
0% / 0%
Caducado
1
2%
Trabaja
6
Desarrollador 6
Evaluación
(10)
Proyectos
25
28%
Arbitraje
1
0% / 0%
Caducado
1
4%
Trabaja
7
Desarrollador 7
Evaluación
(2409)
Proyectos
3026
66%
Arbitraje
77
48% / 14%
Caducado
340
11%
Libre
8
Desarrollador 8
Evaluación
(23)
Proyectos
45
20%
Arbitraje
24
29% / 42%
Caducado
12
27%
Trabaja
9
Desarrollador 9
Evaluación
(438)
Proyectos
495
33%
Arbitraje
25
40% / 48%
Caducado
7
1%
Trabajando
10
Desarrollador 10
Evaluación
(24)
Proyectos
30
67%
Arbitraje
2
0% / 0%
Caducado
1
3%
Trabaja
11
Desarrollador 11
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
12
Desarrollador 12
Evaluación
(2)
Proyectos
1
0%
Arbitraje
2
0% / 50%
Caducado
0
Trabaja
13
Desarrollador 13
Evaluación
Proyectos
2
0%
Arbitraje
1
100% / 0%
Caducado
1
50%
Trabajando
14
Desarrollador 14
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Trabaja
15
Desarrollador 15
Evaluación
(41)
Proyectos
88
14%
Arbitraje
29
31% / 48%
Caducado
36
41%
Trabajando
Solicitudes similares
Can you get my drafts to work? Have to conditions in RSI and Stoch oscillators ,,,I have a draft but its not run,, you can help me? if iRsi <30 ordersend op_sell iStoch > 80 ordersend op_sell Period_15M Send Orders_Buy limit Pivot Price Send Orders_Sell Limit Pivot Price
I recently bought an indicator, that sends out notifications for trades i need to place, on the notification these and SL and TP, so i want an EA that would automate that for me
I'm looking for an expert experienced developer who have skills in convert it to DLL format, i didn't have the original source code, only the ex4 file available, if you have a track record experienced in this field please apply for this project
I want to develop bot for MT4 and i will send pdf to explain in detail and you have any questions on it https://drive.google.com/drive/folders/1TPtn-THkqbLqf6kL_w09OD4vcmhOerIc?usp=sharing I will be looking for great developer to bid for it best regard
CGG Bands 60+ USD
I need you to create a mt4 indicator that will work exactly like the Dark Bands indicator. The dark bands indicator is located in the market in codebase and is free
Hello great developer here am looking for expert developer will convert convert this Trading View Code to Mt4 Indicator and this is a simple indicator i will be expecting your bid peace be unto you
Using Bollinger Band only. When price closes above upper BB, open Buy. If the length of the candle body that closed above the upper BB is more than Y pips, then do not Buy and remove the EA. Otherwise, continue to open Buy if crosses and close above upper BB and the number of positions is not more than Max No of Positions. The user will choose either Buy or Sell only. When price closes below the lower BB, close all
Hello freelancers here, I need an expert to help me with coding my script which is already working in pinescript, Moreover, i want a system whereby i can sell my trading bot and can give access with a license, I need an expert that can help me with this
hello great developer Can you make a high/low ticker tape on a table for 100 stock symbols? As a symbol makes a high or low throughout the day, it will appear on the table. i will be expecting great developer to bid for this project
Hello freelancers here, I need an expert to help me with coding my script which is already working in pinescript, Moreover, i want a system whereby i can sell my trading bot and can give access with a license, I need an expert that can help me with this, and my budget is $20, Thank you

Información sobre el proyecto

Presupuesto
30 - 200 USD
Plazo límite de ejecución
de 5 a 10 día(s)

Cliente

Encargos realizados1
Número de arbitrajes0