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 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.
Feedback from employee
Great customer. Communication skills and specificity of the task at the highest level. Thank you for the order!

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
(138)
Projects
170
53%
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
(274)
Projects
335
37%
Arbitration
6
50% / 17%
Overdue
7
2%
Free
Published: 5 codes
6
Developer 6
Rating
(437)
Projects
464
69%
Arbitration
6
67% / 0%
Overdue
2
0%
Free
7
Developer 7
Rating
(535)
Projects
613
34%
Arbitration
34
38% / 47%
Overdue
9
1%
Busy
8
Developer 8
Rating
(568)
Projects
641
41%
Arbitration
23
52% / 30%
Overdue
46
7%
Working
Similar orders
Hello, I need a custom MT4/MT5 indicator that looks exactly like the screenshot I will provide (attached). The indicator should include: Candlestick chart Volume numbers displayed on each candle Multiple moving averages (colored lines) Automatic Support & Resistance levels Buy/Sell arrows (signals) Market direction in percentage (UP/DOWN %) Requirements: Must work on MT4 Source code must be clean and well-commented
Momo 30+ USD
Je suis disponible tous les jours à partir de 19h à 8h. Attach up to 32 files maximum 16 Mb per upload (.zip .txt .log .mqh .ex5 .mq5 .mq4 .mqproj .ex4 .mt5 .set .tpl .cl .py .sqlite .csv .ini .ipynb .onnx .gif .png .jpg .jpeg .mp4 .webm
Precision Shift EA 100 - 500 USD
Use the Daily (D1) chart as the higher timeframe reference. On the H1 timeframe, monitor for a sweep of the previous day’s high or low. A sweep means that price takes liquidity above or below the previous day’s level and then shifts back inside. After a sweep on H1, drop to the M5 timeframe. On M5, wait for a Change of State in Delivery / Market Structure Shift (CHOCH/BOS) to confirm entry. If the sweep occurs above
Sharper trading bot 30 - 200 USD
I have a $200,000 trading account challenge. I need the bot to work on trading view so it has to be a pine script I think. I’m going to attach a photo of the requirements for the account
📌 Forex EA Bot Requirement Document 1. General Information Trading Platform: MetaTrader 5 (MT5) / MetaTrader 4 (MT4) Trading Instruments: (e.g., GBP/JPY, XAU/USD, BTC/USD) Timeframes to Trade: (e.g., 15M, 1H, 4H, Daily) Trading Style: (Scalping, Swing trading, Intraday, Position trading) 2. Entry Rules Define the indicators/strategies for entry (e.g., Moving Averages, MACD, RSI, Order Blocks, Supply & Demand)
Hello, I want to make candles on the same chart as the one in the picture so that the trend is very clear and I know the upward or downward trend in a filtered way and with the same filter of the clear chart in front of you in the picture This is not an indicator, but a chart like Japanese candlesticks, Renko, etc. I want this chart as shown in the picture in front of you. It is the best chart I want because it shows
Sharp scalping 30 - 100 USD
I have $1 million account that I need a scalping box for with a 90% win rate I attached a photo of the daily draw down and the max draw down of the account because it is a prop firm challenge. I need it in Pine script for trading view. Thanks
$50 - $150 80+ USD
I need someone who can create a scalping trading bot for me. With a 1 - 5 minutes timeframe entry. A good robot that automatically opens a trade and close in profit
*Indicator Combination:* 1. *ZigZag*: To identify significant price movements and trend lines. 2. *Donchian Channels*: To plot trend lines based on highs and lows over a specified period. *Strategy Logic:* 1. *Trend Line Break*: A trend line break occurs when price closes above/below the trend line. 2. *Confirmation*: Additional confirmation can come from other indicators (e.g., RSI, MACD) or price action (e.g
Trading bot 100+ USD
Hello great developer I need a trading bot that can: Auto-detect and buy new tokens on the Surge tab of Axiom Pro within milliseconds Work with TradingView alerts (webhook integration) Allow settings for buy amount, slippage, and risk controls Optional: auto-sell (TP/SL) Please only apply if you have experience building crypto trading bots and can deliver a fast, reliable solution.Please

Project information

Budget
30 - 50 USD
For the developer
27 - 45 USD
Deadline
to 7 day(s)