Hi! I am backtesting a simple EA I wrote and the EA takes a position when the bar closes outside of the Bollinger Band (either upper or lower). But what I want is the EA to take a position as soon as the BB is hit (next tick). Probably common question, but can't find the information online searching
Hi, Trying to understand why I got the OrderClose error 4051 (invalid ticket for OrderClose function). I did read all the documentation I could find on google searching for the error code . Also read https://www.mql5.com/en/forum/139592 . But because I am writing my first EA I don't fully understand
Hi everyone, Practising writing EA's and want to build a simple robot and see how it works. I am trying to write a rule: If upper bollinger band is hit sell fixed position size and vice versa. My reasoning was that I should compare the current price level of the upper band with the current tick and