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
(6)
Projetos
9
11%
Arbitragem
5
40% / 20%
Expirado
2
22%
Livre
2
Desenvolvedor 2
Classificação
(250)
Projetos
313
28%
Arbitragem
33
27% / 64%
Expirado
10
3%
Livre
3
Desenvolvedor 3
Classificação
(93)
Projetos
115
23%
Arbitragem
21
29% / 52%
Expirado
8
7%
Livre
4
Desenvolvedor 4
Classificação
(429)
Projetos
628
54%
Arbitragem
30
53% / 23%
Expirado
6
1%
Carregado
5
Desenvolvedor 5
Classificação
(350)
Projetos
421
54%
Arbitragem
20
55% / 15%
Expirado
29
7%
Trabalhando
6
Desenvolvedor 6
Classificação
(16)
Projetos
35
23%
Arbitragem
4
0% / 50%
Expirado
2
6%
Trabalhando
7
Desenvolvedor 7
Classificação
(2642)
Projetos
3357
68%
Arbitragem
77
48% / 14%
Expirado
342
10%
Livre
Publicou: 1 código
8
Desenvolvedor 8
Classificação
(23)
Projetos
45
20%
Arbitragem
25
28% / 48%
Expirado
12
27%
Livre
9
Desenvolvedor 9
Classificação
(549)
Projetos
635
33%
Arbitragem
41
39% / 46%
Expirado
11
2%
Carregado
10
Desenvolvedor 10
Classificação
(58)
Projetos
78
59%
Arbitragem
13
38% / 54%
Expirado
9
12%
Livre
11
Desenvolvedor 11
Classificação
(1)
Projetos
1
100%
Arbitragem
0
Expirado
0
Livre
12
Desenvolvedor 12
Classificação
(7)
Projetos
8
13%
Arbitragem
6
33% / 33%
Expirado
0
Livre
13
Desenvolvedor 13
Classificação
Projetos
2
0%
Arbitragem
4
25% / 75%
Expirado
1
50%
Livre
14
Desenvolvedor 14
Classificação
Projetos
1
0%
Arbitragem
1
100% / 0%
Expirado
0
Livre
15
Desenvolvedor 15
Classificação
(45)
Projetos
91
13%
Arbitragem
34
26% / 59%
Expirado
37
41%
Livre
Pedidos semelhantes
Adapt existing MT5 EA to trade directly on crypto exchange (BingX/Bitmart/Bitget/XT.com) instead of forex broker. Required Work: 1. Market Data DLL WebSocket connection for real-time exchange prices Custom symbol in MT5 (e.g., FIGHTUSDT) Live OHLCV data feed to chart 2. Trading Library DLL Functions: SendOrder, GetPositions, GetBalance, ClosePosition, ModifyOrder API authentication (HMAC-SHA256) Support for
2 FX pairs M15 execution with higher timeframe bias Session-based trading (UK time) Fixed % risk per trade Controlled pyramiding (add to winners only) Strict daily loss limits (FTMO-style) Proper order handling (SL always set) Basic logging (CSV) Strategy logic will be provided in detail after NDA / agreement. Must deliver: Source code (.mq5) Compiled file (.ex5) Clean, well-commented code Short support window for
Hi, are you able to create a script/indicator on tradingview that displays a chart screener and it allows me to input multiple tickers on the rows. then the colums with be like "premarket high, premarket low, previous day high, previous day low" . When each or both of the levels break, there will pop up a circle on the chart screener, signaling to me what names are above both PM high and previous day high or maybe
Hello, I'm looking to find out the cost of creating a mobile trading robot. I've tried to describe it as thoroughly as possible in the following document. I look forward to your response. I'd like to know the costs, delivery time, and how you plan to implement it before making a decision
Billionflow 30 - 100 USD
Trading specifications: Indicators: Bollinger band ( Period 40, Deviation 1 apply to close) Moving Average (Exponential ) Period 17 applied to high Moving Average ( Exponential ) Period 17 applied to low But Signal enter a buy trade when prices crosses the lower band of the bollinger band up and also crosses the moving average channel of high and low the reverse is true for sell signal
Hi I have a simple task (hopefully) I have a custom strategy that I built with the help of Claude Anthropic - everything is finished and I zipped it with power shell but when importing it NT8 gives me the error message that the file was made from an older, incompatible version or not a NinjaScript. My folder structure is correct as far I can see so I don't know what the issues is and it's costing me too much to go
Do you happen to have a profitable strategy for MNQ? it is urgent if any one can help me with this i will be happy to discuss with you and move forward to pay for it kindly let me know the amount thank fill free to bid
Subject: Development of Ultra-High Precision Confluence Indicator - M1 Binary Options (Non-Repaint) ​ Hello, I am looking for a Senior MQL5 Developer to create a custom "Surgical Precision" indicator for MetaTrader 5, specifically optimized for 1-minute (M1) Binary Options trading. The system must integrate three distinct layers of algorithmic analysis. ​ 1. Core Logic: Triple-Layer Confluence ​The signal (Call/Put)
Looking for an experienced MQL5 developer to design and develop a custom Expert Advisor (EA) for MetaTrader 5. The purpose of this EA is not just automated trading, but also to help me better structure, test, and refine my personal trading strategy
Hi, I need a simple MT5 EA. Based on my simple trading strategy I'm going to discuss with you If you have experience in this kindly bid for this project Thanks

Informações sobre o projeto

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