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
等级
(5)
项目
7
14%
仲裁
2
50% / 50%
逾期
2
29%
工作中
2
开发者 2
等级
(131)
项目
152
22%
仲裁
5
0% / 60%
逾期
4
3%
已载入
3
开发者 3
等级
(83)
项目
103
24%
仲裁
7
43% / 29%
逾期
8
8%
工作中
4
开发者 4
等级
(330)
项目
450
52%
仲裁
22
50% / 27%
逾期
5
1%
已载入
5
开发者 5
等级
(54)
项目
61
31%
仲裁
2
0% / 0%
逾期
0
工作中
6
开发者 6
等级
(10)
项目
25
28%
仲裁
1
0% / 0%
逾期
1
4%
工作中
7
开发者 7
等级
(2410)
项目
3027
66%
仲裁
77
48% / 14%
逾期
340
11%
空闲
8
开发者 8
等级
(23)
项目
45
20%
仲裁
24
29% / 42%
逾期
12
27%
工作中
9
开发者 9
等级
(439)
项目
497
33%
仲裁
25
40% / 48%
逾期
7
1%
繁忙
10
开发者 10
等级
(24)
项目
30
67%
仲裁
2
0% / 0%
逾期
1
3%
工作中
11
开发者 11
等级
项目
0
0%
仲裁
0
逾期
0
空闲
12
开发者 12
等级
(2)
项目
1
0%
仲裁
2
0% / 50%
逾期
0
工作中
13
开发者 13
等级
项目
2
0%
仲裁
1
100% / 0%
逾期
1
50%
已载入
14
开发者 14
等级
项目
0
0%
仲裁
0
逾期
0
工作中
15
开发者 15
等级
(41)
项目
88
14%
仲裁
29
31% / 48%
逾期
36
41%
已载入
相似订单
Hello Greetings. I have a custom tradingview strategy I would like to convert to Metatrader 5 ( mt5 ) . I have the source code a and with me. Kindly bid if it is what you can do for me and let discuss about the project. Thanks
Requires experience in mt5 server api development I will provide relevant information about mt5 server api,Contains documentation, dll libraries and examples,Both c++ and c# are available. For more information please contact me
Hello there, I need a mql4 EA based on pine script custom indicator. You need to do pine script indicator convert into mt4 advisor. If you are able to do please contact. Thanks
Can you get my drafts to work? Have to conditions in RSI and Stoch oscillators ,,,I have a draft but its not run,, you can help me? if iRsi <30 ordersend op_sell iStoch > 80 ordersend op_sell Period_15M Send Orders_Buy limit Pivot Price Send Orders_Sell Limit Pivot Price
I recently bought an indicator, that sends out notifications for trades i need to place, on the notification these and SL and TP, so i want an EA that would automate that for me
CGG Bands 60+ USD
I need you to create a mt4 indicator that will work exactly like the Dark Bands indicator. The dark bands indicator is located in the market in codebase and is free
Hello great developer here am looking for expert developer will convert convert this Trading View Code to Mt4 Indicator and this is a simple indicator i will be expecting your bid peace be unto you
Using Bollinger Band only. When price closes above upper BB, open Buy. If the length of the candle body that closed above the upper BB is more than Y pips, then do not Buy and remove the EA. Otherwise, continue to open Buy if crosses and close above upper BB and the number of positions is not more than Max No of Positions. The user will choose either Buy or Sell only. When price closes below the lower BB, close all
Hello freelancers here, I need an expert to help me with coding my script which is already working in pinescript, Moreover, i want a system whereby i can sell my trading bot and can give access with a license, I need an expert that can help me with this
hello great developer Can you make a high/low ticker tape on a table for 100 stock symbols? As a symbol makes a high or low throughout the day, it will appear on the table. i will be expecting great developer to bid for this project

项目信息

预算
30 - 200 USD
截止日期
 5  10 天

客户

所下订单1
仲裁计数0