Turn MT4 Indi into MT4 EA

Indicators Experts

Job finished

Execution time 17 hours
Feedback from customer
Very good, fast work. Will use again in future.

Specification

#property indicator_chart_window
#property indicator_buffers 2
#property indicator_color1 Red
#property indicator_color2 LimeGreen
//----
extern bool Show_Alert = true;
//---- buffers
double upArrow[];
double downArrow[];
string PatternText[5000];
//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int init() 
  {
   SetIndexStyle(0, DRAW_ARROW, 0, 1);
   SetIndexArrow(0, 234);
   SetIndexBuffer(0, downArrow);      
//----
   SetIndexStyle(1, DRAW_ARROW, 0, 1);
   SetIndexArrow(1, 233);
   SetIndexBuffer(1, upArrow);
      
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function                       |
//+------------------------------------------------------------------+
int deinit() 
  {
   ObjectsDeleteAll(0, OBJ_TEXT);
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int start()
  {
   double Range, AvgRange;
   int counter, setalert;
   static datetime prevtime = 0;
   int shift;
   int shift1;
   int shift2;
   int shift3;
   int shift4;   
 
   double mid1, mid2, mid3, mid4, shift1percent, V1, V2;   
   
   string pattern, period;
   int setPattern = 0;
   int alert = 0;
   int arrowShift;
   int textShift;
   double O, O1, O2, C, C1, C2, L, L1, L2, H, H1, H2;     
//----
   if(prevtime == Time[0]) 
     {
       return(0);
     }
   prevtime = Time[0];   
//----
   switch(Period()) 
     {
       case 1:     period = "M1";  break;
       case 5:     period = "M5";  break;
       case 15:    period = "M15"; break;
       case 30:    period = "M30"; break;      
       case 60:    period = "H1";  break;
       case 240:   period = "H4";  break;
       case 1440:  period = "D1";  break;
       case 10080: period = "W1";  break;
       case 43200: period = "MN";  break;
     }
//----
   for(int j = 0; j < Bars; j++) 
     { 
       PatternText[j] = j;
     }
//----
   for(shift = 0; shift < Bars; shift++) 
     {
       setalert = 0;
       counter = shift;
       Range = 0;
       AvgRange = 0;
       for(counter = shift; counter <= shift + 9; counter++) 
         {
           AvgRange = AvgRange + MathAbs(High[counter] - Low[counter]);
         }
       Range = AvgRange / 10;
       shift1 = shift + 1;
       shift2 = shift + 2;
       shift3 = shift + 3;      
       shift4 = shift + 4;        
       mid1 = Low[shift1]+((High[shift1]-Low[shift1])/2);
       mid2 = Low[shift2]+((High[shift2]-Low[shift2])/2);
       mid3 = Low[shift3]+((High[shift3]-Low[shift3])/2);
       mid4 = Low[shift4]+((High[shift4]-Low[shift4])/2);                     
       shift1percent = (High[shift1]-Low[shift1])/100 ;
       O = Open[shift1];
       O1 = Open[shift2];
       O2 = Open[shift3];
       H = High[shift1];
       H1 = High[shift2];
       H2 = High[shift3];
       L = Low[shift1];
       L1 = Low[shift2];
       L2 = Low[shift3];
       C = Close[shift1];
       C1 = Close[shift2];
       C2 = Close[shift3];  
       
       V1 = Volume[shift1];
       V2 = Volume[shift2];     


       if((mid1 < mid2) && (mid1 < mid3) && (mid1 < mid4) && (C < (mid1-1*shift1percent)) && (V1 > V2) && (O > C) )
         {
           //    ObjectCreate(PatternText[shift], OBJ_TEXT, 0, Time[shift1], 
           //                 High[shift1] + Range*1.5);
           //    ObjectSetText(PatternText[shift], DoubleToStr(V2,5), 10, 
           //                  "Times New Roman", Red);
               downArrow[shift1] = High[shift1] + Range*0.5;
        
           if(setalert == 0 && Show_Alert == true) 
             {
               pattern = "Down Jump Bar";
               setalert = 1;
             }
         }

     

       if((mid1 > mid2) && (mid1 > mid3) && (mid1 > mid4) && (C > (mid1+1*shift1percent)) && (V1 > V2) && (O < C) )
         {
           //    ObjectCreate(PatternText[shift], OBJ_TEXT, 0, Time[shift1], 
           //                 High[shift1] + Range*1.5);
           //    ObjectSetText(PatternText[shift], DoubleToStr(V2,5), 10, 
           //                  "Times New Roman", Red);
               upArrow[shift1] = Low[shift1] - Range*0.5;
        
           if(setalert == 0 && Show_Alert == true) 
             {
               pattern = "Up Jump Bar";
               setalert = 1;
             }
         }
         
  
       if(setalert == 1 && shift == 0) 
         {
           Alert(Symbol(), " ", period, " ", pattern);
           setalert = 0;
         }
     } // End of for loop
   return(0);
  }
//+------------------------------------------------------------------+
Looking to turn this Indi into an EA. EA enters trade when an opposing arrow is formed, red down arrow is a sell trade, green up arrow a buy trade. Stop loss is placed above/below recent high/low. EA will exit a trade when an opposing arrow is formed to that of the direction of the trade and trade in the opposite direction. Take Profits will be handled manually. Lot size will be equal to 1% of Equity/Stop loss pips. Please let me know if you need further information. MW.

Responded

1
Developer 1
Rating
(336)
Projects
620
38%
Arbitration
39
23% / 64%
Overdue
93
15%
Free
2
Developer 2
Rating
(10)
Projects
18
61%
Arbitration
1
0% / 100%
Overdue
6
33%
Free
Similar orders
An EA that executes when the 21 and 55 SMA Cross on certain time frame also the EA will understand supply and demand levels and executes when price reacts on this levels specified and target/stoploss levels will be predetermined...also the robot will also comprise stochastic oscillator
Indicator MT5 from Pine Script 5 (TradingView) indicators Request: Develop 1 Indicator mql5 from 2 TV (Pine script 5) indicators Get only basic features, I just need to get values in Copybuffer() for mql5 expert. Total MT5 indicator: 4 levels in the chart + 1 oscillator (line/histogram) =================================== TV Indicator 1: Smart Money Concepts Just get High/low levels from internal/externals (smaller /
I have a full code ,, There are some errors in this.It does not add to the chart, does not show arrow marks, does not alert ,, fix this problem and work properly,, Contact on telegram @Gw_rakib1
Starting from scratch, I need a solution to develop my own crypto trading and exchange platform. This platform should compare prices across various exchanges like Coinbase, Binance, KuCoin, and Unocoin, as well as different cryptocurrencies. The solution must identify opportunities to buy on one platform and sell on another for a profit, transferring funds to my personal wallet instantly for security. The bot should
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 have an indicator i will like to view in form of dashboard across various timeframes, i also will like a push notifications alert feature that will appear on my mt4 mobile to keep track of my trading pairs
Need a dashboard, which can monitor up to 30 selected pairs in selected time frames. It monitors AO, MACD and stochastic. In the cells of dashboard, if AO is positive in the relevant symbol/tf, it writes "UP". When one of AO is above 0 level AND Stochastic is in OS zone it writes "UPUP". When AO is above 0 and when stochastics is oversold minimum of two times,it will alert UPU2 if AO is negative below 0 in the
Looking for custom strength indicators I can add to my EA. An indicator that can measure the strength of buyer and sellers. Please show me what you have, thank you
Modify Indicator 30 - 40 USD
I need an expert who can assist me in modifying an open source PineScript indicator code to add additional features. Only applicants with prove of work should apply for more discussion
Hello i need an expert who can help me modify an open source PineScript indicator code to add additional features. ONLY EXPERT WITH PROVE OF WORK SHOULD CONTACT FOR FURTHER DISCUSSION ON THE PROJECT

Project information

Budget
10 - 30 USD
For the developer
9 - 27 USD
Deadline
from 1 to 3 day(s)