Moving Average Step Indikator MT5

MQL5 Other C++

Specification

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

Responded

1
Developer 1
Rating
(5)
Projects
8
13%
Arbitration
4
50% / 25%
Overdue
2
25%
Free
2
Developer 2
Rating
(137)
Projects
162
22%
Arbitration
7
29% / 43%
Overdue
4
2%
Working
3
Developer 3
Rating
(87)
Projects
107
24%
Arbitration
8
38% / 25%
Overdue
8
7%
Working
4
Developer 4
Rating
(339)
Projects
457
52%
Arbitration
22
50% / 27%
Overdue
5
1%
Loaded
5
Developer 5
Rating
(63)
Projects
70
30%
Arbitration
2
0% / 0%
Overdue
1
1%
Loaded
6
Developer 6
Rating
(10)
Projects
25
28%
Arbitration
1
0% / 0%
Overdue
1
4%
Loaded
7
Developer 7
Rating
(2423)
Projects
3046
66%
Arbitration
77
48% / 14%
Overdue
340
11%
Free
8
Developer 8
Rating
(23)
Projects
45
20%
Arbitration
24
29% / 46%
Overdue
12
27%
Free
9
Developer 9
Rating
(454)
Projects
513
33%
Arbitration
25
40% / 48%
Overdue
7
1%
Loaded
10
Developer 10
Rating
(24)
Projects
31
68%
Arbitration
2
50% / 0%
Overdue
1
3%
Free
11
Developer 11
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
12
Developer 12
Rating
(3)
Projects
2
0%
Arbitration
3
0% / 33%
Overdue
0
Working
13
Developer 13
Rating
Projects
2
0%
Arbitration
1
100% / 0%
Overdue
1
50%
Working
14
Developer 14
Rating
Projects
1
0%
Arbitration
1
100% / 0%
Overdue
0
Free
15
Developer 15
Rating
(41)
Projects
88
14%
Arbitration
30
30% / 53%
Overdue
36
41%
Working
Similar orders
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
EA Description: Box Identification: The EA allows users to manually mark consolidation zones on the chart with rectangular boxes. These boxes are distinguished by color: red for bearish zones and green for bullish zones. Entry Types: Aggressive Entry (True/False): Users can opt for aggressive entries, initiating trades at a specified percentage of the zone's range. Divergence Entry (True/False): The EA detects
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
I would like some assistance modifying an indicator as I am not experienced enough to make these changes myself. The indicator is relatively simple high/low breakout indicator that I need to add additional logic to. Source code will be provided. Current Features The indicator provided scans swing highs and lows and based on certain conditions draws a green or red line showing a break high or low. Dots are drawn to
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
HELLO, I need some modifications into my indicator . I need to add the possibility to show the old zones in addition to the current ones . We can already choose the possibility of displaying the old zones with the history mode with a double click when the option is ON, but this remove the current zones . What i want is the possibility when you activate the HISTORY MODE : to KEEP THE OLD ZONES DISPLAYED AUTOMATICALLY
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

Project information

Budget
30 - 200 USD
For the developer
27 - 180 USD
Deadline
from 5 to 10 day(s)