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
(509)
Proyectos
977
74%
Arbitraje
27
19% / 67%
Caducado
101
10%
Libre
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
(73)
Proyectos
257
53%
Arbitraje
16
50% / 38%
Caducado
83
32%
Libre
6
Desarrollador 6
Evaluación
(647)
Proyectos
1295
67%
Arbitraje
84
26% / 49%
Caducado
338
26%
Libre
Solicitudes similares
HFT Directional Grid Scalper (Simple, Training Project) Overview We are looking for a developer to create a high-frequency grid scalper with a simple, deterministic logic. This is not a complex bot — the goal is to have a clean implementation for training, testing, and educational purposes. The bot should: Continually open trades in one direction only (BUY or SELL) Use ATR-based grid spacing Maintain a fixed
I want a accurate indicator with buy and sell arrows or circle.. with exit points which trade xauusd and btcusd via weekend ... for small like R100 or 500 .... like which can grow small accounts with ... on for serious developer.. no bullshit ... I need on Friday please
I'd like to automate a relatively simple strategy in Sierra Chart, but I'd like to have it backtested and optimized first. Could we collaborate on this, and what would the cost be? Only bid if you think you can handle this project, and I want expert in sierra chart.. Thanks
I need an EMA crossover EA specifically for Boom and Crash. It should automatically buy and sell when crossovers happen. I want adjustable inputs for lot size, timeframe, and maximum loss. I’m keeping it simple because I’ve had bad experiences with EAs before. It should do only the job it is built for, properly and reliably. need someone who have already build EA or Indicator for Boom and Crash befor atleast 10
//+------------------------------------------------------------------+ //| ProTradingEA MT5 | //| Fully MT5-compliant with MACD, Trailing Stop, Break-Even | //+------------------------------------------------------------------+ #include <Trade\Trade.mqh> CTrade trade; // Optional override input string SymbolOverride = ""; // leave blank to auto-detect struct EASettings { int
I have access to an MT5 account. I have investor access. I would like to know if someone could help me create a bot that copies only the trades made on XAU/USD in that account but in my MT4 account. In that account, many trades are made across various pairs, and I realize that the conditions of their account are not very favorable for the type of trading they do, as the commissions are very high. I have an account
Good day, I would like to have an expert advisor for my MT4 indicator (Major key alert) that can scan and provide push notification messages for entry opportunities across different time frames when a when a signal is identified
"I need an MT5 EA based on price action — liquidity sweep + hammer/shooting star reversal strategy. TREND: Identified by HH/HL for uptrend, LL/LH for downtrend on selected timeframe. No trade in ranging conditions. BUY SETUP: In uptrend, price retraces to swing low zone, wicks below it (liquidity sweep), hammer forms (lower wick min 2x body, closes above swept low). Buy stop entry at hammer high. SL below hammer
I need a professional MQL5 developer to finalize a Gold (XAUUSD) trading bot. The core layering and support-filter logic is already drafted. Key Requirements: Refine a hybrid Martingale/Layering volume calculation (1-10 / 11-20 reset logic). Implement a robust "Safety Mode" based on Daily Low price breaks. Ensure precise 6:00 AM Server Time reset for logic variables. Add professional error handling (Slippage
I want a gold order management ea that should be like the below... Pending orders When I open one manual order, ea should be able to set 3 pending orders at x amount of pips below (if buy order) or above (if sell order) manual order entry. So like this Pending order 1 true or false Pending order pips away: 20. Pending order lot size:0.3 Pending order 2 true or false Pending order pips away: 40 Pending order lot

Información sobre el proyecto

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