I have only been programming for about 3 days and am looking for help with a problem I am having.
I am trying to create a simple first EA with buy/sell stop orders.
The problem I am having is when backtesting depending on where price is the EA is placing a new buystop, or sellstop every tick.
The code is below, i dont know what I am doing wrong so any help is appreciated.
Thank you
Nevermind, I figured it out.
Thanks anyways
I am trying to create a simple first EA with buy/sell stop orders.
The problem I am having is when backtesting depending on where price is the EA is placing a new buystop, or sellstop every tick.
The code is below, i dont know what I am doing wrong so any help is appreciated.
Thank you
Nevermind, I figured it out.
Thanks anyways