Moving Average Step Indikator MT5

MQL5 Altro C++

Specifiche

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

Con risposta

1
Sviluppatore 1
Valutazioni
(6)
Progetti
9
11%
Arbitraggio
5
40% / 20%
In ritardo
2
22%
Gratuito
2
Sviluppatore 2
Valutazioni
(161)
Progetti
191
26%
Arbitraggio
7
29% / 43%
In ritardo
5
3%
Occupato
3
Sviluppatore 3
Valutazioni
(89)
Progetti
112
24%
Arbitraggio
11
45% / 18%
In ritardo
8
7%
In elaborazione
4
Sviluppatore 4
Valutazioni
(356)
Progetti
489
52%
Arbitraggio
24
54% / 25%
In ritardo
5
1%
In elaborazione
5
Sviluppatore 5
Valutazioni
(101)
Progetti
114
35%
Arbitraggio
3
0% / 0%
In ritardo
4
4%
In elaborazione
6
Sviluppatore 6
Valutazioni
(11)
Progetti
26
27%
Arbitraggio
3
0% / 0%
In ritardo
1
4%
Caricato
7
Sviluppatore 7
Valutazioni
(2446)
Progetti
3082
66%
Arbitraggio
77
48% / 14%
In ritardo
340
11%
Caricato
8
Sviluppatore 8
Valutazioni
(23)
Progetti
45
20%
Arbitraggio
24
29% / 46%
In ritardo
12
27%
Gratuito
9
Sviluppatore 9
Valutazioni
(490)
Progetti
561
33%
Arbitraggio
27
44% / 44%
In ritardo
9
2%
Caricato
10
Sviluppatore 10
Valutazioni
(30)
Progetti
39
59%
Arbitraggio
5
60% / 0%
In ritardo
2
5%
Occupato
11
Sviluppatore 11
Valutazioni
(1)
Progetti
1
100%
Arbitraggio
0
In ritardo
0
Gratuito
12
Sviluppatore 12
Valutazioni
(5)
Progetti
5
20%
Arbitraggio
4
25% / 25%
In ritardo
0
In elaborazione
13
Sviluppatore 13
Valutazioni
Progetti
2
0%
Arbitraggio
1
100% / 0%
In ritardo
1
50%
Gratuito
14
Sviluppatore 14
Valutazioni
Progetti
1
0%
Arbitraggio
1
100% / 0%
In ritardo
0
Gratuito
15
Sviluppatore 15
Valutazioni
(42)
Progetti
88
14%
Arbitraggio
31
29% / 55%
In ritardo
36
41%
In elaborazione
Ordini simili
I'm planning on building/creating an mt4/5 trading indicator that use a break and retest strategy I will share a link for the idea strategy, Kindly message me to send you the link, I can't send it here
here we will create market website, where we will display all our assets in graphical form, we will pull data from Metatrader platform and update the website in real time. I need something like this https://NgnRates.com but on our site we will display our own rate based on calculations performed on MT5 source
we will use this script( News365 – PHP Newspaper Script Magazine Blog with Video Newspaper by bdtask (codecanyon.net) ) or anything better to clone this website( European Central Bank (europa.eu) ) I want everything exactly the same as the above-mentioned website ---------------------------------------------------------------- I ---------------------------------------------------------------- I
I need an indicator like the one of the two photos that print on current candle 0, or pre alert 60% win rate minimum for mt5 or 4 I would like too trail until Friday as this is when I get paid pls
I want to turn the attached trade into a bot. It may be a little hard to udnerstand, in simple terms I want to trade at a turn around point following a fair value gap. I may want to add two switches: Buy / sell only Only trade within zone x-y these additions will allow me to check fundamentals for buy/or sell, and then only trade when im in support/resistance. You may know a better more profitable way of going about
Nt8 30+ USD
i'm searching a way to define which IP address is using by NT8 cause i'm using a multiple IPs machine (for my daily job) and I'd need to have a further confirmation that I'm using the correct IP address with NT8 could anyone explain explain me how to do it for a fee
CRT bot 30 - 50 USD
I want a programmer to program an expert advisor that will follow CRT trading strategy. Which spoting previous candle high and low, then wait for the either of the level to be sweep without the candle closing below the level enter a position at the spot and target opposing liquidity
I need to create an EA based on my own strategy that actually is a little bit different from most of the usual EA. This because it use an indicator but the power of the system is just because it can shows target price by designing trendline on the price chart in a unusual way. A friend of mine tried to create it on MT4 platform but, in the end, he realized that this platform has big limits when the program lines
This is a 2000 lines own-made breakout EA that I need to have cleanly converted from mql4 to mql5 for learning purposes The start() is about 400 lines long ; basic breakout with specific features , built for Index CFDs with 2 digits (typically DAX or SP500; TP SL... are expressed in actual Points) The Ontester() is about 400 lines (contains 58 different custom opimizations) The Deinit() is about 150 lines The
Hey there! I’m looking for a talented NinjaTrader programmer to partner with on some exciting projects. If you have a knack for NinjaScript and a passion for trading tech, let’s team up! What You Can Expect: A friendly collaboration on diverse projects Fair pay—50/50 split on all earnings An opportunity to dive deep into innovative trading strategies What I’m Hoping You Bring: Experience with NinjaTrader and

Informazioni sul progetto

Budget
30 - 200 USD
Per lo sviluppatore
27 - 180 USD
Scadenze
da 5 a 10 giorno(i)