I need someone get perfect correct max drawdown calculation for my indicator.

MQL4 Göstergeler

İş Gereklilikleri

My indicator always show wrong MAX Drawdown %.

I google search mql4 code imposible to get history of Account_Equity()
reference : https://www.forexfactory.com/thread/219277-history-of-accountequity

So I think it is impossible to get the drawdown % of particular day in history.

-------------------------------

I try my own calculation but i still feel bug every where :

Deposited 100

Code check trade history

day 1:

1st Trade closed +3

2nd Trade closed -1

3rd Trade closed -2

4th trade closed -6

So total up profit & loss of all trades = -6

So I assuming max dd is -6%  


Then code check current open trade :

current floating trades losing -15%

So I assuming total max dd is -6%   +   -15  =  -21%

But here I see a bug there was too big gap between deposited date (30 Oct 1999) and today floating date (15 June 2022). So how to fix the bug?

Ok solution is As we know when all trade close, when there is 0 floating trade, then capital is equal to equity, so update deposit value from 100 to 150 if current balance is 150 and 0 floating trade now. 

I think it is very bad solution. Anyone has better solution to calculate max dd % ?


Yanıtlandı

1
Geliştirici 1
Derecelendirme
(121)
Projeler
159
49%
Arabuluculuk
15
53% / 27%
Süresi dolmuş
4
3%
Serbest
2
Geliştirici 2
Derecelendirme
(1)
Projeler
1
100%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
3
Geliştirici 3
Derecelendirme
(363)
Projeler
389
70%
Arabuluculuk
3
100% / 0%
Süresi dolmuş
2
1%
Yüklendi
4
Geliştirici 4
Derecelendirme
(376)
Projeler
474
40%
Arabuluculuk
82
37% / 33%
Süresi dolmuş
13
3%
Yüklendi
5
Geliştirici 5
Derecelendirme
(289)
Projeler
431
64%
Arabuluculuk
5
40% / 0%
Süresi dolmuş
4
1%
Yüklendi
6
Geliştirici 6
Derecelendirme
(563)
Projeler
932
47%
Arabuluculuk
301
59% / 25%
Süresi dolmuş
124
13%
Çalışıyor
Benzer siparişler
I need someone the create a supertrend indicator based on Heikin Ashi candles instead of normal candles. Needs to be exactly the same as the supertrend (original one) + ha from tradingview. In m1,m5,m15 the indicator must have the same values ​​found with the tradingview. Work that meets this requirement will be accepted ( depending on the broker and spread, however, a few pips of difference will be accepted)
Here is a detailed instruction for the coder to implement the vertical lines based on the BrainTrainSignalAlert indicator: --- **Task: Implement Vertical Lines for Alerts from BrainTrainSignalAlert Indicator** **Objective:** Create a system that adds vertical lines on specified timeframes (M5 or M30) whenever an alert is generated by the BrainTrainSignalAlert indicator on the H1, H4, and D1 timeframes. The lines
Hello Guys! I want to modify/fix the indicator that uses sequential type of entries (it calculates from 1 to 9) and if the conditions are met it provides an arrow (signal) with alert. The problem is that, sometimes (for unknown for me reasons) it repaints arrow signal. Like on the picture: Signal 1 - correct signal Signal 2 - correct signal Signal 3 - correct signal Signal 4 - repaints (signal 3 arrow dissapeared
Merge 2 ZickZack indicators to 1 indicator. Indicator 1 is a ZickZack Pointer. Indicator 2 is based on 3 level ZickZack semaphore. Indicator source codes will be provided to the selected developer
Hi, I have a Live Data feature for my trading accounts that lets me check details like total open positions, number of lots, profits, etc. I need someone to add the number of pending orders to this live data. This is important for me to ensure that all accounts have the same number of pending orders, since I use a copy trading system. Also, there is a website where I check all the data. In this case, you would need
Hello, i am searching for an experienced, professional software engineer, who can convert three Indicators from MQL4 to MQL5. This may sound like an easy job, but one indicator is like a trading system and therefore a bit complex. So you need to have a very good understanding of both languages. You should also be able to code MQL5 classes ( https://www.mql5.com/en/docs/basis/oop ). The intention is to code MQL5
I came across an indicator that's perfectly good in catching spikes in boom amd crash but i would want it to be modified and to improve accuracy As a professional you will have to go through the indicator and explain to me the strategy with which the indicator was buid and tell me the possibility of improving it better
An EA that executes when the 21 and 55 SMA Cross on certain time frame also the EA will understand supply and demand levels and executes when price reacts on this levels specified and target/stoploss levels will be predetermined...also the robot will also comprise stochastic oscillator
I have a full code ,, There are some errors in this.It does not add to the chart, does not show arrow marks, does not alert ,, fix this problem and work properly,, Contact on telegram @Gw_rakib1
Starting from scratch, I need a solution to develop my own crypto trading and exchange platform. This platform should compare prices across various exchanges like Coinbase, Binance, KuCoin, and Unocoin, as well as different cryptocurrencies. The solution must identify opportunities to buy on one platform and sell on another for a profit, transferring funds to my personal wallet instantly for security. The bot should

Proje bilgisi

Bütçe
30+ USD
Geliştirici için
27 USD
Son teslim tarihi
from 1 to 20 gün