Moving Average Step Indikator MT5

MQL5 Outros C++

Termos de Referência

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

Respondido

1
Desenvolvedor 1
Classificação
(5)
Projetos
8
13%
Arbitragem
4
50% / 25%
Expirado
2
25%
Livre
2
Desenvolvedor 2
Classificação
(137)
Projetos
162
22%
Arbitragem
7
29% / 43%
Expirado
4
2%
Ocupado
3
Desenvolvedor 3
Classificação
(87)
Projetos
107
24%
Arbitragem
8
38% / 25%
Expirado
8
7%
Trabalhando
4
Desenvolvedor 4
Classificação
(339)
Projetos
457
52%
Arbitragem
22
50% / 27%
Expirado
5
1%
Carregado
5
Desenvolvedor 5
Classificação
(66)
Projetos
73
30%
Arbitragem
2
0% / 0%
Expirado
1
1%
Carregado
6
Desenvolvedor 6
Classificação
(10)
Projetos
25
28%
Arbitragem
1
0% / 0%
Expirado
1
4%
Carregado
7
Desenvolvedor 7
Classificação
(2424)
Projetos
3049
66%
Arbitragem
77
48% / 14%
Expirado
340
11%
Trabalhando
8
Desenvolvedor 8
Classificação
(23)
Projetos
45
20%
Arbitragem
24
29% / 46%
Expirado
12
27%
Livre
9
Desenvolvedor 9
Classificação
(455)
Projetos
515
33%
Arbitragem
26
38% / 46%
Expirado
7
1%
Carregado
10
Desenvolvedor 10
Classificação
(24)
Projetos
31
68%
Arbitragem
2
50% / 0%
Expirado
1
3%
Livre
11
Desenvolvedor 11
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
12
Desenvolvedor 12
Classificação
(3)
Projetos
3
0%
Arbitragem
3
33% / 33%
Expirado
0
Livre
13
Desenvolvedor 13
Classificação
Projetos
2
0%
Arbitragem
1
100% / 0%
Expirado
1
50%
Trabalhando
14
Desenvolvedor 14
Classificação
Projetos
1
0%
Arbitragem
1
100% / 0%
Expirado
0
Livre
15
Desenvolvedor 15
Classificação
(41)
Projetos
88
14%
Arbitragem
30
30% / 53%
Expirado
36
41%
Trabalhando
Pedidos semelhantes
hi. I hv a strategy on tradingview need to convert to MT4/MT5 expert advisor for algo trading. would like to add some tradingview strategy setting to the EA(not included in my tradingview code): recalculate after order is filled, order size: xx% of equity
Hello coder, I am looking for a skilled web application developer to create a page that analyzes trades similar to Myfxbook. The application should support both MT4 and MT5 platforms. The front-end of this application should be capable of creating detailed charts and graphs for visualizing trade performance. Key Responsibilities: Develop a Web Application: Create a user-friendly interface for tracking and analyzing
I need an urgent requirement by the developer who are able expert in designing the EA-Anil and can give best trailing result of profit in EA-Anil I am sending.Developer should design the best graphic user trader panel info, plus a buy sell input panel and should display trade result within 4-5 days of this development program
I’m looking for a developer that has understanding of scalping and HFT strategies that can make an algo that works for all brokers and prop firm LIVE accounts (like STP, ECN, DMA, Money Makers, NDD, Fast Server etc.,). I want someone that has understanding and insight in different scalping and HFT strategies, preferably something like momentum based strategies. The EA has to work on all Brokers and Prop firms like
The strategy uses a grid trading system where trades are placed at set intervals (grid levels) and are managed using Bollinger Bands for entry and exit signals. A fixed lot size, trades are managed to comply with maximum spread conditions and specific trading hours, with the possibility of closing trades based on Bollinger Bands signals. The use of Bollinger Bands indicates a focus on volatility-based trading, while
Hi Everyone, I need a cloud based licensing system to protect my MT4 / MT5 Indicators and Expert advisors Secure an unlimited number of EAs, indicators, and scripts. Create and manage unlimited license keys for secured EAs, indicators, and scripts. Instantly suspend license keys in case of refund. Lock EA/indicator to specific accounts and time frame similar to this
Hi, i have a tos script i need converted to Ninja script, but someone who knows both coding. Cant be someone who is just going to paste into chat gpt, it requires more understanding for compatibility
Hi, i have a tos script i need converted to Ninja script, but someone who knows both coding. Cant be someone who is just going to paste into chat gpt, it requires more understanding for compatibility
MT4 INDICATOR 30 - 35 USD
Looking for a proven MT4 indicator that is highly consistent and profitable preferably that you have developed and are able to share with me. If you have some indicator that is valuable for making consistent profit please bid and show me trading history from using it in your MT4 account. Thanks
Hello there! I am looking for an experienced coder to transform my existing trading system into an automated algorithm for the MetaTrader platform. Key Responsibilities: Interpret and understand the trading system I've designed. Code an algorithm that can execute trading decisions without manual intervention. Test and refine the algorithm for MetaTrader compatibility. Ideal Candidate: Proficient in Python, C++, or

Informações sobre o projeto

Orçamento
30 - 200 USD
Desenvolvedor
27 - 180 USD
Prazo
de 5 para 10 dias