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
(160)
Projects
204
60%
Arbitration
10
80% / 0%
Overdue
0
Working
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
(460)
Projects
487
70%
Arbitration
6
67% / 0%
Overdue
2
0%
Free
7
Developer 7
Rating
(610)
Projects
709
33%
Arbitration
45
47% / 42%
Overdue
14
2%
Working
8
Developer 8
Rating
(568)
Projects
641
41%
Arbitration
25
48% / 36%
Overdue
46
7%
Working
Similar orders
Code An Loss Rate 90-100% MT5 EA , that can blow a 100 USD account a day ,with fixed TP of 3000 points and SL of 3000 For better Rate Calculations get an strategy that can lead to so
I need an Expert Advisor for MT5 on XAUUSD 1min timeframe using SMC concepts. STRATEGY RULES: SELL: 1. Identify previous day High/Low as liquidity 2. Entry only during London-NY session: 15:00-19:00 GMT+3 or broker clock. 3. If price sweeps previous day High and closes back below it 4. Check for bearish 1min FVG below sweep candle 5. Wait for BOS - lower low 6. Entry: Sell/buy at 50% of the FVG 7. SL: 10 pips above
Shooter razor 30+ USD
Makes it takes trades by it self buy and sell, it must use the higher signals, also when I press stop it must not pick any trades I want it to take trades automatically when I press start also close by it self
8 cap prop firm passing 30 - 3000 USD
I am looking for an experienced MQL4/MQL5 HFT developer to build or optimize a High-Frequency Trading (HFT) Expert Advisor that can successfully pass proprietary trading firm challenges and perform consistently under live trading conditions with brokers such as 8cap or BlackBull Markets . The developer should have proven experience with HFT execution, ultra-low-latency trading, broker execution, slippage, spreads
I need a professional MT5 Expert Advisor (MQL5) for XAU/USD (Gold) only. Requirements: - Symbol: XAU/USD only - Timeframe: H1 trend, M5 entry - Smart Money Concept (SMC) - Liquidity Sweep - Break of Structure (BOS) - Order Block Retest - Confirmation Candle (Engulfing or Pin Bar) - ATR-based Stop Loss - Risk:Reward = 1:3 (adjustable) - Auto Lot (1% risk) - Break Even - Trailing Stop - Maximum 2 trades per day - One
I have a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5 designed primarily for US30 (Dow Jones Index) . The EA performs consistently and profitably on demo accounts, but when I run it on an IC Markets Raw or Standard live account, it starts generating losses under what appear to be the same trading conditions. At this time, I cannot provide the source code (.mq4/.mq5). I can only provide the
I need an Expert Advisor for MT5 on XAUUSD 1min timeframe using SMC concepts. STRATEGY RULES: SELL: 1. Identify previous day High/Low as liquidity 2. Entry only during London-NY session: 15:00-19:00 GMT+3 3. If price sweeps previous day High and closes back below it 4. Check for bearish 1min FVG below sweep candle 5. Wait for BOS - lower low 6. Entry: Sell at 50% of the FVG 7. SL: 10 pips above sweep wick 8. TP: 2R
Hello looking for someone to convert an indicator from tradingview to Thinkorswim I have attached the codes from trading view Also, I like make it trigger (alert) a one-time alert when the trend changes, and can also create a custom watchlist column that flags symbols currently in a new trend so you can scan multiple stocks easily. And like the watchlist to show only fresh trend changes or the current trend direction
I want to build a fundamental news trading bot that trade off economic news data, as we know every economic news data released always have effect on the asset associated with it, so this bot will take a trade instantly based on the news data released either to buy or sell, it will come with good money management and also SL and TP target based on price and pips value
I have a EA/indicator that I want built. I should say 1st off dont know how to code myself so I will be using AI to verify that the source code is complete and matches the documents spec or if better so if you can not truly do the job do not waste either of out time. This is a idea I came.up wit and used AI to produce a framework for it.... and of course AI isn't 100% accurate so I need a knowledgeable quantitative

Project information

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