IStochastic trading EA

MQL5 Asesores Expertos

Trabajo finalizado

Plazo de ejecución 2 días
Comentario del Ejecutor
It was a pleasure to work with you! Hope for further cooperation
Comentario del Cliente
great work. flexible and masters the logical implementation.

Tarea técnica

Requirements
We use the below code (at the end) for generating Android notifications. We want to convert this Notification EA to a Trading EA ie instead of sending Android notifications we want the EA to do automated trading. We have the below requirements

1. The EA should be coded using MQL4
2. The EA should be timeframe independent and should run on any timeframe (1 min, 5min 15min etc)
3. EA should run once per candle at the candle start
4. EA should be able to run on Metatrader4 terminal ie compatible with Metatrader 4
5. EA/Script Should be able to be migrated to virtual server and run there
6. The EA should use default MQL4 stochastic indicator to initiate trades (iStochastic)
7. The below parameters should be defined by the user and they can change the value of any of these parameters at any time
• K period, D period and slowing period for the default MT4 stochastic indicator (iStochastic)
• The starttime: when the  EA should start trading everyday.
• The endtime: when the EA should liquidate any open position
• The lot size: the size of the order to be placed by the EA everytime. This should range from 0.01 to any possible higher number.

• The take profit pips: number of pips the EA should keep as a target for any trade opened by it. For buy orders it should be Orderprice+ take profit pips and for sell orders it will be Orderprice- take profit. If EUROUSD is at 1.08551 the on buy the take profit of 10 points will be 1.08651 and for sell order it will 1.8451

Conditions for trade

Entering the trade:

1. When the K line crosses over the D line the EA should place a buy order at market price for the specified lot size.
2. When the K line crosses under the D line the EA should place a sell order  at market price for the specified lot size.
3. At any time, by the above condition there will be only one order possible

Exiting the trade:
The long or short trades should be closed for below conditions
1. For buy order: The K line crosses under the D line ( at market price )or the take profit point whichever comes earlier
2. For sell order: The K line crosses over the D line ( at market price )or the take profit point whichever comes earlier
3. At the endtime the EA should close all trades and wait for the starttime to start trading again.

Payment Terms; to consider the product to be delivered successfully for payment I will test the script on the below cases
1. Customise the EA settings and Run the script on MT4 windows terminal on 1, 5, 15,30, min, 1 hour charts
2. Check if the migration to my virtual server of the charts along with the EA/Indicator works fine.
3. Check if the scrip is running fine on the Virtual server and perform the same trades
I will test the script on EUROUSD, 

Code used for reference (the developer need not use the same code if they have better way to implement the above functions.
#property version   "1.00"
#property strict
input int            MagicNumber  = 000;     //Magic Number
input int            k_period     = 14;       //Stochastic K Period
input int            d_period     = 3;        //Stochastic D Period
input int            slowing      = 3;        //Stochastic Slowing
input ENUM_MA_METHOD ma_method    = MODE_EMA; //Stochastic Moving Average Type
input int            price_field  = PRICE_CLOSE;        //Price field parameter. 0=Low/High or 1=Close/Close
input bool           SendNotification = TRUE;
double sto_main_curr,sto_sign_curr,sto_main_prev1,sto_sign_prev1,sto_main_prev2,sto_sign_prev2;
datetime TimeCurrent;
datetime LastActiontime;
//+------------------------------------------------------------------+
//| Expert initialization function                                   |
//+------------------------------------------------------------------+

void OnTick()
  {
if(LastActiontime!=Time[0]){
   sto_main_curr  = iStochastic (Symbol() ,PERIOD_CURRENT ,k_period ,d_period ,slowing ,ma_method ,price_field ,MODE_MAIN   ,0);
   sto_sign_curr  = iStochastic (Symbol() ,PERIOD_CURRENT ,k_period ,d_period ,slowing ,ma_method ,price_field ,MODE_SIGNAL ,0);
   sto_main_prev1 = iStochastic (Symbol() ,PERIOD_CURRENT ,k_period ,d_period ,slowing ,ma_method ,price_field ,MODE_MAIN   ,1);
   sto_sign_prev1 = iStochastic (Symbol() ,PERIOD_CURRENT ,k_period ,d_period ,slowing ,ma_method ,price_field ,MODE_SIGNAL ,1);
   sto_main_prev2 = iStochastic (Symbol() ,PERIOD_CURRENT ,k_period ,d_period ,slowing ,ma_method ,price_field ,MODE_MAIN   ,2);
   sto_sign_prev2 = iStochastic (Symbol() ,PERIOD_CURRENT ,k_period ,d_period ,slowing ,ma_method ,price_field ,MODE_SIGNAL ,2);
         
   {if ((sto_sign_prev2<sto_main_prev2) && (sto_sign_curr>sto_main_curr) && ((TimeHour(TimeCurrent())>1) && ((TimeHour(TimeCurrent())<21))))
              
   SendNotification("EURUSD 5MIN BEARISH");  
   }
   
   {if ((sto_sign_prev2>sto_main_prev2) && (sto_sign_curr<sto_main_curr) && ((TimeHour(TimeCurrent())>1) && ((TimeHour(TimeCurrent())<21))))
    
   SendNotification("EURUSD 5MIN BULLISH");  
    }
    LastActiontime=Time[0];  
  }
  }


Archivos adjuntos:

Han respondido

1
Desarrollador 1
Evaluación
(100)
Proyectos
125
23%
Arbitraje
12
0% / 75%
Caducado
22
18%
Libre
2
Desarrollador 2
Evaluación
(7)
Proyectos
12
8%
Arbitraje
3
0% / 67%
Caducado
4
33%
Libre
3
Desarrollador 3
Evaluación
(312)
Proyectos
521
47%
Arbitraje
30
10% / 47%
Caducado
139
27%
Libre
4
Desarrollador 4
Evaluación
(72)
Proyectos
80
10%
Arbitraje
38
8% / 58%
Caducado
6
8%
Libre
5
Desarrollador 5
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Libre
6
Desarrollador 6
Evaluación
(19)
Proyectos
33
55%
Arbitraje
5
80% / 20%
Caducado
3
9%
Libre
7
Desarrollador 7
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
8
Desarrollador 8
Evaluación
(54)
Proyectos
102
23%
Arbitraje
12
25% / 17%
Caducado
13
13%
Libre
Solicitudes similares
I'm looking for an experienced MQL5 developer to create a Opening Range Breakout EA. The EA should identify the high and low of a configurable trading session and open trades when price breaks out of this range. It should include configurable Stop Loss, Take Profit, fixed lot size, break-even option and trading hours. Full mq5 required
Matosfx 30 USD
Am called martin sselubiri I need a robot for trading forex and stock and I want know how this robot works and how much it costs for me to use it
My MQL5 Expert Advisor wins most trades with small profits, then suddenly takes one large loss that wipes out weeks of gains. This is the "picking up pennies in front of a steamroller" pattern. Required fix: Find the exact cause of the large losses in the code. Cap the loss on every trade with a fixed stop loss (no martingale or averaging down). Stop trading in dangerous conditions (high volatility, strong trends
AI Forex Trading Bot for MT4 and MT5 I need an advanced Forex trading robot (Expert Advisor) that works on both MetaTrader 4 and MetaTrader 5. The robot should automatically analyse the Forex market, identify BUY and SELL opportunities, and execute trades when the trading conditions are met. It should support GBPUSD, EURUSD, USDJPY and GBPJPY. The robot should use EMA, RSI, MACD, price action and trend analysis
Name: SteelEdge Platform: MetaTrader 5 (MQL5) Expert Advisor Instruments: XAUUSD, EURUSD, US30 Timeframe: H1 (inputs to change it) STRATEGY - Trend filter: buy only when price is above the 200 EMA, sell only when below - Entry: price pulls back to the 50 EMA and a bullish (buy) or bearish (sell) engulfing candle closes - Confirmation: RSI(14) above 50 for buys, below 50 for sells - Stop loss: 1.5 x ATR(14) - Take
I need an existing mt5 expert advisor that can been in trading for more than 12 months. The PF of the ea should not be less than 2.0 and be in profit in the last four months with average profit of not less than 20% per month. The Maximum drawdown should be less than 20% and Max deposit load less than 10%. Such ea should be able to trade with less than or equal to $300. Whats needed is .ex5 and source file is also
Ready to use MT5 bot 99 - 6990 USD
seller must provide the following to be considered... i will answer to all who fit this description, and can purchase more than 1 EA... - brief strategy description - overall EA expectancy - 1 week limited trial version, with whatever settings you consider best
I am a trader looking to acquire an existing, stable, and consistently profitable Expert Advisor (EA) specifically designed primarily for Gold (XAUUSD). This is an outright purchase. I am not interested in developing a new EA from scratch. I am only interested in ready-to-use systems with a genuine, verifiable track record of performance
Aziz Toure 50 - 400 USD
I am an independent trader and entrepreneur based in Côte d’Ivoire. I work in financial markets, analyze trading opportunities, and provide digital financial services. I am also interested in international trade, online business, and developing long-term business activities
SMC Bot Creation 350 - 550 USD
Hello, I am interested in developing a professional MT5 Expert Advisor similar in functionality and technical sophistication to your reference product, Institutional SMC Robot: https://www.mql5.com/en/market/product/187011 I want to develop my own independent EA based on advanced Smart Money Concepts (SMC), with a strong focus on institutional price action, liquidity and market structure. The key functionalities I

Información sobre el proyecto

Presupuesto
50+ USD
Plazo límite de ejecución
de 1 a 3 día(s)