Job finished
Execution time 3 days
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Feedback from employee
Thanks!
![](https://c.mql5.com/i/avatar/avatar_na2.png)
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
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)
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.
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
- Ideally there will be a field called 'Target', which will be a price that I am interested in (this is not a Take Profit).
- 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. - A field to indicate Buy or Sell
- 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.
- 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.
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)
- 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?(!)
- 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?(!)
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
Rating
Projects
395
28%
Arbitration
155
20%
/
52%
Overdue
112
28%
Free
2
Rating
Projects
2820
80%
Arbitration
156
22%
/
43%
Overdue
488
17%
Free
3
Rating
Projects
902
77%
Arbitration
25
16%
/
68%
Overdue
100
11%
Free
4
Rating
Projects
150
29%
Arbitration
9
44%
/
11%
Overdue
46
31%
Free
5
Rating
Projects
254
53%
Arbitration
16
50%
/
38%
Overdue
83
33%
Free
6
Rating
Projects
1295
67%
Arbitration
84
26%
/
49%
Overdue
338
26%
Free
Similar orders
Take buy/sell signals from tradingview to mt5
30 - 200 USD
Hi All i need programmer to make me 2 programs first program send sell or buy from tradingview to MT4 and MT5 not using alert on tradingview . not using WEBHOOK\ mean using trade order manually from tradingview to MT Second using alert webhook from indicators inside tradingview
I am looking for a skilled Thinkorswim script developer for a one-time project. Your task will be to combine 8 distinct Thinkorswim studies (I will provide the code for each) into one Lower Study. The final script should display histogram rows for the individual studies with a bubble color scheme of bright green, dark green, gray, dark red, and bright red
I need an MQL5 experienced developer
30 - 100 USD
I need some who can develop my strategy and hand me over the source code... I will give you the specific area in the market i want to mark out and then set pending orders to execute once price move into the zone
C onversion from Ninjatrader to Tradingview. This includes thorough testing and debugging to guarantee that the script functions as intended on Tradingview...If you are in for this job kindly bid
Robotics Artificial Intelligence
100+ USD
I believe in Robotics as a major artificial intellect to function of growth of business.Therefore if you script there is a likelihood of bringing economies of scale.The retrospective of the dynamics of indulgence of work can be economics of scale
there I hope you're doing well I want to convert the tradingview indicator to make an indicator for mt5. And in that, I want to make an automatic robot on the base of the indicator. I have the pine script of that indicator
Development of a stop-out plugin for MT5 Manager
30 - 150 USD
Looking for someone who is able to code MQL for MT5 manager plug-in? Please contact me for more info. it is mainly on when to trigger a stop out of the account
see trade open on every tick seconde ok forex pair us us30 if is current running at 40170.00 so open 2 trade buy stop and sell stop both in every tick pending order of buy stop will 40171.00 and sell stop pending order will be 40169.00 buy stop will open at 40171.00 and tp will be 40173.00 and SL will be 40169.50 ok if buy stop hit sell stop order automatically will be close now if sell stop order open at 40169.00 so
Project information
Budget
20 - 40 USD
For the developer
18
- 36
USD
Deadline
from 1 to 3 day(s)