Modification to existing EA to add position modification functions

MQL4 Indicators Experts Forex

Job finished

Execution time 7 days

Specification

The goal of this modification to this EA is to ultimately reduce the size of the losses while increasing the size of the wins. The stop loss is currently set as a function of the ATR, and all position modifications will also be based on the value of the ATR at the moment the initial order is placed. All modifications will go based off this initial ATR value and it will be fixed for the life of the trade. This modification will involve a good amount of position modification during a trade. 

-        When an order is placed the stop loss is automatically calculated and placed at the value of the ATR * 3

-        For losses, once the price has reached 20% of the ATR *3, or is 20% into the loss zone, I want it to take out 20% of the position size.

o    For Example, if the ATR is 10 then when the order is placed the stop loss will automatically be set at 30 pips below the entry price. Say that the initial lot size is 1.0. If after the order is placed it is not winning but is instead loosing, once it reaches a level of 6 pips (20%) below the entry price, I would like it to reduce the position size by 20% as well, so the lot size would now be 0.8. Similarly, once it reaches a level of 12 pips (40%) below the entry price, I would like it to again reduce the size of the position by 20% of the original position size, so now the lot size would be 0.6. I would like this to continue so that if I am stopped out on the trade, by the time it reaches the stop loss it will only be 20% of the original lot size. 

-        If the trade is initially making a loss and the position size is reduced, but then changes direction and reaches the open price of the trade, at break even I want it to add back in everything that it took out so that once it reached the initial entry price the position size is the original size it was when the order was first placed. 

-        I don’t want it to add back in every time a 20% level is reached going up towards the breakeven, that will complicate it, only add back in to make the original lot size one the current price is equal to the entry price. 

o    For Example, if the trade reaches a point where it is 40% of the way to the Stop Loss and has taken out 40% of the position size so the lot size is 0.6 and then returns to the initial entry price of the trade, only once it reaches that initial entry price will the full value of the initial lot size be restored. So once the price reaches the entry price it will then again have a lot size of 1.0. I don’t want it to average down into a loosing trade. 

-        When the trade is in profit I also want it to add into the lot size to increase it as the trade is winning. I want it to add in 20% of the initial lot size up to a maximum of three times. I want the EA to increase the lot size by 20% once a value of the initial ATR*3 is reached, and then another 20% once the value of the ATR*6 is reached, and a final 20% once the value of the ATR*9 is reached.       

o    For Example, when the order is initially placed the ATR is 10 and the lot size is calculated to be 1.0, once the position is 30 pips into the profit zone (ATR*3), then 20% will be added to the lot size, so the new lot size will be 1.2. Then if it keeps going up and reaches 60 pips above the initial entry level (ATR*6) it will again increase the lot size by 20% of the initial lot size, making the lot size now 1.4. Finally, if the trade reaches a point where it is 90 pips above the initial entry price (ATR*9), it would add another 20% of the initial lot size to the current lot size for a final lot side of 1.6. I only want it to add in a maximum of 3 times, not unlimited. 

-        The levels at which the EA will take out or add in money should be automatically set when the trade is first entered based on the ATR and then not change for the life of the trade. For example, if the ATR is 10 when the trade is entered, it should decrease the lot size by 20% at 6 (1/5 of the distance to the stop loss), 12 (2/5 of the distance to the stop loss), 18 (3/5 of the distance to the stop loss),  and 24 (4/5 of the distance to the stop loss), pips into the loss zone and finally be stopped out at 30 pips below the entry price. Also, the EA should increase the lot size by 20% every time it is 30, 60, and 90 pips into the profit, a maximum of 3 times. 

o    If the ATR is 15 when the trade is entered, it should decrease the lot size by 20% at 9, 18, 27, and 36 pips into the loss zone and be stopped out at 45 below the entry price. Also, it should increase the position size by 20% when the levels of the ATR*3 (45), ATR*6, (90), and ATR*9 (135) are reached. 

-        The 20% values should be calculated from the initial lot size when the trade is first entered and not change. If the initial lot size is 1.0 then the 20% will be 0.2 and not change for the life of the trade. If the initial lot size is 5.0 the 20% will be 1.0 and not change for the life of the trade. 

-        Also, in the original version of this EA there is a break even function so that once it reaches a certain level of pips into the profit zone it can no longer lose money. For this, whenever the position size is increased the entry price will also move up a small amount because it is averaging the old entry price with the new one. Please make it so that every time the position is increased the break even line is moved up to 0 with the averaged entry price. 

Responded

1
Developer 1
Rating
(374)
Projects
398
31%
Arbitration
61
20% / 69%
Overdue
50
13%
Loaded
2
Developer 2
Rating
(320)
Projects
466
42%
Arbitration
77
12% / 64%
Overdue
75
16%
Free
3
Developer 3
Rating
(115)
Projects
129
18%
Arbitration
11
27% / 55%
Overdue
4
3%
Free
4
Developer 4
Rating
(21)
Projects
23
52%
Arbitration
0
Overdue
2
9%
Free
5
Developer 5
Rating
(16)
Projects
17
29%
Arbitration
1
0% / 100%
Overdue
2
12%
Free
6
Developer 6
Rating
(149)
Projects
165
41%
Arbitration
5
0% / 80%
Overdue
8
5%
Working
7
Developer 7
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
8
Developer 8
Rating
(251)
Projects
402
38%
Arbitration
82
41% / 20%
Overdue
70
17%
Loaded
Similar orders
I want to clarify some points, such as: When entering into a buy deal, he opens three deals, each deal has a different take profit and one stop loss. When you look at the code, you will know that there are three take-profit. It opens one deal, taking one profit and adding risk management as well An information screen on the chart shows all the information, I only have $10 for this now, and also I still have more
Good Day, I need a developer that can convert MT4 indicators into MT5. There are two simple indicators. The conversion must be 100% accurate. The file will be sent to successful programmer
Hi Looking for an exisiting bot to create a Expert Advisor, that can pass prop firm Challenges (1 or 2 phases), like FTMO, MFF, TFF etc. Prop Firm EA Bot Using Gold Pairs Need source code Unlimited License NO martingale strategy Need to have nice entries and exits. NO big lots and low risk. Need complied with this restrictions: -Profit 10% -Max Drawdown (DD) 10% -Max Daily Loss 4% -All trades with SL -NO trades
H ello, I have a pinescript from trading view with several self-created indicators. Now I would like to convert these into an mt4/mt5 EA that trades automatically according to my specifications. The bot should also have an integrated news filter and not trade 2 hours before the news . I am looking for someone who can start immediately and deliver high-quality results. If you believe you are the right fit for this
Hello, I have a Pine Script from TradingView that includes several self-created indicators. I am looking for a professional and experienced developer to convert this script into an MT4/MT5 Expert Advisor (EA) that trades automatically according to my specifications. Key Requirements: Conversion of Pine Script to MT4/MT5 EA: Integrate multiple self-created indicators from the Pine Script. Implement specific trading
Hi i am searching for who can makes me Mt4 Robot Analysis Method = Candle + Ichimoku and also i want to attach image with Ea and image will provide from like when i attach my Ea to any type chart the chart image chnages to image which i attached to my Ea Message me for Ea parameters and for more information and only developer message me who is agree with 6days deadline and i will start job with developer on monday
PLEASE NOT THAT MY BUDGET IS 60usd FOR BOTH MT4 AND MT4 PLATFORMS The EA should have 1. An option that I can change it parameters, that's the period, method and application 2. The EA should sell when on every bullish candle that closes under the MA 3. The EA should buy on every bearish candle that forms Above the EA. It's should close trades on reverse cross. I mean when it's in a buy trade and crosses the MA for a
MT4 to Telegram 30 - 50 USD
Hello, I want to add a system send messages to Telegram Send a message with a specific picture and details of the new signal When closing with a profit, send the details of the closing and profit with a specific picture And close with a loss and send a specific picture, in addition to the details of the closure and the amount of the loss
Hi Dear developpers, I've an EA that was working very well with the previous versions of MT4. But since, they have updated their platforms, my EA it's not working anymore. I've tried to use those old MT4 versions but there are just temporary. So i've decided to updated this EA so i can use it on the newest version of MT4 (1420) and those who will come after it. I also want to implement new inputs in it. I also want
I will like the indicator to send notification to mobile when the indicator changes color and is increase upward when positive and decreasing downwards when negative including fisplaying arrows on the chart ,red for negative and green for positive

Project information

Budget
30 - 80 USD
For the developer
27 - 72 USD
Deadline
to 3 day(s)