EAs and Script Desired :)

MQL4 Experts Scripts

Job finished

Execution time 3 days
Feedback from employee
Thanks!
Feedback from customer
Great coder - satisfied all my needs for EA and script. Would recommend him in a heartbeat.

Specification

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

Responded

1
Developer 1
Rating
(195)
Projects
395
28%
Arbitration
155
20% / 52%
Overdue
112
28%
Free
2
Developer 2
Rating
(1235)
Projects
2820
80%
Arbitration
156
22% / 43%
Overdue
489
17%
Free
3
Developer 3
Rating
(461)
Projects
902
77%
Arbitration
25
16% / 68%
Overdue
100
11%
Free
4
Developer 4
Rating
(82)
Projects
150
29%
Arbitration
9
44% / 11%
Overdue
46
31%
Free
5
Developer 5
Rating
(71)
Projects
254
53%
Arbitration
16
50% / 38%
Overdue
83
33%
Free
6
Developer 6
Rating
(647)
Projects
1295
67%
Arbitration
84
26% / 49%
Overdue
338
26%
Free
Similar orders
Designing and programming a trading strategy for an automated trading robot requires a comprehensive approach that involves several steps: 1. **Define Strategy**: Decide on the trading strategy you want to automate (e.g., moving average crossover, mean reversion, breakout strategies). 2. **Choose Platform**: Select a trading platform or framework that supports automated trading. Examples include MetaTrader (MQL)
I need someone who can code a robot using a channel indicator. I have the indicator with me but it isn't mine and I don't have the source code as well. If you can generate something similar to that , then it would be cool KINDLY NOT THAT MY BUDGET IS FOR BOTH MT4 AND MT5 PLATFORMS The EA should have 1. An option that I can change it parameters 2. The EA should sell on every bearish candle that closes after it touches
// @version= 5 strategy ( "Supertrend Strategy" , overlay = true , default_qty_type = strategy.percent_of_equity , default_qty_value = 15 ) // Input parameters atrPeriod = input ( 10 , "ATR Length" ) factor = input.float ( 3.0 , "Factor" , step = 0.01 ) trailATR = input.int ( 1 , "ATR Trail" , minval = 1 ) // Calculate Supertrend [ _ , trendUp ] = ta.supertrend ( factor , atrPeriod ) // Entry conditions longEntry =
I have an indicator which highlights order blocks with break of structure in line with the smc/ict concept. I further want to enhance the indicator to have a bulk entry and bulk close feature with auto sl and tp on each entry. Isit possible, if yes, hit me up
Convert MT4 EA to MT5 30 - 50 USD
Specification o I want Hidden Stop-Loss and Take-Profit EA for MT4 that will operate on MT5 platform. o It will function in both forex demo and real account. o It will apply to any currency pair, in any time frame. o MQL5 Source Code required on completion. You can download a free copy of MT4 Hidden Stop-Loss and Take-Profit EA for MT4 along with its source code at
there is an existing free expert advisor by the name Expert_RSI_Stochastic_MA which soothes my trading strategy but it will perform better if a custom indicator by the name daily percentage change added as a main condition to be met before other conditions and the trade executed. i mean for a long trade to be considered the DPC indicator must be green while for a short trade the DPC must be in red percentage. in
I have these two scripts for placing orders with stoploss, and modify current positions and close partial orders. My scripts are mt5 to dxtrade bridge, and mt5 to tradelocker bridge. I can provide demo accounts for your testing. Your job is to make them work without errors
I don't see signals on the chart .... On mt4 it's perfect...but when I converted it to Tradingview by a guy on here it doesn't show any signals, I need an expert that can help me to work on it, that can also work on more projects, Thanks, I have $20 for this project now, If you think is too small and you want to charge $30, i can pay you the rest later on
Looking for someone who can design a cool looking dashboard for an Meta Trader 4 Expert Advisor. If you already have some cool looking dashboards feel free to show me
Hello all! I'm currently developing a members area web app which users have access to our services, educational content, auto calculators etc... i want to take it to the next level and integrate a system where at a click of a button, a system auto run a strategy test, finds a setfile based on inputs they enter and saves it as a setfile. there will be a fair few inputs but after filling it out, the system will know

Project information

Budget
20 - 40 USD
For the developer
18 - 36 USD
Deadline
from 1 to 3 day(s)