Turn MT4 Indi into MT4 EA

Indikatoren Experten

Auftrag beendet

Ausführungszeit 17 Stunden
Bewertung des Kunden
Very good, fast work. Will use again in future.

Spezifikation

#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.

Bewerbungen

1
Entwickler 1
Bewertung
(337)
Projekte
624
38%
Schlichtung
40
23% / 65%
Frist nicht eingehalten
93
15%
Frei
Veröffentlicht: 4 Artikel, 19 Beispiele
2
Entwickler 2
Bewertung
(10)
Projekte
18
61%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
6
33%
Frei
Ähnliche Aufträge
I have a High-Frequency Trading EA and I need a full conversion and optimization for MT5. The goal is to ensure stable execution and reliable performance on real accounts (IC Markets Raw and similar ECN brokers). I need an experienced and reputable MQL5 developer to: Convert the existing strategy to MT5 with full fidelity to the original trading logic (entries, SL, breakeven, trailing, pending orders). Optimize the
I need a professional MT5 Expert Advisor (fully automated trading robot) for scalping on M1 timeframe. 1. General Requirements Platform: MetaTrader 5 Type: Fully automated EA (no manual confirmation) Timeframe: M1 only Symbols: XAUUSD, BTCUSD, USDCAD Must support running on multiple charts simultaneously Clean, optimized, and low-latency execution logic 2. Strategy Logic (Scalping Model) The EA should use: Trend +
Hello, I'll be willing to pay upto 1000$ depending on the quality of the final product. This job includes bringing a strategy as well as coding it (or something ready made) I’m looking for a reliable indicator that places buy/sell signals directly on the chart. The key requirement is that signals must appear only after candle close and must not repaint under any condition. From an accurcy perspective we can discuss
I would like to create a robot with the smart money concepts, that integrates order block,FVG,supply & demand ,read the market structure,liquidity and also trade with the session and also after a liquidity sweep a market structure is needed to verify the reversal and a retracement to the order block and sometimes fair value Gap
Minor Update in EA 30 - 50 USD
I Have an EA, which reads the files from common folder and takes trades. Kindly note: My coder is from Iran and I am unable to reach him for the last few days and that’s why I am looking for someone who can help me out. 1. File handling issue when invalid lot size WWhen EA couldn’t take trades due to invalid lot size, it prints logs continuously. You just need to print the log once and send the file to the
Se requiere de un programador para modificar asesor experto de estrategia de ruptura. El EA realiza operaciones por quiebre de rango pero por operaciones de Orden de Mercado ( Ejecuta una operación de compra o venta inmediatamente al precio actual del mercado) y requiero cambiarlo a que realice operaciones de Orden P extremos. Adicional, requiere que se realice un filtro para entrar de nuevo al mercado en caso de
Here is the clean final summary of your Confluence Alignment Indicator: 📊 Confluence Alignment Indicator – Final Logic 🔒 Mandatory Filters (Must Be True) These do NOT count toward score. They only allow scoring to activate. 1️⃣ Bid Ratio – Must confirm direction. 2️⃣ CSI – Must NOT be strongly against the trade. Does not need to support. Only blocks if strongly opposite. If either fails → No signal, score ignored
Ai robot 30 - 50 USD
1️⃣ System Architecture An AI robot typically consists of the following subsystems: 🔹 1. Perception Layer Collects environmental data using: RGB / Depth cameras LiDAR Ultrasonic sensors IMUs (Inertial Measurement Units) Microphones Data is processed using: Computer Vision (e.g., object detection, SLAM) Signal processing Sensor fusion algorithms 🔹 2. Cognition / Intelligence Layer Implements AI models such as
Looking for a programmer that can code for sierra chart. I just need a simple indicator that draws a rectangle box as key levels for me. This will involve volume profile and delta profile. You must have knowledge of sierra chart and have coded for sierra chart before. Thanks
What informtion would you need for Ninjatrader futures automated trading and how long would it take ? if anyone can give me answer i will be happy to discuss more about the project thanks fill free to bid to the project thanks

Projektdetails

Budget
10 - 30 USD
Ausführungsfristen
von 1 bis 3 Tag(e)