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
I just don't understand how the RF indicator calculates equity, and it is not clear how the MM is calculated, because we have the same position, how is it recalculated? I divided the profit value from the initial balance to the maximum equity point (and from initial balance to current equity) to the maximum drawdown.
RF = Current Equity / Maximal Drawdown. This formula is used in the indicator.
RF = (Current Equity - Initial Balance) / Maximum Drawdown. You are using this formula.
Which one is correct?
There may be several positions for different instruments opened at different times. When MM is enabled, the lot is calculated based on the current equity. It is not quite correct because free funds are not considered. Lot for one position is calculated from initial balance.
RF = Current Equity / Maximum Drawdown. This formula is used in the indicator.
RF = (Current Equity - Initial Balance) / Maximum Drawdown. You are using this formula.
Which one is correct?
There may be several positions for different instruments opened at different times. When MM is enabled, the lot is calculated based on the current equity. It is not quite correct because free funds are not considered. For one position the lot is calculated based on the initial balance.
Now I understand why the RF in this indicator appears to be large: RF = (Current Equity - Initial Balance) / Maximum Drawdown.
I was referring to a single multi-position with different lots opened at the same time.
Corrected and updated in Code Base.
In this case, when MM is enabled, the lots are recalculated as part of the initial balance.
The MM function in the indicator is experienced and should be treated with caution.
The MM function in the indicator is experienced and should be treated with care.
so does it work correctly now or...?
Oh, I remember that... I'll keep that in mind :)
I just thought there might be a problem with the function...
I have a question about the equitability calculation formula used in the indicator and scripts. Open prices are used in the original version (in v7 - Close), i.e. like this:
It has been found out (through testing, i.e. comparing indicators) that the indicator equity value does not coincide with that given by the MT4 tester. However, if we replace the prices with High (for buying) and Low (for selling), the indicators converge perfectly. Code for example:
Judging by the fact that this algorithm is used by the MT4 tester, we can assume that the server will calculate the drawdown in the same way. Hence the question - doesn't it make sense to tweak the indicator and scripts?If you like it better that way, tweak it.
Maybe the tester uses such an algorithm, but it is not multicurrency. Therefore, this calculation is only valid for one instrument (without locks).
Use of close prices at least provides some synchronization between the instruments. What cannot be said about High and Low.
This cut is the same for all instruments. I.e. it is safe to say that at xx hours xx minutes there were such prices. Try to name the exact time of formation of ectrems, e.g. for D1.