I'm not sure I understand the significance. Are you saying because "i" is always equal to -1, it'll never show an arrow? I still don't know how to debug this thing to actually make it work then.
Sorry if I seem a little dense, still fairly new at mql.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
In your code, when you place the arrow, "i" is always equal to -1
I'm not sure I understand the significance. Are you saying because "i" is always equal to -1, it'll never show an arrow? I still don't know how to debug this thing to actually make it work then.
Sorry if I seem a little dense, still fairly new at mql.
btw - thanks for taking the time to help out.
Here is a modification of your code, closer to what you think you want it to do.
However, your conditions are very rarely if ever acheived.