Integrate optimization code in EA

MQL4 Experts Scripts

Job finished

Execution time 21 days

Specification

Integrate Script (optimization code) into attached SpecialSignal_EA 

****Please see attached SpeicalSignal_EA
****Addiitonal files will be given to the selected freelancer 

  • Add EA wait code when optimization is running
    • This code will stop EA from trading when optimization code is running
  • Add code to run optimization code
    • This code will run optimization code only one time at the start of new bar
  • Add code to set marker on the next optimization
    • If Monthly, set next bar
    • If Quarterly, set next 3 bars
    • If Half_Year, set next 6 bars
    • If Yearly, set next 12 bars
  • Add code to get the following:

If (maxp ≥ maxps)  this code is inside optimization script

{Opt_Result == true}

else     {Opt_Result == false}

  • Add code to set Opt_Result in Smoothed_Profit (EA input parameter)
Smoothed_Profit = Opt_Result

 

New input parameter

ScheduleOptmizer          => Monthly                   = mark next bar; Timeframe = PERIOD_MN1

                                          Quarterly                = mark next 3 bar; Timeframe = PERIOD_MN1

                                          Half_Year               = mark next 6 bar; Timeframe = PERIOD_MN1

                                          Yearly                      = mark next 12 bar; Timeframe = PERIOD_MN1

Start_Year                     = 2013 (default)

 

 

***** Forward testing

Attached EA on chart

EA will be in no trade code

EA run optimization code, then EA set next optimization

EA get optimization result

EA set input for Smoothed_Profit = true/false

EA start trading….

 

Next month….

If ScheduleOptimizer = Monthly

EA will check for open trades

            If there is open trade, EA wait until trade is close

            If no trade, EA run optimization code

EA set next optimization marker

EA get optimization result

EA set input for Smoothed_Profit = true/false

EA start trading….

 

Responded

1
Developer 1
Rating
(2)
Projects
2
0%
Arbitration
13
8% / 92%
Overdue
1
50%
Free
2
Developer 2
Rating
(25)
Projects
36
17%
Arbitration
14
14% / 57%
Overdue
3
8%
Free
3
Developer 3
Rating
(1)
Projects
1
0%
Arbitration
1
0% / 100%
Overdue
0
Free
4
Developer 4
Rating
(258)
Projects
396
28%
Arbitration
69
19% / 49%
Overdue
121
31%
Free
Similar orders
True 30+ USD
Hello, I would like to commission the development of a trading robot (EA) designed specifically to pass a prop firm challenge within one week, with a maximum allowable drawdown of 2%. Key requirements: Strict risk management with drawdown hard-limits Controlled lot sizing and position management Strategy focused on high-probability, low-risk entries Full compliance with prop firm rules (daily drawdown, max drawdown
I want you to help me and create a sniper entry robot and with proper risk management that follow trend and when is not going to the direction it exit
I need an MQL5 Expert Advisor fixed and compiled. Symbol: XAUUSD Timeframe: M1 Strategy: - Pending order breakout using last 3 candles - Buy Stop +4 points above range - Sell Stop -4 points below range - Lot size: 0.01 fixed - No martingale, no grid, no trailing stop Exits: - Take Profit: 8–10 points - Stop Loss: 10–12 points - Time-based exit: ~75 seconds Risk rules: - Trade only between 09:00 and 17:00 - Max spread
I have been trading manually for years by disciplining myself to follow a rigorous risk management system and using entry and exit strategies crafted from Implied Volatility(IV), Real Volume ,RSI and Moving Average ,but never had I automated the entire system until now . I have just completed the automation of the gold Expert Advisor and the results are astonishing .Below you'll see the graph and a statistics file
Hello budget 30$ I have range breakout expert advisor with pending orders, when the range is complete, the expert sends pending orders, I need to add an option so that when the range is complete, the expert advisor doesn't send pending orders, when the price exceeds the range, the position is opened, executive Orders. I need to make new option True/False True = Executive Orders. False = Pending orders I want the
Wealth Ascent 30 - 50 USD
MASTER PROMPT: Advanced Multi-Strategy Trading Robot Role: You are a senior quantitative trader, algorithmic trading engineer, and risk manager with 10+ years of experience in crypto, forex, and indices markets. Goal: Design a robust, automated trading robot that integrates multiple proven trading strategies and focuses on long-term, risk-adjusted profitability, capital preservation, and adaptive market behavior. ---
I got access to a trial mt5 EA(only ex5 and not mql5 file) which is an ultra fast scalper on gold that operates only using pending orders which is working absolutely insane when backtesting or live trading using demo account but when you try to back test it on a live/real account the results are horrible !...both demo and real accounts belong to the same broker both same leverage and same type spread wise but the EA
Hi , I need an MT4 EA with the following requirements (BUY only): BUY only: The EA must open BUY trades only . No sell orders at all. Pending orders on objects (Touch trigger, no candle close): I draw objects on the chart: Trendline / Rectangle (Box) / Horizontal Line . The EA places a BUY pending order exactly at the object price so it triggers when price touches the object. For a trendline, the EA must continuously
Hello everyone, I am looking for a highly experienced MQL5 developer to build a fully automated Expert Advisor (EA) based strictly on Smart Money Concepts (SMC) 🔍 Core Strategy Requirements (SMC Only) The EA must be based on Advanced Smart Money Concepts , including: ✅ Market Structure (BOS & CHOCH) ✅ Liquidity concepts (equal highs/lows, stop hunts)✅ Trap Blocks / Fake Order Blocks detection ✅ Valid Order
EMA Triple-Cross Trading EA Constitution 1. Instruments Bot operates ONLY on: • UK100 (FTSE 100 Cash) • CASH30 (Dow Jones / DJI30) • GOLD (XAUUSD) Developer Note: Please ensure proper handling of contract sizes and point values for indices vs gold when calculating lot size . 2. Chart & Timeframes Primary Execution Timeframe: ➡ M15 Higher Timeframe Bias: ➡ H1 Trades are allowed ONLY in the direction of H1 EMA200: •

Project information

Budget
10 - 50 USD
Deadline
from 1 to 5 day(s)