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

MQL4 インディケータ

指定

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 % ?


応答済み

1
開発者 1
評価
(121)
プロジェクト
159
49%
仲裁
15
53% / 27%
期限切れ
4
3%
2
開発者 2
評価
(1)
プロジェクト
1
100%
仲裁
0
期限切れ
0
3
開発者 3
評価
(363)
プロジェクト
389
70%
仲裁
3
100% / 0%
期限切れ
2
1%
取り込み中
4
開発者 4
評価
(376)
プロジェクト
474
40%
仲裁
82
37% / 33%
期限切れ
13
3%
取り込み中
5
開発者 5
評価
(289)
プロジェクト
431
64%
仲裁
5
40% / 0%
期限切れ
4
1%
取り込み中
6
開発者 6
評価
(563)
プロジェクト
932
47%
仲裁
301
59% / 25%
期限切れ
124
13%
仕事中
類似した注文
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

プロジェクト情報

予算
30+ USD
開発者用
27 USD
締め切り
最低 1 最高 20 日