Jump to content

⤴️-Paid Ad- Check advertising disclaimer here. Add your banner here.🔥

Recommended Posts

Posted (edited)

I just recently decided to try and learn MQL4 programming. I have no previous experience in any type of programming so this may be a simple fix.

 

I am looking for help from someone to explain to me why My first ea is not placing trades the way I would like it to.

 

The EA is supposed to be placing a Buystop and a sellstop trade. Only 1 trade each until one is closed out.

 

The EA is currently placing 2 buystop trades and not getting a chance to place a sellstop order. I think it wont place a sellstop because i have a 2 trade max rule. I dont want it placing 2 buystops but rather one buystop and one sellstop.

 

Below is the code.

any help is appreciated.

Thank you

 

Edit* nevermind i got it to work.

thanks

Edited by bauerju

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


⤴️-Paid Ad- Check advertising disclaimer here. Add your banner here.🔥

×
×
  • Create New...