EAs and Script Desired :)

MQL4 Asesores Expertos Sripts

Trabajo finalizado

Plazo de ejecución 3 días
Comentario del Ejecutor
Thanks!
Comentario del Cliente
Great coder - satisfied all my needs for EA and script. Would recommend him in a heartbeat.

Tarea técnica

Hello,

I've reached a juncture in my life where time is a very, very scarce commodity, and it has easily become something that I value dearly. As such I'm deciding to take the plunge to automate the more manual aspects of my trading, but lack of programming experience (and lack of time) will not allow me to build an EA and script on my own. I will try to be as clear as possible, but bear with me! I am planning to use this on OANDA MT4 where the minimum lot size is 0.01 lot (micro-lots), if this is pertinent. I am not too sure how difficult it would be to code, but here's how I envision the EA working, with some "pseudo-code". Feel free to completely disregard this and implement it in your own way, this is just to give a general idea:

I'd like to be able to drag the EA to the chart I wish to trade:

Fields
  1. Ideally there will be a field called 'Target', which will be a price that I am interested in (this is not a Take Profit).
  2. There will be a field called 'AccountSize' and another one called 'RiskPercentage'.
    -The account size field will be where I input the size of my account balance. I do not want to use my currently available balance because my money management moves up in 'steps', during which I'd like to envision the size of my account as a fixed figure until the next step.
    -The risk % field will be the amount I wish to risk per trade in percentage points.
  3. A field to indicate Buy or Sell
  4. A field called 'BackwardCount', which is going to be a number denoting which candle I am interested in, with 0 being the current candle, 1 being the previous candle, 2 being the second previous candle and so on.
  5. A field called 'TimeInterval', which is going to be a number that specifies a multiple of the current time frame; ie. a value of 2 for TimeInterval will represent a period of 2 days on a Daily Chart, but 2 hours on an Hourly Chart.
Size of Orders

I would like the order sizes to be calculated, so that each order risks (RiskPercentage * AccountSize). This should be in Microlots, rounded DOWN. I would also like it to account for different pip values between say JPY pairs and USD pairs for example.

Method of Execution (I am aware there are no Take Profits, these are discretionary)
  1. For a buy order:
    candleOpen = Open price of candle specified by BackwardCount.
    if ( candleOpen > Target - ( 0.33 * iATR(NULL, 0, 28, 0) ) ) {
    Send out an alert for an invalid trade;
    Stop running EA;
    } else {
    place a pending Buy at price: Target - ( 0.33 * iATR(NULL, 0, 28, 0) ), with a stop at price: Target - ( 0.66 * iATR(NULL, 0, 28, 0) );
    }

    if ( Price == Target - ( 0.66 * iATR(NULL, 0, 28, 0) BEFORE Pending Buy Executed ) {
    Cancel pending Buy;
    Stop running EA;
    }

    // So if we reach here I'm assuming that the Pending Buy was triggered before price had the chance to reach
    // Target - ( 0.66 * iATR(NULL, 0, 28, 0). Now I want the EA to monitor the trade when executed. Essentially I
    // want it to check every TimeInterval periods (where the periods is the period of the current timeframe) if the
    // price is below my entry (ie. I'm in the drawdown). If it is, then close the order, else do nothing.
    // BUT - I want my stop to be moved to entry (ie. breakeven), if price ever hits Target, WHILE it's simultaneously
    // checking every TimeInterval Periods where the price is. If price does hit Target, then I want the stop moved to
    // entry (ie. breakeven), and the EA to stop running.

    when (Pending Buy executed) {
    every TimeInterval periods do:
    if ( Price < Buy Entry ) {
    close this order;
    stop running EA;
    } else {

    if (Buy Entry stopped out) {
    stop running EA;
    } else {
    do nothing;
    }

    }

    butSimultaneously do
    if ( Price == Target ) {
    move Stop to Entry;
    stop running EA;
    }

    (!) I HAVE ABSOLUTELY NO IDEA HOW TO GET THESE TWO THINGS TO RUN AT THE SAME TIME/HOW TO GO ABOUT IMPLEMENTING THIS. PERHAPS THIS WILL REQUIRE 2 EAs?(!)

  2. For a Sell order: (The same thing, just reversed)
    candleOpen = Open price of candle specified by BackwardCount.
    if ( candleOpen < Target + ( 0.33 * iATR(NULL, 0, 28, 0) ) ) {
    Send out an alert for an invalid trade;
    Stop running EA;
    } else {
    place a pending Sell at price: Target + ( 0.33 * iATR(NULL, 0, 28, 0) ), with a stop at price: Target + ( 0.66 * iATR(NULL, 0, 28, 0) );
    }

    if ( Price == Target + ( 0.66 * iATR(NULL, 0, 28, 0) BEFORE Pending Sell Executed ) {
    Cancel pending Sell;
    Stop running EA;
    }

    // So if we reach here I'm assuming that the Pending Sell was triggered before price had the chance to reach
    // Target + ( 0.66 * iATR(NULL, 0, 28, 0). Now I want the EA to monitor the trade when executed. Essentially I
    // want it to check every TimeInterval periods (where the periods is the period of the current timeframe) if the
    // price is above my entry (ie. I'm in the drawdown). If it is, then close the order, else do nothing.
    // BUT - I want my stop to be moved to entry (ie. breakeven), if price ever hits Target, WHILE it's simultaneously
    // checking every TimeInterval Periods where the price is. If price does hit Target, then I want the stop moved to
    // entry (ie. breakeven), and the EA to stop running.

    when (Pending Sell executed) {
    every TimeInterval periods do:
    if ( Price > Sell Entry ) {
    close this order;
    stop running EA;
    } else {

    if (Sell Entry stopped out) {
    stop running EA;
    } else {
    do nothing;
    }

    }

    butSimultaneously do
    if ( Price == Target ) {
    move Stop to Entry;
    stop running EA;
    }

    (!) AGAIN I HAVE ABSOLUTELY NO IDEA HOW TO GET THESE TWO THINGS TO RUN AT THE SAME TIME/HOW TO GO ABOUT IMPLEMENTING THIS. PERHAPS THIS WILL REQUIRE 2 EAs?(!)
I think that about covers what I want it to do for the EA. If there are any ambiguities, please do not hesitate to let me know.

For the Script:

Fields
- 'Periods' : which will specify the number of periods of the particular charts I am interested in. If I set 'Periods' = 10, for example, it means I am interested in the last 10 candles of a particular chart.


Method of Action

I would like the script when run, to obtain the Candle Opens of all open charts, for the last 'Periods' number of periods, and place them all into one .csv file, which I will import into Excel (including a field for the Pair Name corresponding to each data set in the .csv would be useful, if possible!). If doing this for all Open charts is not practical, then perhaps a list of some sort, where I can select the pairs and time-frames I want to obtain the Opens for would suffice.

I think that about covers it. If there are any ambiguities, please do not hesitate to let me know.

Thanks,
xXTrizzleXx

Han respondido

1
Desarrollador 1
Evaluación
(195)
Proyectos
395
28%
Arbitraje
155
20% / 52%
Caducado
112
28%
Libre
2
Desarrollador 2
Evaluación
(1235)
Proyectos
2820
80%
Arbitraje
156
22% / 43%
Caducado
487
17%
Libre
3
Desarrollador 3
Evaluación
(496)
Proyectos
963
74%
Arbitraje
27
19% / 67%
Caducado
100
10%
Ocupado
Ha publicado: 1 artículo, 6 ejemplos
4
Desarrollador 4
Evaluación
(82)
Proyectos
150
29%
Arbitraje
9
44% / 11%
Caducado
46
31%
Libre
5
Desarrollador 5
Evaluación
(71)
Proyectos
254
53%
Arbitraje
16
50% / 38%
Caducado
83
33%
Trabajando
6
Desarrollador 6
Evaluación
(647)
Proyectos
1295
67%
Arbitraje
84
26% / 49%
Caducado
338
26%
Libre
Solicitudes similares
This Expert Advisor (EA) will use a custom indicator that connects all Higher Lows (HL), Higher Highs (HH), Lower Highs (LH), and Lower Lows (LL) using a continuous line. The line structure created by this indicator will be used to detect a valid W pattern for BUY trades
I already have an EA and willing to work together with a talented professional programmer so that we can make a profitable EA for the long-term. RazorQuant AI | Buy Trading Robot (Expert Advisor) for MetaTrader 5 RAZORQUANT AI v3.7 (MT5 EA) Purpose: Automated trading EA that combines classic technical filters with machine-learning signals and optional external AI (LLM) advice to decide BUY/SELL/HOLD and manage
I’m looking to develop an MT5 Expert Advisor based on a breakout and retracement strategy . Below is the core logic of the EA: Identify and mark the daily high and daily low Place a Buy Stop above the daily high and a Sell Stop below the daily low, using a 40-pip buffer Once a pending order is triggered: Set Stop Loss and Take Profit dynamically using ATR Apply an ATR-based trailing stop If price continues moving in
Hi, I’m looking for an experienced MT5 EA developer to build an Expert Advisor based on Elliott Wave and Fibonacci strategies . I’m specifically seeking a developer who already understands these strategies well and can actively advise on the best implementation approach , not someone who simply asks me what to build. I want to collaborate with a developer who can contribute ideas and structure the logic to achieve
Pre pending order EA 30 - 40 USD
Hey developers I want to code for me good pre pending order EA with a good strain stop loss, break out logic, MT5, it can trade starting from 20&, pre pending breakout logic , trend filter trades Xauus , Eurusd trades real breakouts
Range Reversal EA 29/01/26 Rev 0 Overview This EA will bound a range of price action over a set time. At a specified time range a trade will be enabled if price action triggers a reversal at or near to the bound range, by a stated offset. Typically the EA will be permitted to only take one trade per day. The EA is not to operate on Weekends. The EA will be left running on a MT5 platform on a server. Testing I will
Hello dear all developers, I am searching a programmer with experience with self-learning EA based on Ai. More details will be discussed with selected candidates. Source of code required, but it's obvious. Budget is negotiable
I am looking of an Expert Advisor (EA) that has undergone independent validation and demonstrates a capability to successfully navigate prop firm challenges, as well as efficiently manage funded accounts. It is imperative that you provide a comprehensive explanation of the strategy utilised by your EA, along with a demo version that has a 30-day expiration. This will facilitate extensive back testing and forward
EA WITH A DASHBOARD TO CHOSE THE TRADING MODE : AUTO (USING INDICATOR) OR MANUALLY I CAN CHOSE THE TRADING MODE : BUY OR SELL , OR NO TRADE . THERE WILL BE A MULTI TRADING TIME PERIODS AND EACH PERIOD HAS ITS WON TARGET THE EA WILL CLOSE ALL POSITIONS IF THE PERIOD TARGET HIT. TO OPEN BUY OR SELL THERE ARE TWO SENARIOS FOR EACH OF THEM MORE CHATRS AND DETAILS WILL PROVIDED TO THE CANDIDATES GOOD LUCK
On a new M15 candle, wait 4 minutes , then track the candle High and Low continuously . Important to begin all this process the 1st 4 min. the distance between the high and low not less than 8 USD$. Place Sell Stop at the candle High and Buy Stop at the candle Low . If a new High or new Low forms, cancel all pending orders , recalculate, and place new ones. One minute before candle close , delete all pending orders

Información sobre el proyecto

Presupuesto
20 - 40 USD
Plazo límite de ejecución
de 1 a 3 día(s)