I figured out the problem... I had to change the Ask & bid with High1 & Low1.. cause it was calculating the SL & Tp from the current price and not the future open price... Before: ...
I'm using 50 point as SL & TP I think that's enough.. Strange think just happened.. now the code works fine eith the stops... but i only opens the sell order... Why doesn't it open the buy aswell... do i need to seperate the buy and sell order in ...