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

MQL5 Indicateurs Experts

Tâche terminée

Temps d'exécution 1 jour
Commentaires du client
Great communicator and very skilled developer. I will definitely use his services again :)
Commentaires de l'employé
c'est un tourjours vrai plaisir pour moi de travavaillez avec des client comme vous.

Spécifications

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.


Répondu

1
Développeur 1
Évaluation
(16)
Projets
35
23%
Arbitrage
4
0% / 50%
En retard
2
6%
Travail
2
Développeur 2
Évaluation
(7)
Projets
7
29%
Arbitrage
3
0% / 100%
En retard
1
14%
Gratuit
Commandes similaires
I want an mt5 advisor which use advanced strategies like Accumulation, manipulate, distribution plus ABC pattern Recognition , Smart filters, Rsi + Ema crossovers, Hidden SL, partialTPs and dynamic lot sizing , works on Forex and crypto fully automated no expiry
Gold robot for 1 minute 100 - 150 USD
I need a EA as per the attached video. I need the same type of EA, once it is ready share the video of any demo account. if everything is ok I will purchase immediately. thank you
I’m hiring an experienced MQL5 developer to finish and fix an existing project (NOT building from scratch). I have: An existing MT5 EA (.mq5 + .ex5) that is based on my TradingView logic A TradingView indicator version used for signals/alerts The EA works but has logic/consistency issues and needs improvements + cleanup Goal Make the EA reliable and consistent: Ensure entries/exits match the intended logic Fix
It is better to spend thirty minutes to prepare a good text than to lose hours and days to resolve misunderstanding after concluding the Agreement or when accepting the order execution results
. Estou buscando adquirir um Expert Advisor (EA) existente e com fins lucrativos, com código-fonte completo, para adicionar ao portfólio de investimentos de nossos clientes. Para deixar claro, esta não é uma solicitação para desenvolver ou projetar uma nova estratégia. Se você já possui um EA comprovado, consistente e pronto para produção, com pelo menos 6 meses de histórico de desempenho, estou disposto a analisá-lo
Dear Developer, I am looking to develop both a MetaTrader 5 Indicator and a MetaTrader 5 Expert Advisor (EA) based on the swing depth logic shown in the Pine Script code attached below. The indicator and EA must be built as separate files but must follow the exact same signal logic so both display and execute identically. Please carefully review the requirements below and confirm your understanding before starting
I have a High-Frequency Trading EA and I need a full conversion and optimization for MT5. The goal is to ensure stable execution and reliable performance on real accounts (IC Markets Raw and similar ECN brokers). I need an experienced and reputable MQL5 developer to: Convert the existing strategy to MT5 with full fidelity to the original trading logic (entries, SL, breakeven, trailing, pending orders). Optimize the
Hello friends, We need Robot, EA , or Trading software with proven( 6 to 12 months) and it should be given consistent profit upto 3 % per month with no risk ( low Drawdown ), we will pay what you ask, and also We are regulated forex broker and we have all access like FIX API etc, and we dealing with Top tier 1 LPs . Thanks
Looking to acquire an existing, profitable Expert Advisor (EA) with full source code to add to our client investment portfolio. To be clear, this is not a request to develop or design a new strategy. If you already have an EA that is proven, consistent, and production-ready, with at least 6 months of history performance I’m open to reviewing it immediately. Please apply only if you meet all the requirements below
Need a quarantine winning bot to trade step100, vix 75,25,50 and 30. Serious persons only. Minimum to no lost. Should’ve able to trade secondly rapidly and daily . Should only enter winning trades

Informations sur le projet

Budget
85+ USD
Délais
à 2 jour(s)