Modification of EA to show Dynamic Value at Risk & Portfolio Standard Deviation

MQL5 Indicators Experts

Job finished

Execution time 1 day
Feedback from customer
Great communicator and very skilled developer. I will definitely use his services again :)
Feedback from employee
c'est un tourjours vrai plaisir pour moi de travavaillez avec des client comme vous.

Specification

I've converted some of the code provided in this video: Coding Incremental VaR in MQL4 and MQL5 for Better Trading Risk Management | Free Code Download

The purpose of this code is to display the Value at Risk (in dollars of the entire portfolio) and Standard Deviation of Returns.

 he code was provided through the following GitHub Source: https://github.com/darwinex/advanced-mql-programming/tree/master/risk-man/incremental-var

 

Changes I have made to the code:

  1. Converted it from a Script to an Expert Advisor
  2. Replaced some of the code so that it dynamically measures the VAR for Current Open Positions Positions as Opposed to FIXED Positions.

 

Next Steps:

  1. Watch the video (or from 8:30 onwards), after watching this you will have some context. The issue that I am having is for the current live open positions the VaR is increasing irrespective on whether it is a Buy or Opposing Sell (note as you will notice in the demonstration of the video, these positions will cancel each other out).

Outcome 1):

I need the live trades on the account to equal the exact same VAR value as the predetermined code.

For example:

If the FIXED code specifies:

{"AUDCAD","EURGBP","USDCAD"}

{   0.1, - 0.1,  0.1}

Then if the VAR is $98 in the FIXED code then it should be the exact same value if I opened those positions and compared it to the Dynamic EA.

Outcome 2):

I need to be able to fetch the Standard Deviation of the Portfolio in the Expert Advisor code and display this in the EA (note this code is available in the mph file).

If more context is needed on Portfolio Standard Deviation then watch this video: MQL5 Coding Tutorial for Portfolio Std Deviation and VaR for MT5

Note: Load the MPH file in your Includes Folder, Value at Risk - FIXED is a Script & Value at Risk - Dynamic is an EA.

What I need is  Value at Risk - Dynamic edited, the other code provide is just for assistance.


Responded

1
Developer 1
Rating
(10)
Projects
25
28%
Arbitration
1
0% / 0%
Overdue
1
4%
Working
2
Developer 2
Rating
(5)
Projects
5
40%
Arbitration
1
0% / 100%
Overdue
1
20%
Free
Similar orders
Hello developers I hope this message finds you well. I am currently seeking a highly skilled developer for an important project. I need an exact copy of a TradingView indicator to be coded for the MetaTrader 4/5 platform. The indicator must be replicated with absolute precision, maintaining all its functionalities and features. Would you be able to take on this project? If so, I would appreciate discussing the
Hello Developers, I am looking for a highly skilled and experienced developer to code an exact copy of a specific indicator for TradingView. The indicator must be replicated with precise accuracy, maintaining all functionalities and features of the original. Requirements: Proficiency in Pine Script and experience with TradingView indicators. Demonstrated ability to replicate complex indicators with exact
MODIFICATION OF AND EXISTING EXPERT BY ADDING INDICATORS TO FUNCTION AS FILTERS, TRADE CLOSURE BY THE REVERSAL OF THE adx INDICATOR, LOOKING FOR TRADE BASED ON THE COLOR OF THE PERCENTAGE CHANGE INDICATOR (DPC) SELLING THE COLR IS RED AND DECREASING IN PERCENTAGE AND BUYING WHEN THE COLOR IS GREEN AND INCREASING IN PERCENTAGE . There is an EA I have been using which I splitted into long trading and short trading. It
I'm looking for very simple scanner dashboard based on Zigzag and I'm going to share more details to the right candidate. I want show some kinds of Signal when pattern match and when click from Dashboard it's opened new tab with chart and show that pattern. It should be use custom timeframe, Scan custom pair as well scan from Market Watch. Dashboard must be Responsive or adjust with any screen. It's based on Very
Looking for someone who can convert 130 Lines of Pinescript code to MT4/5 And I want extra input for scanning from Marketwatch and Custom Pairs. More details for the right candidate. And if you are high demand freelancer, please don't apply to this project. We're looking for someone who are individual and keep working with us. Thank you
i am looking for experienced programmer to create indicator for me. i am willing to pay for the service. and if it works amazingly like i expected. i will tip more money
I recently bought an indicator, that sends out notifications for trades i need to place, on the notification these and SL and TP, so i want an EA that would automate that for me
SMART MONEY 30 - 49 USD
--- Job Title: EA Programmer for Smart Money Concept (Urgent) Job Description: We are seeking an experienced EA programmer to finalize a project focused on implementing the Smart Money Concept. The progress is at 80%, and we need someone to complete the remaining tasks within a week. Project Requirements: - Liquidity, CHoCh, and Return to OrderBlock: Implement these key components effectively into the Expert Advisor
Hello developer Am looking for scanner of mt5 when the orange dot come I want scanner to give buy signal on that script and just beside it should show the number of candle the signal have came vise versa for sell . Here is image for understanding https://prnt.sc/sSIHDwGUWw9L&amp ;nbsp ; And it should have option to disable this option of counting candle . And i can make a list of symbol which all symbol I want to
I am looking for a tool that will calculate the max adverse excursion before a trade closes in profit or loss. The toll needs to analyse historical trades and record this value for each trade. The purpose is to assist me calculate the best stop loss for using a martingale system

Project information

Budget
85+ USD
For the developer
76.5 USD
Deadline
to 2 day(s)