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%
仲裁
30
10% / 47%
期限切れ
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%
類似した注文
SPECIAL BAR EA 30+ USD
Hello Dear Coders , Here is a strategy with calculations on a specific bar ,sould be implemented carefully. Calculation on the bar needs math at some degree . trade numbers and trade results should be written right below the specific bar . Vague points should be cleared before starting coding. below is the %80 of full strategy and its explanations , the full will be given after selecting developer. POSITIONS ON A
Hello, I'm looking to develop a Forex Expert Advisor (EA) for MetaTrader 5 (MT5). I have an existing strategy and I'm looking for a complete solution developed from scratch. The main requirements are: Strategy research and development profitable trading objectives. Automated Forex trading with clearly defined entry and exit rules. Risk management, including stop-loss, take-profit, and position sizing. Backtesting and
Hello Developers, I am looking for an experienced MQL5 developer to build a custom Expert Advisor (EA) for MetaTrader 5 (MT5) based on ICT (Inner Circle Trader) concepts and Support/Resistance price action. Key Features & Strategy Requirements: 1. Market Structure & Price Action: - Identify Support and Resistance zones automatically. - Detect Break of Structure (BOS) and Change of Character (CHoCH). - Identify
https://www.sendspace.com/file/6l1bkh0y A video of the front end project is attached or uploaded in the link for view, the project is to build web app trader for login of mt4 / mt5 login and trades, the Web app is still under development your ideas matter in this project feel free to share ideal regards this project if you are good in Visual studio 2022 VS code and have handled C++ projects before on multiple
I am looking for an experienced MQL5 developer to build a fully automated MT5 Expert Advisor for XAUUSD. The trading rules are already defined. I need the developer to implement them accurately in MQL5, not redesign the strategy. Main requirements: XAUUSD Multi-timeframe logic: H1 direction, M15 setup, M5 entry Entry only after candle-close confirmation No repainting / closed-bar logic Configurable Stop Loss and Take
I’m looking for a professional and experienced developer to build an automated Pocket Option trading bot. Requirements: Trade OTC stocks, crypto, and currencies. AI-assisted market analysis and trade signals. Automatic entry/exit based on the implemented strategy. Execute 5 trades, then pause for 10 minutes before continuing. Adjustable trade amount. Configurable risk management, including stop-loss/take-profit where
I have an existing order-flow engine for NinjaTrader 8, approximately 25,000 lines of C# code, currently using Rithmic Level 2 data. It detects absorption, iceberg orders, and other order-flow signals. We have also developed an initial bridge prototype ourselves and tested parts of the R|Trader Pro to NinjaTrader connection workflow, but we have not yet established a working MBO data connection. I am specifically
Hi, I have developed an MT5 Expert Advisor called SRX which latest version is R24b47 , and I am looking for an experienced MQL5/MT5 EA developer to perform a thorough technical investigation, fixing and optimization of the EA. 1. The main problem SRX is not stable across different market periods . It can perform extremely well during one period, but the same EA/configuration can perform very poorly or approach Margin
Looking for an EA that has been previously tested and can pass prop firm challenges. You will need to demonstrate the EA to showcase true nature. Please only apply if you have a system ready. This can be a previous job you already done for someone or have something in the files
I need a simple hedging/martingale style Expert Advisor for MetaTrader 5 that works on any symbol and any timeframe. Required Features: **Core Logic:** - Start with an initial lot size - Open a hedge trade when price moves against the current position by a set distance - Use a first hedge lot multiplier for the first hedge - Use a different lot multiplier for all subsequent levels - Increase the hedge distance by a

プロジェクト情報

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