Quote:
Originally Posted by aaron_pm
in conclusion, I want to do what you indicate in your description ."""This expert advisor always opens position on cross and closes it on the next cross""""".
.. to open the operation cierrre the other .... this happens to me more often when the crossing is faster in a short time line, I remember that I operate in charts 5 min.
|
There are two possibilities when it won't act on cross:
1. It trades only on new bar opening. So, if the cross appear only during the period but the bar closes without cross, it won't do anything.
2. It won't count a cross as a real cross if the difference between the MAs is less than MinDiff (input parameter), which 3 pips by default.