Sells not working, need help.
-
https://fxdreema.com/shared/mO4db2YGc
"N" day breakout strategy. Buy when we get above the high of "N" days (and close out sells), and sell when we get below the low of "N" days (and close out longs).
For some reason, it does not detect the "N" day low.
I added a log message to it, to identify the problem. It does not print the message (it does for the high), indicating the problem is within the condition block. I don't understand, since the long trades do work and it's just the exact opposite.
In it's current state it takes one long trade and holds it forever.
-
Draw a line on these values, then visually check if correct values have been selected.
-
@jstap https://fxdreema.com/shared/N37zK7q6d
The line gets drawn correctly.
-
I got it to work. I just referred to the lines in the condition block instead of market price.
Even though it works now, I still don't understand why it worked for longs but not for sells.
-
I am unsure why, I think the admin is doing lots of work on MT5
-
Here it is better to use candle "1" because candle "0" is also the market price, although not the middle one but it could be due to such a constellation.
