Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 784
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
for this EA last)). Actually, it worked. It was the last one)). The Expert Advisor is for testing... So, work for several currencies and manual trading (together) is not envisaged yet...
Can you give me some tips for the future, it would be nice to know how to do it right...
Thanks again.
It is more correct not to write unnecessary things. Why did you put in nested loops? After all, everything you need can be done in one loop with one order selection.
I did not manage to get into that place where you have multi-line comments. Something seemed to me that there might be a compilation error there... Pay attention to my comments in the code.
What's the point?
Don't write unnecessary things. Why did you put in nested loops? Because everything you need can be done in one loop with one order selection.
I have not managed to understand that place where you have multi-line comments. Something seemed to me that there might be a compilation error there... Pay attention to my comments in the code.
There are no errors, but there is a suggestion to check theOrderSend.OrderClose. andOrderDelete functions
return value of 'OrderSend' should be checked .
Thanks for your comments.
Looking for the minimum of the "ZigZag" indicator in the array using"ArrayMinimum".
Can I set the search to ignore null values or will I have to use a loop to find them?
Looking for the minimum of the "ZigZag" indicator in the array using"ArrayMinimum".
Can I set the search to ignore null values or will I have to use a loop to find them?
Probably have to use a loop
How do we find the deepest correction between the maximum and the minimum? The maximum and minimum are known to us, it is not a problem to find them using iHighest and
If we use iHighest and iLowest, we will sometimes find near extrema as it is not always the case, as shown in the picture. Generally speaking, we need ABC formation identification.
I tried to apply ZigZag for that but it does not bring exact hits.
е.
Forexman77:
How do we find the deepest correction between the maximum and the minimum? The maximum and minimum are known to us, it is not a problem to find them using iHighest and
If we use iHighest and iLowest, we will sometimes find near extrema as it is not always the case, as shown in the picture. Generally speaking, we need ABC formation identification.
I tried to apply ZigZag for that but it does not bring exact hits.
All will be easy if to determine on what depth should seek. Instead of iLowest you can use CopyLow and ArrayMinimum()
I can't figure out how to code. I need the EA to wait for a certain amount of time if the last pose was unprofitable. Do you have any idea?