I need to convert the attached indicator to expert

MQL4 Experts

Trabalho concluído

Tempo de execução 18 dias

Termos de Referência

i need to convert the attached indicator to expert 


#property copyright "Muhammad Al Bermawy"
#property link      "http://www.tahlilfany.com"

#property indicator_chart_window
#property indicator_buffers 2
#property indicator_color1 Green
#property indicator_color2 Red
#property indicator_width1 2
#property indicator_width2 1

extern int MA_1_Bars = 20;
extern int MA_2_Bars = 5;

double MA_1[];
double MA_2[];

//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int init()
  {
//---- indicators buffer used in calculation
   IndicatorBuffers(2);
   SetIndexBuffer(0,MA_1);
   SetIndexBuffer(1,MA_2);
  
  
//----indicator drawing style
   SetIndexStyle(0,DRAW_LINE);
   SetIndexStyle(1,DRAW_LINE,2);
  
  
//----Data window & Index Label  
   SetIndexLabel(0,"MA");
   SetIndexLabel(1,"Signal");
  
   
//----indicator begin & digit number used at calculation
    SetIndexDrawBegin(0,1);
    IndicatorDigits(MarketInfo(Symbol(),MODE_DIGITS));
      
//----
   return(0);
  }
 
  //+------------------------------------------------------------------+
//| Custom indicator deinitialization function                       |
//+------------------------------------------------------------------+
int deinit()
  {
//----
  
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int start()
  {
   int   limit;
   int    counted_bars=IndicatorCounted();
  
//---- check for errors
  if(counted_bars<0) return(-1);
 
//---- recount the last Bar
  if(counted_bars>0) counted_bars--;
  limit=Bars-counted_bars;
 
//--- main loop

  for(int  ii=0; ii<limit;ii++)
  MA_1[ii] = iMA(NULL,0,MA_1_Bars,0,MODE_LWMA,PRICE_CLOSE,ii);
 
 
  for(int  i=0; i<limit;i++)
  MA_2[i] =  iMAOnArray(MA_1,0,MA_2_Bars,0,MODE_LWMA,i);
 
   
                                                          


//----
   return(0);
  }
//+------------------------------------------------------------------+ 

Arquivos anexados:

Respondido

1
Desenvolvedor 1
Classificação
(2422)
Projetos
3042
66%
Arbitragem
77
48% / 14%
Expirado
340
11%
Trabalhando
2
Desenvolvedor 2
Classificação
(5)
Projetos
19
26%
Arbitragem
6
17% / 83%
Expirado
6
32%
Livre
3
Desenvolvedor 3
Classificação
(548)
Projetos
1330
59%
Arbitragem
28
82% / 0%
Expirado
10
1%
Livre
4
Desenvolvedor 4
Classificação
(2077)
Projetos
2636
61%
Arbitragem
113
45% / 26%
Expirado
418
16%
Trabalhando
Pedidos semelhantes
I have an EA and want to add few new logic to fetch profit taking factors and other values from an external master data and use it in existing EA
Hello Every one, Good day, I want from someone professional to create an EA is working on Mt5, This EA is working by depend on some indicators, and all those indicators must be working on MACD window, not on the chart, for more details please read my attached pdf file carefully. Many Thanks
I'm looking for an expert MQL5 developer that can create an EA that's based on my price action trading strategy with no indicators. The EA must analyze trades based on my price action rules, enter trades based on my price action rules, manage trades based on my price action rules and exit trades based on my price action rules
hi hi there i have an strategy on tradingview and i want to automate it like metatrader EA so i want the strategy to open and close trade automaticlly on tradingview
We are looking for an experienced Expert Advisor Developer who can build a customized MT5 Expert Advisor for us. The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform. Skills required: - Strong understanding of
I need stochastic div (hidden &regular ea) that should perform task in all tf's ..divergence is a repaint stly so i want to use it with candlestick flips .. so bet for it
Hello, I have an indicator from a friend and I'd like to replicate it on my own TradingView or MT5 platform. Could you assist me with that?. Here is the link
so basically I have an EA(mql5), AI script(python), flask server and socket server both on python. Now this is an experimental script as I am trying to learn. However the EA is not entering any trades. How much would it cost for you to troubleshoot this for me? Thank you in advance
NEW FUNCTION 50+ USD
La idea es la siguiente, sería un EA semi automático. Yo como trader opero en zonas. En adelante las vamos a denominar ``zonas calientes´´. El EA debe que necesito debe operar conforme a 4 zonas calientes que yo configure en el mismo. ¿Qué hará el EA en cada una de esas zonas calientes que yo he configurado? En cada una de estas zonas el EA debe realizar hedging (crear un rango en el cual el EA entrara en sell o en
I have the bot just over half made, from another developer who let me down and decided they no longer wished to finish the project, so I have a basic example of the fundamentals of what it could look like, although multiple functions I require do not work, but I can show this to you on request. There are multiple features that I require, so please read the in depth requirement sheet on the attachment. Function: To

Informações sobre o projeto

Orçamento
10 - 15 USD
Desenvolvedor
9 - 13.5 USD
Prazo
de 1 para 2 dias