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
(6)
Projeler
9
11%
Arabuluculuk
5
40% / 20%
Süresi dolmuş
2
22%
Serbest
2
Geliştirici 2
Derecelendirme
(161)
Projeler
191
26%
Arabuluculuk
8
25% / 38%
Süresi dolmuş
5
3%
Meşgul
3
Geliştirici 3
Derecelendirme
(89)
Projeler
112
24%
Arabuluculuk
11
45% / 18%
Süresi dolmuş
8
7%
Çalışıyor
4
Geliştirici 4
Derecelendirme
(356)
Projeler
489
52%
Arabuluculuk
24
54% / 25%
Süresi dolmuş
5
1%
Çalışıyor
5
Geliştirici 5
Derecelendirme
(97)
Projeler
110
36%
Arabuluculuk
3
0% / 0%
Süresi dolmuş
4
4%
Yüklendi
6
Geliştirici 6
Derecelendirme
(11)
Projeler
26
27%
Arabuluculuk
3
0% / 0%
Süresi dolmuş
1
4%
Yüklendi
7
Geliştirici 7
Derecelendirme
(2444)
Projeler
3081
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
(489)
Projeler
558
33%
Arabuluculuk
27
44% / 44%
Süresi dolmuş
8
1%
Yüklendi
10
Geliştirici 10
Derecelendirme
(30)
Projeler
39
59%
Arabuluculuk
4
75% / 0%
Süresi dolmuş
2
5%
Yüklendi
11
Geliştirici 11
Derecelendirme
(1)
Projeler
1
100%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
12
Geliştirici 12
Derecelendirme
(5)
Projeler
5
20%
Arabuluculuk
4
25% / 25%
Süresi dolmuş
0
Çalışıyor
13
Geliştirici 13
Derecelendirme
Projeler
2
0%
Arabuluculuk
1
100% / 0%
Süresi dolmuş
1
50%
Serbest
14
Geliştirici 14
Derecelendirme
Projeler
1
0%
Arabuluculuk
1
100% / 0%
Süresi dolmuş
0
Serbest
15
Geliştirici 15
Derecelendirme
(42)
Projeler
88
14%
Arabuluculuk
31
29% / 55%
Süresi dolmuş
36
41%
Çalışıyor
Benzer siparişler
Hello there, I’m looking for a highly skilled programmer or engineer that can code an efficient and effective anti-decompilation mechanism for my MQL5 expert advisor, that ideally can obfuscate further my code. Also, I’m looking for an integrity check system, which based on the hash of the original code (hidden inside the code itself) checks whether the hash of the current code matches
Hi, I will use: 5 indicators to find main trend , 5indicators to find current trend, find pivot point, support/resistance, reversel candle then entry.......indicators are available on mt5. *Dashboard chart will show on the chart as all indicators result,,,,as MA,MACD, bullish or bearish ,,,,add all others features days of trading,,,,hrs,,,etc
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
STRATEGY : Here’s a comprehensive specification document in English for developing your NinjaTrader bid/ask imbalance indicator: --- ### Bid/Ask Imbalance Indicator for NinjaTrader: Full Specifications #### **Objective**The goal is to develop a custom bid/ask imbalance indicator for NinjaTrader 8. The indicator will calculate and visualize bid/ask imbalances in real-time and on historical tick data using Tick Replay
Convert my tradingview pine script to mt4, Its a simple and straight code i need an expert programmer to convert my tradingview pine script to mt4, Thats All Thank you
Hello, i would like to have a fix on my plotted lines I use a liquidity strategy on the 1 hr time frame but the indicator that i am using for plotting the 1 hr lines is having a issue and printing the plot lines all over the place on the current 1 and 4 hr plot line as you can see in the screenshot this is very disturbing while i am trading can u fix that or just remove the current 1 hr plot line ?and or only show
hello there I need a copy trade for mt4 can ANYONE help me with and let discuss on how to go about it kindly send me message to signify and let discuss mind you i need this urgently let connect to discuss and conclude
I want to create a robot to open and close trades for me based on my moving averages cross overs . I normally trade on my phone so i would like to set it on my phone 1st

Proje bilgisi

Bütçe
30 - 200 USD
Geliştirici için
27 - 180 USD
Son teslim tarihi
from 5 to 10 gün