MT4 to MT5 MONOWAVE INDICATOR

MQL5 Converting

Job finished

Execution time 7 minutes
Feedback from employee
very nice customer!

Specification

I need the conversion of this indicator to MT5. 
it is said to measure Neely´s monowaves - great to find reversion/pullback. I got used with it with MT4. great info it give. 

/*
   Generated by EX4-TO-MQ4 decompiler V4.0.224.1 []
*/
#property copyright "©2323, Eris&Metis"
#property link      "http://www.23eris23.com"

#property indicator_separate_window
#property indicator_buffers 4
#property indicator_color1 Tomato
#property indicator_color2 DeepSkyBlue
#property indicator_color3 DodgerBlue
#property indicator_color4 RoyalBlue

extern int Width = 3;
extern color Color1 = Tomato;
extern color Color2 = DeepSkyBlue;
extern color Color3 = DodgerBlue;
extern color Color4 = RoyalBlue;
double g_ibuf_96[];
double g_ibuf_100[];
double g_ibuf_104[];
double g_ibuf_108[];

int init() {
   SetIndexBuffer(0, g_ibuf_96);
   SetIndexStyle(0, DRAW_LINE, EMPTY, Width, Color1);
   SetIndexDrawBegin(0, 3);
   SetIndexLabel(0, "WP5");
   SetIndexBuffer(1, g_ibuf_100);
   SetIndexStyle(1, DRAW_LINE, EMPTY, Width, Color2);
   SetIndexDrawBegin(1, 3);
   SetIndexLabel(1, "WP8");
   SetIndexBuffer(2, g_ibuf_104);
   SetIndexStyle(2, DRAW_LINE, EMPTY, Width, Color3);
   SetIndexDrawBegin(2, 3);
   SetIndexLabel(2, "WP13");
   SetIndexBuffer(3, g_ibuf_108);
   SetIndexStyle(3, DRAW_LINE, EMPTY, Width, Color4);
   SetIndexDrawBegin(3, 3);
   SetIndexLabel(3, "WP21");
   SetLevelValue(0, -89.0);
   SetLevelValue(1, -11.0);
   SetLevelValue(2, -40.0);
   SetLevelValue(3, -60.0);
   SetLevelStyle(0, 1, DimGray);
   return (0);
}

int deinit() {
   Comment("");
   return (0);
}

int start() {
   int l_str2time_0 = StrToTime("2010.04.30");
//   if (TimeCurrent() >= l_str2time_0) return (0);
   int l_ind_counted_4 = IndicatorCounted();
   int li_12 = Bars - l_ind_counted_4;
   for (int li_8 = 0; li_8 <= li_12; li_8++) {
      g_ibuf_96[li_8] = NormalizeDouble(iWPR(NULL, 0, 5, li_8), 5);
      g_ibuf_100[li_8] = NormalizeDouble(iWPR(NULL, 0, 8, li_8), 5);
      g_ibuf_104[li_8] = NormalizeDouble(iWPR(NULL, 0, 13, li_8), 5);
      g_ibuf_108[li_8] = NormalizeDouble(iWPR(NULL, 0, 21, li_8), 5);
   }
   return (0);
}

Files:

MQ4
Ragnarck.mq4
2.0 Kb

Responded

1
Developer 1
Rating
(108)
Projects
126
35%
Arbitration
6
0% / 67%
Overdue
2
2%
Free
Published: 25 codes

Project information

Budget
80+ USD