
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
As I would like to continously adapt the MAE, MFE on a running expert I think the code to calculate the values should be based on a common structure.
Check this article, too.
So the code could be indepent wherever the deals are read from.
For this kind of calculation it might sufficent to record only the exits. If you have an in/out than split the record into an "in" and "out" record.
So you could use the struct of this article as a basis model for the deals (fill the same structure from the html-parser and write to csv):