Hmmm ok Ive been looking through charts and it seems that my script is not executing any trades on a Friday and since I ran this script for the first time on Friday it now makes more sense why trades didnt execute even though my rules said they should of. But also looking through the backtest it seems there is no trades on Fridays there either so I obviously have a problem somewhere in my script, will try playing with it now Ive atleast narrowed it down a bit might not be my trade management function afterall.