A simple EA for trade management using hotkeys

Job finished

Execution time 3 days
Feedback from employee
very great client
Feedback from customer
Incredible fast and had no problems delivering the deliverables agreed upon. Will use him again for sure.

Specification

EA with hotkeys for managing trades with custom parameters that can be changed.

Parameters:

Position Size (in lots) (default value: 0.1) 
Stop Loss (in pips) (default value: 10) 

Take Profit (in pips) (default value: 20)

Use Automatic Trailing SL (Yes or No) (default value: No) 

Trailing SL distance (in pips) (default value: 10)

Use Automatic Break Even (Yes or No) (default value: No) 
Move SL to BE at RR (in RR) (default value 1.0) 


Hotkeys and function of shortcut:

Listed below all the shortcuts required are listed. 

L: Place Market Buy order with SL and TP
Place a long (buy) market order with an automatic position size, stop loss and take profit according to the values entered in the parameter setting. Parameters used: "Position Size", "Stop Loss", "Take Profit", "Use Automatic Break Even", "Use Automatic Trailing SL" and "Move SL to BE". 

If "Use Automatic BE" is set to Yes, the SL should be moved to Break Even (BE) when price reaches the risk/reward specified in "Move SL to BE". So if the SL is 10 pips, the TP is 20 pips, "Use Automatic Break Even" is "Yes" and "Move SL to BE" is 1.0. Then the Stop Loss should be moved to the entry price once price reaches 10 pips above the entry price = 1.0RR. 

If "Use Automatic Trailing SL" is set to Yes. The Stop Loss should be trailed using the value in "Trailing SL distance". 

If "Use Automatic Trailing SL" is Yes and the SL is being trailed but one of the shortcuts that move the SL is being used, the trailing should stop and the action performed by the shortcut should take over. 

Make sure to take different symbols (decimal spaces) into account when calculating the stop loss and take profit values. EURUSD and USDJPY will be different for example. 

S: Place Market Sell order with SL and TP
Same function as for “L” but this shortcut place a short (sell) market order. Parameters used: "Position Size", "Stop Loss", "Take Profit", "Use Automatic Break Even", "Use Automatic Trailing SL" and "Move SL to BE". 

C: Close all positions
Close all open positions, both long and short positions. Parameters used: None. 

T: Activate Trailing Stop Loss
Activate Trailing SL for all open positions trailing the position with the value specified in the parameter "Trailing SL distance". So if price goes up 5 pips, the stop loss moves 5 pips closer to that price but the distance will be the pip value specified in "Trailing SL distance". Parameters used: "Trailing SL distance". 

B: Move Stop Loss to break even (BE)
Move SL to break even for all open positions. Parameters used: None. 

Q: Close 25% or 1/4 of all open positions.
Close 25% of all open positions. This should always close 1/4 of the open position every time it is used. Parameters used: None. 

H: Close 50% or 1/2 of all open positions.
Close 50% of all open positions This should always close 1/2 of the open position every time it is used. Parameters used: None. 

M: Move Stop Loss to Profit
Move SL to profit. Should be 25% of the SL. So if the SL is 10 pips this would result in moving the stop loss to 2.5 pips above the entry price (for long positions) and 2.5 pips below the entry price (for short positions). Resulting in 2.5 pip profit if SL is hit. 


Comment:
All shortcuts can be changed if they are being used somewhere that I don't know about or if the combination doesn't work for some other reason unknown to me.

Responded

1
Developer 1
Rating
(26)
Projects
34
29%
Arbitration
0
Overdue
1
3%
Free
2
Developer 2
Rating
(75)
Projects
111
50%
Arbitration
26
31% / 50%
Overdue
9
8%
Free
Similar orders
Hello, i need expert developer that have been develop so many profitable AI bots that work for mt5 and ctrader autonomously if you know you can easily execute this requirement bid for it. NOTE:- YOU MUST COME WITH SAMPLE FOR THE 2 TRADING PLATFORM. While i take a look at your profile and reach out to you thanks
Gold robot 3000+ USD
I really liked this training platform. I want to start a good business with this funding amount."I like crypto trading. Does it provide a demo account that is good for learning?"
Gold robot 3000+ USD
Hello, I am looking for someone who can help me to build a MT4/MT5 forex EA, by analyzing the trading history. You are responsible to find out trading logic behind the EA and Build a new EA that accurately replicates the existing strategy. I need someone who has proven previous experience to build a new EA by reverse engineering. Thanks
I am looking for an experienced MT4/MT5 developer to analyze my trading history and replicate the strategy in a new Expert Advisor (EA). The developer must have proven experience in reverse engineering strategies, analyzing trading data, and developing EAs across various trading methodologies. A deep understanding of XAUUDS and BTCUSD behavior, as well as chart analysis, is essential. Please note that we do not have
Title: MT5 Forex Trading Robot Development I need a MetaTrader 5 (MT5) Expert Advisor (EA) for automated Forex trading. Requirements: 1. The robot must be fully automated and capable of opening and closing trades without manual intervention. 2. Compatible with MetaTrader 5 (MT5). 3. Adjustable lot size, Stop Loss, and Take Profit settings. 4. Built-in risk management based on account balance. 5. Ability to trade
Risk management EA 30 - 200 USD
Looking to develop risk management EA for personal use probably commercially in the future. I want the EA to have a display panel with 0.1, 0.2, 0.5,1,2,3 percent risk management button. I also want BE, partial closure of 0.25,0.5,0.75 and full closure panel on both profit and loss. I’ll also like to include trailing stop, 2 trades max per day and BE+spread option. I’ll be attaching the image for a guidance on what
Sierra Chart Alerts to MT5 via Webhook (Alert Manager File Version) Objective: Create a Custom Study (ACSIL / C++) that monitors alerts from the Alert Manager file and forwards any valid alert directly to MT5 via an HTTP POST (Webhook) in JSON format. Additional Note: The study should allow adding any modifications in the future and provide clear insights into the alert points in Sierra Chart. 1. Data Flow Diagram
Ea.Mix 30+ USD
I am in need of a good scalping bot for gold or any currency pair. If you have one that is working, reach out. You must be able to provide a trial version so I can test the bot myself
A bot takes trades every few seconds until hit the profit with the same lots , i am attaching a picture as well. If anyone can do that please contact me i will give the account details

Project information

Budget
35 USD