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
(337)
Projects
624
38%
Arbitration
39
23% / 64%
Overdue
93
15%
Free
Published: 4 articles, 19 codes
2
Developer 2
Rating
(10)
Projects
18
61%
Arbitration
1
0% / 100%
Overdue
6
33%
Free
Similar orders
Hey there, I’m looking to get a custom NinjaTrader indicator/plugin/tool developed. It’s very similar to Riley Coleman’s “Candlestick Trader” indicator (you can see a walkthrough of it in this YouTube video at timestamp 6:52: https://www.youtube.com/watch?v=NjCUZveXtLo&amp ;t=303s ). Please take a look at that video for reference, as I’d like most of the core features replicated. To summarize, the key functions I
Requirement 1: Name - Template Blue/Grey v1.0 I need a template for MT5 and TradingView Charts. The coloring should look exactly similar to the attached screenshot. ============================================================== Requirement 2: For the below, coloring from Requirement 1 should be followed. Name - Candle Imbalance Detector v1.0 I need an indicator that can detect an imbalance candles on the chart. This
Hi, I have an EA, which places limit order by reading the text file. EURJPY, SELL, 171.74263, 171.80196, 29/08/2025, 16:15, 29/08/2025, 17:15, 0.05932, 171.59432, 1.24 The above one is the format of the text file which the EA reads/ BIAS PRICE SL PRICE CREATE DATE CREATE TIME EXPIRY DATE EXPIRY TIME SL PIPS TP LOT SIZE Now, I am in need of another variable named: Delete Price This will be the next one in the same
Здравствуйте! Требуется интегрировать свою стратегию, основанную на индикаторе KST (KNOW SURE THING), в торгового бота, купленного на criptorobotics.Также необходимо проверить стратегию на исторических данных. Ответ от criptorobotics ... " ...если у вас есть своя стратегия на TradingView или в любой другой системе, вы можете создать на нашей платформе собственного робота за пару минут и отправлять в него сигналы по
I have a indicator and want EA bot which can take buy and sell order and manage risk of 1% in end of the day and I want to set profit targets also but I want this mainly for prop firms account so risk management and money management are the main factors
Job Title: MQL4 Developer Needed – EA Editing & Licensing (Ongoing Partnership) Description: I’m looking for an experienced MQL4 developer to work with me on an ongoing basis. I already have multiple EAs and I need someone who can: Add a licensing system (account/expiry restrictions, etc.) Edit and improve existing EAs based on my requirements Provide reliable, ongoing support for future projects I’m offering access
A coder with experience in Coding indicator to ea and fixing telegram bot message The EA has two indicators installed with two strategy for open trade This will be explained in the document that will be provided The task in summary Remove two of the indicator and replace it with Two indicators i will provide Now we will have three optional indicators installed for opening trade The telegram work initially but i need
I am looking for an experienced Pine Script developer to fix several specific bugs in a, custom TradingView indicator. The core logic of the indicator is already built, but it has a few functional issues that need to be resolved
Hey, I need someone to troubleshoot and fix my current Breakout EA. Shouldn't take too long to fix, work ist mostly already done. The strategy is clear and simple, but some things don't work like they should: - Optimization / Backtesting problems, trades are not closing as they are supposed to at their desired time - Check my inbuilt Randomization features (I doubt they are working correctly) - Info Panel needs some
PLEASE PLEASE!!! I NEED A PERSON WITH EXPERIENCE WHO WILL PERFECT THE BELO AND NOT A NEWBIE...I NEED SOMEONE WHO ALSO HAS DONE A LOT OF PROJECTS AND HAS A PERFECT CLIENT REVIEW. have sent the script and the bheuresko pattern indicator as well as the image of the script and indicator (below). The script is the image showing the arrows written ENTRAR and the Bheuresko pattern is the one written bullish engulfing and

Project information

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