Moving Average Step Indikator MT5

MQL5 Прочее C++

Техническое задание

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

Откликнулись

1
Разработчик 1
Оценка
(5)
Проекты
7
14%
Арбитраж
3
33% / 33%
Просрочено
2
29%
Работает
2
Разработчик 2
Оценка
(133)
Проекты
156
22%
Арбитраж
5
0% / 60%
Просрочено
4
3%
Загружен
3
Разработчик 3
Оценка
(84)
Проекты
104
24%
Арбитраж
7
43% / 29%
Просрочено
8
8%
Работает
4
Разработчик 4
Оценка
(333)
Проекты
452
52%
Арбитраж
22
50% / 27%
Просрочено
5
1%
Загружен
5
Разработчик 5
Оценка
(58)
Проекты
64
31%
Арбитраж
2
0% / 0%
Просрочено
0
Работает
6
Разработчик 6
Оценка
(10)
Проекты
25
28%
Арбитраж
1
0% / 0%
Просрочено
1
4%
Загружен
7
Разработчик 7
Оценка
(2413)
Проекты
3033
66%
Арбитраж
77
48% / 14%
Просрочено
340
11%
Свободен
8
Разработчик 8
Оценка
(23)
Проекты
45
20%
Арбитраж
24
29% / 46%
Просрочено
12
27%
Свободен
9
Разработчик 9
Оценка
(448)
Проекты
507
33%
Арбитраж
25
40% / 48%
Просрочено
7
1%
Загружен
10
Разработчик 10
Оценка
(24)
Проекты
30
67%
Арбитраж
2
0% / 0%
Просрочено
1
3%
Работает
11
Разработчик 11
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
12
Разработчик 12
Оценка
(2)
Проекты
1
0%
Арбитраж
2
0% / 50%
Просрочено
0
Работает
13
Разработчик 13
Оценка
Проекты
2
0%
Арбитраж
2
50% / 0%
Просрочено
1
50%
Загружен
14
Разработчик 14
Оценка
Проекты
1
0%
Арбитраж
1
100% / 0%
Просрочено
0
Свободен
15
Разработчик 15
Оценка
(41)
Проекты
88
14%
Арбитраж
29
31% / 55%
Просрочено
36
41%
Работает
Похожие заказы
I want to ea too be signal too signal so close buy when sell signal is printed. one thing is that this indicator can cut losing trade early so the points will go back to zero, this means the trade is closed ( see the photo for example). This will need to be coded into it too. I want auto lot x balance, Tp sl trailing stop, time filter and indicator settings in the ea settings
The following url shows the steps to get MT4 to communicate with a MS SQL Server Express database. I need help getting that to work as the article is not making sense to me Integrating MetaTrader 4 Client Terminal with MS SQL Server - MQL4 Articles (mql5.com)
Hi there - Overview We are seeking an experienced developer to create a Forex Robot Expert Advisor (EA) tailored to specific trading strategies and conditions. The EA will focus on the London trading session and will automate trades based on pre-defined calculations and market movements. *Responsibilities:* 1. *London Session Analysis:* - Develop functionality to highlight the London trading session on the forex
I am looking for someone who has experience working with the ZigZag indicator. I want to create a multi timeframe dashboard scanner based on ZigZag. I will explain more in private messages. if you feel capable & interest with that,please pm me for more details. thanks
Hello, I have indicators for tradestation written in easylanguage and I need them in tradingview pinescript. So I need someone to convert these tradestation indicators to tradingview. Do you think you can help me with that
Excellent trade 30 - 50 USD
I need an expert robot developer that will create a robot using 4 indicators to generate signal for the robot to execute,it should be solely based on candle stick period analysis and the robot will be made to allow indicators parameters adjustment and user input example "parameters optimization" or "hyperparameter optimization as the terminology might be, please I need it urgently, the interested developer should
Hello, i am looking for a very skilled developer, who is an Expert in object orientated programming in MQL5. I have some indicators (MQL4 and MQL5), which i like to translate them into separate classes. Then all classes should be included into an Expert Adivsor. I have developed a comprehensive and complex strategy, which i would like to have as an EA. Therefore you should have deeper knowledge in OOP-MQL5 and have a
hey friends, I am looking to build a smart trading robot, for the capital market. He knew how to trade in all the different types of trade. Example - in shares, currencies, index, indices, ETFs, funds, commodities, options, futures and so on. Suitable for trading on all stock exchanges in the world. It will be possible to install the trading robot in the MetaTrader 5 trading software. But it will also be possible to
I am seeking a skilled developer to create a web application that monitors and displays statistics for MT4/MT5 trading accounts, similar to Myfxbook. The application will collect account and trade data from MT4/MT5 platforms, process and analyze this data, and present it through a user-friendly interface
i Want to convert this Trading View Code to Mt4 Indicator indicator("NEOM Smart Money Concepts ", "NEOM Smart Money Concepts " , overlay = true , max_labels_count = 500 , max_lines_count = 500 , max_boxes_count = 500 , max_bars_back = 500) //-----------------------------------------------------------------------------{ //Constants //-----------------------------------------------------------------------------{ color

Информация о проекте

Бюджет
30 - 200 USD
Сроки выполнения
от 5 до 10 дн.

Заказчик

Размещено заказов1
Количество арбитражей0