Moving Average Step Indikator MT5

MQL5 Diğer C++

İş Gereklilikleri

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

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(5)
Projeler
7
14%
Arabuluculuk
3
33% / 33%
Süresi dolmuş
2
29%
Çalışıyor
2
Geliştirici 2
Derecelendirme
(132)
Projeler
154
22%
Arabuluculuk
5
0% / 60%
Süresi dolmuş
4
3%
Meşgul
3
Geliştirici 3
Derecelendirme
(84)
Projeler
104
24%
Arabuluculuk
7
43% / 29%
Süresi dolmuş
8
8%
Çalışıyor
4
Geliştirici 4
Derecelendirme
(333)
Projeler
452
52%
Arabuluculuk
22
50% / 27%
Süresi dolmuş
5
1%
Çalışıyor
5
Geliştirici 5
Derecelendirme
(57)
Projeler
63
32%
Arabuluculuk
2
0% / 0%
Süresi dolmuş
0
Çalışıyor
6
Geliştirici 6
Derecelendirme
(10)
Projeler
25
28%
Arabuluculuk
1
0% / 0%
Süresi dolmuş
1
4%
Yüklendi
7
Geliştirici 7
Derecelendirme
(2413)
Projeler
3033
66%
Arabuluculuk
77
48% / 14%
Süresi dolmuş
340
11%
Serbest
8
Geliştirici 8
Derecelendirme
(23)
Projeler
45
20%
Arabuluculuk
24
29% / 46%
Süresi dolmuş
12
27%
Serbest
9
Geliştirici 9
Derecelendirme
(448)
Projeler
507
33%
Arabuluculuk
25
40% / 48%
Süresi dolmuş
7
1%
Yüklendi
10
Geliştirici 10
Derecelendirme
(24)
Projeler
30
67%
Arabuluculuk
2
0% / 0%
Süresi dolmuş
1
3%
Çalışıyor
11
Geliştirici 11
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
12
Geliştirici 12
Derecelendirme
(2)
Projeler
1
0%
Arabuluculuk
2
0% / 50%
Süresi dolmuş
0
Çalışıyor
13
Geliştirici 13
Derecelendirme
Projeler
2
0%
Arabuluculuk
2
50% / 0%
Süresi dolmuş
1
50%
Yüklendi
14
Geliştirici 14
Derecelendirme
Projeler
1
0%
Arabuluculuk
1
100% / 0%
Süresi dolmuş
0
Serbest
15
Geliştirici 15
Derecelendirme
(41)
Projeler
88
14%
Arabuluculuk
29
31% / 55%
Süresi dolmuş
36
41%
Çalışıyor
Benzer siparişler
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 need a professional programmer to help me design an EA that can be able to take trades towards a market direction with accurate prediction. This EA should be able to identify the market trend direction and take multiple trades towards the direction and also able to close the trades together when market wants to reverse at the best profit level. The input at the beginning will be for the EA to be input with a
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

Proje bilgisi

Bütçe
30 - 200 USD
Son teslim tarihi
from 5 to 10 gün

Müşteri

Verilmiş siparişler1
Arabuluculuk sayısı0