Heyeveryone, i've been at this one for a couple days (im really new to coding) so long story short, bought a book, they give you a simple ea to work with, i've been tweaking and trying to code my own
strategy into it (my manual one) and i cannot for the life of me get it to work lol.. all im trying to do is get the stop loss to show up above or below the setup candle which is just 1 pip off of the close[1] , i've tried so many different combinations of this and that
if someone could have a peek at the code i have and steer me in the right direction that would be greatly appreciated!
the two different stop loss variables im trying to implement are below, one for long positions one for short positions.
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.
Heyeveryone, i've been at this one for a couple days (im really new to coding) so long story short, bought a book, they give you a simple ea to work with, i've been tweaking and trying to code my own
strategy into it (my manual one) and i cannot for the life of me get it to work lol.. all im trying to do is get the stop loss to show up above or below the setup candle which is just 1 pip off of the close[1] , i've tried so many different combinations of this and that
if someone could have a peek at the code i have and steer me in the right direction that would be greatly appreciated!
the two different stop loss variables im trying to implement are below, one for long positions one for short positions.
thanks everyone!