Moving Average Step Indikator MT5

MQL5 Outros C++

Termos de Referência

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

Respondido

1
Desenvolvedor 1
Classificação
(6)
Projetos
9
11%
Arbitragem
5
40% / 20%
Expirado
2
22%
Livre
2
Desenvolvedor 2
Classificação
(290)
Projetos
362
30%
Arbitragem
37
27% / 65%
Expirado
10
3%
Carregado
Publicou: 10 códigos
3
Desenvolvedor 3
Classificação
(106)
Projetos
129
25%
Arbitragem
25
28% / 56%
Expirado
8
6%
Livre
4
Desenvolvedor 4
Classificação
(438)
Projetos
649
53%
Arbitragem
35
63% / 20%
Expirado
7
1%
Trabalhando
5
Desenvolvedor 5
Classificação
(369)
Projetos
459
55%
Arbitragem
24
58% / 17%
Expirado
31
7%
Livre
6
Desenvolvedor 6
Classificação
(16)
Projetos
35
23%
Arbitragem
4
0% / 50%
Expirado
2
6%
Trabalhando
7
Desenvolvedor 7
Classificação
(2676)
Projetos
3419
68%
Arbitragem
77
48% / 14%
Expirado
343
10%
Trabalhando
Publicou: 1 código
8
Desenvolvedor 8
Classificação
(23)
Projetos
45
20%
Arbitragem
25
28% / 48%
Expirado
12
27%
Livre
9
Desenvolvedor 9
Classificação
(632)
Projetos
740
34%
Arbitragem
49
53% / 39%
Expirado
15
2%
Trabalhando
10
Desenvolvedor 10
Classificação
(58)
Projetos
78
59%
Arbitragem
13
38% / 54%
Expirado
9
12%
Livre
11
Desenvolvedor 11
Classificação
(1)
Projetos
1
100%
Arbitragem
0
Expirado
0
Livre
12
Desenvolvedor 12
Classificação
(7)
Projetos
8
13%
Arbitragem
6
33% / 33%
Expirado
0
Livre
13
Desenvolvedor 13
Classificação
Projetos
2
0%
Arbitragem
4
25% / 75%
Expirado
1
50%
Livre
14
Desenvolvedor 14
Classificação
Projetos
1
0%
Arbitragem
1
100% / 0%
Expirado
0
Livre
15
Desenvolvedor 15
Classificação
(45)
Projetos
91
13%
Arbitragem
34
26% / 59%
Expirado
37
41%
Livre
Pedidos semelhantes
Hi, I need NinjaTrader 8 Strategy Analyzer backtests on two of my strategies, each over 1 year AND 3 years of data. Please quote the full job. Common settings: NT8 Strategy Analyzer, MCL (Micro WTI Crude Oil) continuous front-month contract (MCL ##-##), 5-minute bars, 1yr + 3yr of the most recent data, $2.50 round-turn commission per contract. Deliverables per run: full Strategy Analyzer summary (net profit, profit
Scalping bort 30+ USD
GOLD SCALPING BOT STRATEGY Symbol: XAUUSD (Gold vs USD) Broker: Exness Account: Standard Starting Balance: $20 1. TIMEFRAME - Trend analysis: M15. - Entry timeframe: M5. - Trade only when the market has a clear direction. 2. INDICATORS - EMA 50 - EMA 200 - RSI 14 - Support and Resistance 3. BUY RULES The bot must open a BUY trade only when all these conditions are met: 1. EMA 50 is above EMA 200 on M15. 2. Price is
Request for an Existing Automated Trading System (Expert Advisor) I am looking to acquire an existing, fully functional Expert Advisor (EA) that trades Forex CFDs, with the option of trading other CFDs if the strategy supports them safely. Performance objectives Target average net monthly return: 1.5%. A consistent 1.0% monthly return may be considered if the system demonstrates strong risk control and credible
Are you able to build one bot for stock and one for ninja trader and tell me the win rate on it. I need ninja trader bot that enter buy and exit according the move to do not stay long in the market in each entry . That can follow the smart money concept or other if you have a good one
i need someone to help me create 3 random tradingview strategy i need it for a test, i need it to have 5% to 20% win rate and 1:1 RR, the win rate is very important is the main thing i need those strategy for, i am planning on building a tradingview strategy and i need this 3 tradingview strategy first they are for test on my plans to build the main tradingview strategy, also for he 3 i have a fixed budget of $30 for
Trading bot ea 30+ USD
yoo i want to make a trading bot i have my strategy in videos and also the rules to if anyone can work it out for me i will be glad welcome your bid and it urget let connect here on mgl5 And if you know you can not do the project without getting paid first please don't bid thanks
i have indicator for Trading View, also copy for NT, i need someone to improve and check the NT version (indicator is simple is volume density koncept)…. when i put same settings on TV version and NT version i have diffrerent results, but this can be because diffrent market data or fact that TV sending tick info in blocks , not tick by tick like NT8 on both. I(ndicator base on counting volume) so besied that is it
Please may someone assist me with the indicator attached, it has a SERIOUS BUG issue in the sense that when I load it, and activate the template (attached as well) MT4 ALWAYS freezes and then eventually disconnects automatically, ALL THE TIME. It even gets worse to an extent that after disconnecting a number of times mt4 ends up not loading anymore, UNTIL I remove the indicator. Please I WILL NEED A DEMO (FOR A DAY)
Should be as it but no alarms, also we need to add a deep search so he can see all the preves candles and a memory function so its not slowing down the indicator. for higher time frames daily 4h 1h around 365 days and for lower time frames we do up to 20k bars but both flexible so i can change it later. the memory is important so the indicator is not always recalculating everything when a new candle shows especially
Creating a bot using the Parabolic indicator with a simple interface.. I want a bot that uses the Parabolic SAR indicator only, with these orders attached to it. Boot name : HEMIN .FX Magic number : 000000 …………………………………………………. Trade behavior : regular OR inverse OR only long "buy" OR only short "sell" Timeframe : ………… Period: ……… ………………………………………………….. Lot size : ……………… Break even in points : …

Informações sobre o projeto

Orçamento
30 - 200 USD
Prazo
de 5 para 10 dias