Modify MT4 TD sequence to MT5 TD sequence

MQL5 Göstergeler

İş tamamlandı

Tamamlanma süresi: 4 dakika
Geliştirici tarafından geri bildirim
Thank you for this job!
Müşteri tarafından geri bildirim
速度快 服务好 非常不错!

İş Gereklilikleri

//+------------------------------------------------------------------+
//| TD Sequential.mq4                                                |
//| Copyright ?2004, MetaQuotes Software Corp.                      |
//| http://www.metaquotes.net                                        |
//+------------------------------------------------------------------+
#property copyright "James OBrien"
#property link "http://www.metaquotes.net"
//----
#property indicator_chart_window
#property indicator_buffers 1
#property indicator_color1 LimeGreen
//#property indicator_color2 Red
//---- input parameters
//int shift=0;
int i;
int num=0;
int num1=0;
string textVar;
//---- buffers
double ExtMapBuffer1[];
//double ExtMapBuffer2[];
//double b4plusdi,b4minusdi,nowplusdi,nowminusdi;
//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int init()
  {
//---- indicators
   SetIndexStyle(0,DRAW_ARROW);
   SetIndexArrow(0,159);
   SetIndexBuffer(0, ExtMapBuffer1);
/*
SetIndexStyle(1,DRAW_ARROW,EMPTY);
SetIndexArrow(1,234);
SetIndexBuffer(1, ExtMapBuffer2);
*/
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| Custor indicator deinitialization function                       |
//+------------------------------------------------------------------+
int deinit()
  {
//---- TODO: add your code here
   int limit;
   limit=1500;
   for(int i=limit; i>=0; i--)
     {
      ObjectDelete(""+i);
     }
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int start()
  {
   int limit;
   int counted_bars=IndicatorCounted();
//---- check for possible errors
   if(counted_bars<0) return(-1);
//---- last counted bar will be recounted
   if(counted_bars>0) counted_bars--;
   limit=1500-counted_bars;
//---- macd counted in the 1-st buffer
   for(int i=limit; i>=0; i--)
     {
      if(Close[i+1]<Close[i+5])num=num + 1;
      else num=0;
        if (num > 0 && num < 10) 
        {
         textVar=num;
         ObjectCreate(""+i, OBJ_TEXT, 0, Time[i+1],Low[i+1]-5*Point );
         ObjectSetText(""+i, ""+DoubleToStr(num,0), 10, "Arial", Red);
        }
        if (num==9) 
        {
         ObjectCreate(""+i, OBJ_TEXT, 0, Time[i+1],Low[i+1]-5*Point );
         ObjectSetText(""+i, ""+DoubleToStr(num,0), 16, "Arial", Red);
        }
      else if((Close[i+1]<Close[i+5])&& num>=10)
           {
            ObjectCreate(""+i, OBJ_TEXT, 0, Time[i+1],Low[i+1]-5*Point );
            ObjectSetText(""+i, ""+DoubleToStr(num,0), 10, "Arial", Orange);
           }
      if(Close[i+1]>Close[i+5]) num1=num1 + 1;
      else num1=0;
//----
      if (num1 > 0 && num1 < 10)
        {
         textVar=num1;
         ObjectCreate(""+i, OBJ_TEXT, 0, Time[i+1],High[i+1]+10*Point );
         ObjectSetText(""+i, ""+DoubleToStr(num1,0), 10, "Arial", RoyalBlue);
        }
        if (num1==9) 
        {
         ObjectCreate(""+i, OBJ_TEXT, 0, Time[i+1],High[i+1]+10*Point );
         ObjectSetText(""+i, ""+DoubleToStr(num1,0), 16, "Arial", RoyalBlue);
        }
      else if((Close[i+1]>Close[i+5])&& num1>=10)
           {
            ObjectCreate(""+i, OBJ_TEXT, 0, Time[i+1],High[i+1]+10*Point );
            ObjectSetText(""+i, ""+DoubleToStr(num1,0), 10, "Arial", LightSkyBlue);
           }
     }
//----
   return(0);
  }
//+------------------------------------------------------------------+

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(192)
Projeler
232
30%
Arabuluculuk
1
100% / 0%
Süresi dolmuş
9
4%
Serbest
2
Geliştirici 2
Derecelendirme
(137)
Projeler
167
35%
Arabuluculuk
11
91% / 0%
Süresi dolmuş
0
Serbest
3
Geliştirici 3
Derecelendirme
(336)
Projeler
620
38%
Arabuluculuk
39
23% / 64%
Süresi dolmuş
93
15%
Serbest
Benzer siparişler
I am looking for a programmer to do EA trader. If you can understand what I want from the video i do and you can do it, contact me because you will be able to do what I want. https://drive.google.com/file/d/1wbHxbUQQqCkdpr0-pHfIh2b288LzYTV2/view?usp=sharing
I wish an indicator that can import data from the websites below: https://www.fastbull.com/speculative-sentiment?textType=1&amp ;id=-1 https://www.fxblue.com/market-data/tools/sentiment After importing the data. I want the developer to create a simple text dashboard showing at least the major pairs in Forex with the correspondent sentiment from each website. The format of the dashboard or its visual aspects do not
hello, i have indicator to modification. it was not code based on my rules. after testing i see 2 modification to introduce. 1st modification concerns wrong marked tops and bottoms when outside bar is 2nd modifiation concerns update. it schould be update after close candle. now there is not working that. full description is in attached file
1. Display Swap List on Chart. 2. Display Swap Price in Usd. 3. Sort Highest to Lowest. Similiar below, but include Swap Price for Long/Short and Sort Highest to Lowest Swap Rates in usd
Smart trend indicator 30 - 72 USD
I'm looking for a math smart programmer to make a smart indicator . I'm looking for rare and passionate math programmer to make an mq4 indicator code the indicator is based only on price action .Max mathematical precision is required
I have a EA and A Indicator I want to upgrade with some new features I want to add to the Indicator And The EA Also there is a memory error in the system that is showing up in the journal after the ea is ran on multiple charts I will need to get this fixed as well Indicator is 528 lines of code EA is 703 lines of code Indicator Changes I want to change the indicator The Moving Average Ribbon I want to Add a input to
Hello there, I'm looking for an experienced developer to convert a TradingView indicator script into an MT4 (MetaTrader 4) compatible format. The script, written in Pine Script version 5, includes custom indicators and graphical elements such as lines, boxes, and labels that we need to be accurately replicated in MT4. Check the attached file below
1-adding new multi time frames working with different magic number (10 more EA working with different magic number ) all times frames working on the main parameters the different is the magic number for each. each time frame work separate parameters: time frame 1 (true/false) (timeframe) (magic number) time frame 2 (true/false) (timeframe) (magic number) time frame 3 (true/false) (timeframe) (magic number) time
I would like to convert the attached pine script code to MT5. The job is to convert a pine script indicator to MT5 indicator. The indicator is a modification of the popular WAVE TREND Indicator by LazyBear. As a question, I would like to know if after completion of the job, I will have access to the code
Please make changes to the indicator am supplying in accordance to the specifications am attaching herewith please. Most indicator is already programmed and working well and I need the specific one handled please. Thanks

Proje bilgisi

Bütçe
30+ USD
Geliştirici için
27 USD