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
Hello, I'm looking for a function, do you have one ready?
I need a file to be created at the end of the test, which would contain data on the drawdown of each order. Preferably, this file would not be created during the test, but at the end of the one-time processing of the trades history...
I do not have such a function but I am planning to publish the function calculating the maximal drawdown of the current open positions in the nearest future. This function analyzes order passing by bars. Timeframe is one of the parameters. The smaller is the timeframe, the more accurate is the calculation of the maximal drawdown. I think you will be able to do what you need based on this function.
If the function also has a record in the file - that would be great...
But I don't see any particular need to calculate the drawdown for current positions. I think this function is more useful for a tester (analysis of system's work) ....
If there's also writing to a file in the function, that would be great...
But I don't see any particular need to calculate the drawdown for current positions. I think this function is more useful for a tester (system analysis) ....
Hello, I'm looking for a function, do you have one ready?
I need a file to be created at the end of the test, which would contain data on the drawdown of each order. Preferably, this file would not be created during the test, but at the end of the one-time processing of the trades history...
Checked it and it seems to be working correctly.
Add code from deinit() to your owls and copy three functions below deinit, one of them is Igor's ))
.......
The code is loose... But as long as Igor makes it beautiful, I think you'll have enough to experiment.
Yuri, I hastily pulled the code from an old EA...
Checked it, seems to be working correctly.
Add code from deinit() to your owls and copy three functions below deinit, one of them is Igor's ))
.......
The code is loose... But as long as Igor makes it look nice, I think you'll have enough to experiment with.
Great, thanks !!!!!!!!!! I'll look into it....
Igor, Good afternoon!
I put your function CrossPointOfLines (calculates the coordinates of intersection point of two lines) into my Expert Advisor. As a result, it keeps writing in comments: It has failed to find the intersection point! And cannot find the intersection point.
Maybe it's because I have other objects on my chart in the form of trendlines? Or maybe you or one of the regulars in this thread can tell me what my problem is?
Thanks in advance!
Code - in the attached file.
HOORAY! I figured it out myself) Other trending ones got in the way...
Since I'm not very good at making friends with arrays, I've made a maximally simplified function. So far it seems to be working).