IStochastic trading EA

MQL5 Experts

Job finished

Execution time 2 days
Feedback from customer
great work. flexible and masters the logical implementation.
Feedback from employee
It was a pleasure to work with you! Hope for further cooperation

Specification

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];  
  }
  }


Files:

Responded

1
Developer 1
Rating
(100)
Projects
125
23%
Arbitration
12
0% / 75%
Overdue
22
18%
Free
2
Developer 2
Rating
(7)
Projects
12
8%
Arbitration
3
0% / 67%
Overdue
4
33%
Free
3
Developer 3
Rating
(312)
Projects
521
47%
Arbitration
29
10% / 45%
Overdue
139
27%
Working
4
Developer 4
Rating
(72)
Projects
80
10%
Arbitration
38
8% / 58%
Overdue
6
8%
Free
5
Developer 5
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
6
Developer 6
Rating
(19)
Projects
33
55%
Arbitration
5
80% / 20%
Overdue
3
9%
Free
7
Developer 7
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
8
Developer 8
Rating
(54)
Projects
102
23%
Arbitration
12
25% / 17%
Overdue
13
13%
Free
Similar orders
Hello Muzaffar, I am inquiring about trading robot for my Gold trading scalping, Day trading and swing trading, could you develop this kind of trading robot, if its yes how long it will take you to deliver and how much will it cost? I would appreciate your response, Kind Regards, Ahmed
Hello developers, I’m looking for a professional trading bot that works using pending orders only (Buy Stop & Sell Stop). Main requirements: The bot must open multiple pending orders continuously. Stable execution without freezing or missing orders. Clean and professional logic suitable for real trading. Fully customizable settings (distance, lot size, TP/SL, trailing, etc.). If anyone already has a ready-made
Develop a fully automated MT5 Expert Advisor based on a multi-timeframe institutional trend-pullback strategy with: Regime filtering (H4) Execution logic (H1) ATR-based stop model Multi-stage trailing system Risk-based position sizing Portfolio-level risk protection Detailed performance logging This EA will be used for client capital (PAMM/MAM environment). Stability and risk control are higher priority than high
Hello, I have an existing MT5 Expert Advisor that works perfectly on a demo account. The strategy is profitable and executes trades correctly in demo testing. However, when I run the same EA on a live account, it takes trades but the results are not profitable. The performance is significantly different compared to demo. I am looking for an experienced MQL5 developer who can: Analyze the EA logic Identify why live
I am looking to purchase a proven scalping Expert Advisor with verified live account performance. Requirements: • Minimum 6 months live trading history • Proven profitability with controlled drawdown • Scalping strategy with Buy and Sell trades • Works on XAUUSD (Gold), MT5 preferred • Includes Stop Loss and Take Profit • Suitable for small accounts ($100) • Reasonable one time price Please share live performance
Trade Copier from MT4/ MT5 to MT4/ MT5 (local) , i am looking for some local copier where i can copy trade from meta trader 4 to meta trader 5 or meta trader 5 to meta trader 4 , looking for fast execution
I. YÊU CẦU DỰ ÁN Tôi đang tìm cách phát triển một hệ thống giao dịch tự động (Expert Advisor) được xây dựng trên nền tảng Smart Money Concepts (SMC), tích hợp Trí tuệ Nhân tạo (AI) và có cơ chế quản lý vốn tiên tiến. EA (Expert Advisor) phải được tối ưu hóa cho cả thị trường biến động mạnh như Vàng (XAUUSD) cũng như các thị trường ổn định, có xu hướng như EURUSD. Nó phải thân thiện với người mới bắt đầu nhưng cũng đủ
Hello, I want a grid trading bot for the Gate.io crypto exchange. I currently have a working grid bot written in MQL5, and I want a similar bot implemented in Python. The MQL5 bot can be translated, but the codebase is large and it was not designed to be easily ported to Python. Therefore, I prefer that the final Python bot preserves the same core grid logic, but is implemented cleanly in Python rather than doing a
Chancefxbot1 400 - 600 USD
– MA20/30/50 Alignment + MA50 Slope + Swing SL + Step Trail + News Filter Symbol: XAUUSD Timeframe: M5 Language: MQL5 Trading: 24/5 (no session filter) 1) Indicators (Inputs) MA20, MA30, MA50 MA type selectable: EMA or SMA Applied to Close Inputs: MA periods and MA method 2) Entry Rules (Alignment + Slope) BUY: MA20 > MA30 > MA50 MA50 slope filter passes: Slope = MA50(current) − MA50(10 candles ago) Require slope ≥
I need an MT5 Expert Advisor for manual trading execution with precise risk-in-money control and automatic position splitting. FUNCTIONAL REQUIREMENTS: 1. Input: Total risk per trade in money (USD). 2. Input: Stop Loss in points/pips (or read from chart SL line). 3. EA must calculate position size based on total risk and SL distance. 4. EA must detect broker maximum lot size per position. 5. If calculated lot size

Project information

Budget
50+ USD
Deadline
from 1 to 3 day(s)