Moving Average Step Indikator MT5

MQL5 다른 C++

명시

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

응답함

1
개발자 1
등급
(6)
프로젝트
9
11%
중재
5
40% / 20%
기한 초과
2
22%
무료
2
개발자 2
등급
(161)
프로젝트
191
26%
중재
8
25% / 38%
기한 초과
5
3%
바쁜
3
개발자 3
등급
(89)
프로젝트
112
24%
중재
11
45% / 18%
기한 초과
8
7%
작업중
4
개발자 4
등급
(356)
프로젝트
489
52%
중재
24
54% / 25%
기한 초과
5
1%
작업중
5
개발자 5
등급
(99)
프로젝트
112
36%
중재
3
0% / 0%
기한 초과
4
4%
로드됨
6
개발자 6
등급
(11)
프로젝트
26
27%
중재
3
0% / 0%
기한 초과
1
4%
로드됨
7
개발자 7
등급
(2444)
프로젝트
3081
66%
중재
77
48% / 14%
기한 초과
340
11%
무료
8
개발자 8
등급
(23)
프로젝트
45
20%
중재
24
29% / 46%
기한 초과
12
27%
무료
9
개발자 9
등급
(489)
프로젝트
558
33%
중재
27
44% / 44%
기한 초과
8
1%
로드됨
10
개발자 10
등급
(30)
프로젝트
39
59%
중재
4
75% / 0%
기한 초과
2
5%
바쁜
11
개발자 11
등급
(1)
프로젝트
1
100%
중재
0
기한 초과
0
무료
12
개발자 12
등급
(5)
프로젝트
5
20%
중재
4
25% / 25%
기한 초과
0
작업중
13
개발자 13
등급
프로젝트
2
0%
중재
1
100% / 0%
기한 초과
1
50%
무료
14
개발자 14
등급
프로젝트
1
0%
중재
1
100% / 0%
기한 초과
0
무료
15
개발자 15
등급
(42)
프로젝트
88
14%
중재
31
29% / 55%
기한 초과
36
41%
작업중
비슷한 주문
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
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

프로젝트 정보

예산
30 - 200 USD
개발자에게
27 - 180 USD
기한
에서 5  10 일