The EA continues with the same issues, if you don't mind I'd make a few modifications to avoid them by now:
-Instead of use Standard Deviation, please use X grids (visible) - based on daily volatility, above and below the random entry, and use the following strategy (put an option to disable this type of grids and be able to use manual grids):
-If we are long and price goes against and the 1st grid is reached, add a short position with n factor lot size. Close all positions when profit/pips reached.
-In this case (long) and if the price is continuing going against us, we only add short positions (until profit), if its going for us, we only add long positions.
-If we are short, do de inverse.
P.S. Please answer to my Day Break EA post.