IStochastic trading EA

MQL5 エキスパート

仕事が完了した

実行時間2 日
依頼者からのフィードバック
great work. flexible and masters the logical implementation.
開発者からのフィードバック
It was a pleasure to work with you! Hope for further cooperation

指定

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


ファイル:

応答済み

1
開発者 1
評価
(100)
プロジェクト
125
23%
仲裁
12
0% / 75%
期限切れ
22
18%
2
開発者 2
評価
(7)
プロジェクト
12
8%
仲裁
3
0% / 67%
期限切れ
4
33%
3
開発者 3
評価
(312)
プロジェクト
521
47%
仲裁
29
10% / 45%
期限切れ
139
27%
仕事中
4
開発者 4
評価
(72)
プロジェクト
80
10%
仲裁
38
8% / 58%
期限切れ
6
8%
5
開発者 5
評価
(1)
プロジェクト
1
0%
仲裁
0
期限切れ
0
6
開発者 6
評価
(19)
プロジェクト
33
55%
仲裁
5
80% / 20%
期限切れ
3
9%
7
開発者 7
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
8
開発者 8
評価
(54)
プロジェクト
102
23%
仲裁
12
25% / 17%
期限切れ
13
13%
類似した注文
Hello, Primary goal: convert the existing MQL5 strategy logic to Python as soon as possible and make it work for API trading (order management, exchange connection, basic bot structure). I want to keep the core logic unchanged . I haven’t chosen the exchange yet (must be usable in the EU ). Binance, OKX, Kraken, and Bybit are not options. Bitmart, pionex, gateio are options. Secondary goal (code reduction): the
This post is subject to developers response . Edit the post as you like . May be with me you can make a come back . So , , , Shift calculations . More to the calculation then you can comprehend is known . What else comes to your mind
This first robot I'm needing to order a robot that will help me with my trading and make it most efficient Help me with my margins my signals or anything I need to do associated to my trading or classroom
1- In the Universal EA that I currently have, in MA mode under the Take Profit options, when using the “Kill positions + clean one buy one” option, the counter resets itself before the accumulated loss is fully recovered while the loss stored in memory is being cleared. If fixing this is not possible, then I would like to modify the method as follows: Instead of clearing the accumulated losses in the Losses Pool one
1. Shift the Time Gate (Critical) Current start time: 08:30 New required start time: 08:35:01 The EA is currently triggering trades too early (between 08:25 – 08:30 ), which is causing incorrect entries. Please ensure the EA cannot enter any trade before 08:35:01 . 2. Change Order Execution Logic The current code is using Pending Orders . Please remove pending order logic completely . Replace it with Direct Market
Here is an example of Requirements Specification for the development of the MACD Sample Expert Advisor, which is available in the MetaTrader 5 standard package. 1. The idea of the trading system is as follows : market entries are performed when MACD's main and signal lines intersect in the current trend direction . 2. Trend is determined based on the Exponential Moving Average with the specified period
Here is an example of Requirements Specification for the development of the MACD Sample Expert Advisor, which is available in the MetaTrader 5 standard package. 1. The idea of the trading system is as follows: market entries are performed when MACD's main and signal lines intersect in the current trend direction. 2. Trend is determined based on the Exponential Moving Average with the specified period
I am looking for a pre-built MetaTrader 5 (MT5) Expert Advisor (EA) that can fully automate trading on major currency pairs such as EURUSD, AUDUSD, EURCAD, and USDCAD. Requirements: Fully automated trading (no manual intervention required) Compatible with MT5 platform Designed for consistent, long-term performance Demonstrated average monthly return of at least 3% Verified backtest and/or live trading results showing
Project Title Freedom ORB – Fully Automated MT5 Expert Advisor (ORB + Structure + Liquidity) (MT5) Project Description I require a fully automated MT5 Expert Advisor based on a structured Opening Range Breakout (ORB) model with market structure and liquidity confirmation. The EA must: Detect ORB session range Wait for breakout (close-based) Wait for retrace Confirm M1 structure + displacement Execute trade
Hello, I am a serious buyer looking to acquire an existing, stable, and profitable Expert Advisor (EA) designed specifically for: 👉 primarily (XAUUSD) or any fx This is a full buyout request, ⚠️ I am NOT looking to build a new EA from scratch. Only ready-made, proven systems with real performance history. ✅ EA Requirements (Strict) 📌 Symbol & Strategy ✔️ Trades Gold only (XAUUSD) ✔️ Price Action logic preferred

プロジェクト情報

予算
50+ USD
締め切り
最低 1 最高 3 日