Can someone check my code?

 
https://www.mql5.com/en/code/14085


I used this code as a base and modified it to close the last trade of either OP_TYPE before opening the next. However, after a while the trade copier stops placing trades altogether. My modified source code is posted below.
Simple Copier
Simple Copier
  • www.mql5.com
Simple Levels EA opens trades from support and resistance levels which were set by a trader. FibonacciPivot Fibonacci indicator drawing levels on previous day. Singleton Example This is a working singleton code example. A singleton object...
Files: