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
This makes the EA incompatible with any other including itself on other pairs
I seem to be getting multiple trades in various directions which seem to close at sl and/or close multiple close results
Regardless of using both of the for loops or one or the other this produces many open/close trades which all close with s/l
At the end of the results there are numerous closed trades in positive gains which say: close at stop
I know I have to close these trades somehow and do not appear to understand the concept even though I am using the example from the lessons which I thought I understood what to do and how it works.
Oh well, Back to the Drawing Board again.
Thanks for all the answers I will eventually understand this, I think I need some more lessons and reading.
P.S
I did code the wasLastBuy codes etc. into this code as well, which I have taken out temporarily because it caused the EA to only place 1 trade then never again traded.
Ok, so it's sort of an EA ID, and would be a different number for each order and associated with a particular EA
What about the same EA on different time frames, would this be handled by the magic number also ? Or a totally different process ?
Just in case the EA is put on other charts and the user doesn't change the magic number.
For the case where the EA is put on the same pair but different timeframe, either the user MUST change the magic number, or you must use a range of magic numbers