A simple indicator to calculate risk exposure (i.e., the risk value of all the open positions that have stop loss orders)

Job finished

Execution time 3 hours
Feedback from employee
Great customer. Communication skills and specificity of the task at the highest level. Thank you for the order!
Feedback from customer
Sergey is a great developer. He is very polite and willing to edit to code to your specifications. He is very patient, helpful and above all provides great customer experience.

Specification

This indicator shows the risk exposure per pair and in total, by calculating the risk value of all the open positions that have stop loss orders, so I can clearly see the value being risked in $ and % of balance amount (e.g., $1,000) that I should input in the properties window of this indicator.

The indicator logic is as follows:

If position is in profit = current price of pair - stop loss of this position

if position is in loss or no profit = order execution price - stop loss of this position

Obviously, you need to differentiate between buy and sell order in your source code to account for the sign. 

You need to loop over all open positions for each pair (not limit orders) and sum the total risk amount for each pair and all pairs (i.e., total)

On the chart window bottom left corner, you should display the total risk in USD and % for the current pair and total risk for all pairs in USD and %

This must be an indicator not EA.

Font should be black and font size is 14. This indicator should be a replica of the following "Risk Exposure" indicator on this website:

https://the5ers.com/downloads/

Please watch the indicator video before you apply.

In the input menu, I should have the following inputs to change:

Font size and color

Location of display on chart window (upper left corner, upper right corner, lower left corner, lower right corner)

The balance that I will input (e.g., $1,000) of which the % open risk will be calculated from and displayed next to the dollar amount.

The indicator should remember my last inputs

You should walk me through the source code before project completion. I have experience in programming (Python, MATLAB...) but haven't used MQL editor before.

Looking forward to working with you.

Responded

1
Developer 1
Rating
(11)
Projects
16
6%
Arbitration
3
33% / 67%
Overdue
0
Free
2
Developer 2
Rating
(162)
Projects
209
61%
Arbitration
10
80% / 0%
Overdue
0
Free
Published: 1 code
3
Developer 3
Rating
(5)
Projects
4
50%
Arbitration
4
0% / 75%
Overdue
0
Free
4
Developer 4
Rating
(8)
Projects
13
38%
Arbitration
0
Overdue
2
15%
Free
5
Developer 5
Rating
(279)
Projects
341
37%
Arbitration
6
50% / 17%
Overdue
7
2%
Free
Published: 5 codes
6
Developer 6
Rating
(464)
Projects
491
70%
Arbitration
6
67% / 0%
Overdue
2
0%
Free
7
Developer 7
Rating
(634)
Projects
741
34%
Arbitration
49
53% / 39%
Overdue
14
2%
Working
8
Developer 8
Rating
(568)
Projects
641
41%
Arbitration
25
48% / 36%
Overdue
46
7%
Working
Similar orders
Here is a professional, detailed requirements specification draft for your MQL5 freelance order based on your prompt: ​ Strategy Objective: Develop an automated Expert Advisor (EA) featuring a 1:3 Risk-to-Reward ratio optimized for a small starting budget. ​ Core Trading Logic: ​Execute automatic Buy and Sell trades using high-probability entry signals. ​Target a strict 90% theoretical win-rate structure through
i want to fix my gold martingale bot MT5. RSI 14 ENTRY 30 BUY 70 SELL Lot 0.02 0.04 0.07 TP 150 for all SL 90 30 30 once total daily profit is 200$ stop trading stop trading once 2 consecutives total losses stop trading if spread exceeded 30 and between hour 15 & 17 PM Move SL to breakeven point once the profit exceeded 50 from from breakeven thanks
MarketMind Breakout Pro XAUUSD H1 — Donchian Breakout EA Project type: Personal EA development and backtesting Platform: MetaTrader 5 Instrument: XAUUSD Timeframe: H1 Strategy: Donchian Channel breakout with EMA 200 Project overview This project evaluates a Donchian breakout trading strategy for XAUUSD on the H1 timeframe. The system uses channel-based breakout conditions and an EMA 200 trend filter. Historical
The purpose of this order is ONLY to test and implement my H1 POI (Point of Interest) identification logic correctly. I am not requesting the complete EA at this stage. I will provide the exact rules for identifying the H1 POI after selecting the developer. The developer must convert those rules into clear, deterministic MQL5 logic. Requirements: Analyze H1 candles according to the rules I provide. Identify and mark
Title: Fully Automatic MT5 Trading Bot (Expert Advisor) with Risk Management I want a fully automated trading robot (Expert Advisor) for MetaTrader 5, written in MQL5. The bot must automatically analyse market data, identify trading opportunities, execute BUY and SELL orders, manage open positions, and close trades according to predefined rules without requiring manual confirmation for each trade. Requirements
Hello, I’m looking for an experienced developer to research, build, test, and install a fully automated MetaTrader 5 trading bot for gold, XAUUSD. My total development and installation budget is $300, including all agreed work and fees. My goal is to pass a $100,000 FTMO US Two-Step Standard evaluation and sustainably maintain the funded account. I need a day-trading strategy that can buy in bullish markets and sell
I have three indicators that operate independently. I want to combine them into one indicator with custom expert programming that automatically enters trades when a signal is generated by one of the indicators. I will pay for this service Thanks you
Existing EA: NEW_CORE_ORB_M5_v021 | MT5 | XAUUSD M5 Early-stage research prototype, not a new EA from scratch. Need an experienced MQL5 developer to audit, complete, repair, improve and test BOTH independent strategies equally: Opening Range Breakout (ORB) and Scalp. Keep code lightweight and preserve an untouched baseline. No unnecessary rewrite or complex filters. 1. ORB Strategy Verify opening-range construction
Espert 30+ USD
I want to create a robot with 10 indicators.All to take a trade and all in stop folowing. Thanks to put in THE PARAMETERS Yes/No for the indicators to entry in position AND to the stop A trade with 2 takes profit and a breakeaven at the first TP. The goal is to be able to try the multiple combinations with these indicators
Hello International Developer, I need LIFETIME MT5 EA for XAUUSD Gold. REQUIREMENTS: 1. Lifetime bot - No expiry date, unlimited accounts, unlimited installations 2. Must include source code .mq5 file - This makes it lifetime 3. Every trade MUST have Stop Loss 300 points and Take Profit 600 points 4. No martingale, No grid, No averaging - Clean safe strategy 5. Auto lot size = 1% risk per trade for good margin growth

Project information

Budget
30 - 50 USD
Deadline
to 7 day(s)