HosseinKOGO:
Hello pals,
Hope you are happy today.
I wanted to calculate and comment Maximal Drawdown and Relative DD for each tick.
But the commented Maximal DD and Relative DD results are different from what is presented in backtest report.
It would be greatly appreciated to point me where my mistake is.
P.S.
1.I know how to use GVs to store values, this code is just for backtest.
2.I used arrays because I want to do some work on each my Drawdowns after this.
The question is: Why this code shows different MaximalDD from my backtest report?
Hello pals,
Hope you are happy today.
I wanted to calculate and comment Maximal Drawdown and Relative DD for each tick.
But the commented Maximal DD and Relative DD results are different from what is presented in backtest report.
It would be greatly appreciated to point me where my mistake is.
P.S.
1.I know how to use GVs to store values, this code is just for backtest.
2.I used arrays because I want to do some work on each my Drawdowns after this.
The question is: Why this code shows different MaximalDD from my backtest report?
this doesnt work for boom and crash indexes as the spike is a reset of the price i am very confident this is what you are trying to do
HosseinKOGO:
Hello pals,
Hope you are happy today.
I wanted to calculate and comment Maximal Drawdown and Relative DD for each tick.
But the commented Maximal DD and Relative DD results are different from what is presented in backtest report.
It would be greatly appreciated to point me where my mistake is.
P.S.
1.I know how to use GVs to store values, this code is just for backtest.
2.I used arrays because I want to do some work on each my Drawdowns after this.
The question is: Why this code shows different MaximalDD from my backtest report?
Could anybody help me please?Hello pals,
Hope you are happy today.
I wanted to calculate and comment Maximal Drawdown and Relative DD for each tick.
But the commented Maximal DD and Relative DD results are different from what is presented in backtest report.
It would be greatly appreciated to point me where my mistake is.
P.S.
1.I know how to use GVs to store values, this code is just for backtest.
2.I used arrays because I want to do some work on each my Drawdowns after this.
The question is: Why this code shows different MaximalDD from my backtest report?
I'm still stuck :(
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hope you are happy today.
I wanted to calculate and comment Maximal Drawdown and Relative DD for each tick.
But the commented Maximal DD and Relative DD results are different from what is presented in backtest report.
It would be greatly appreciated to point me where my mistake is.
P.S.
1.I know how to use GVs to store values, this code is just for backtest.
2.I used arrays because I want to do some work on each my Drawdowns after this.
The question is: Why this code shows different MaximalDD from my backtest report?