Jump to content

bauerju

Members
  • Posts

    18
  • Joined

  • Last visited

Posts posted by bauerju

  1. 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

  2. I dunno how either lol , if you have the mq4 of that EA i wanna see how they doing it

     

    Unfortunately I can not share this ea, It is the heart and soul of my hedge fund company. It was designed by me and I payed to have it coded. All I can say is that it is possible. Maybe I will try to look through the code tonight and find the exact instruction and copy and paste that in the forum here. would this most likely be in the beginning init of the code before the Start command?

×
×
  • Create New...