Would you send me file or advice for management of Hedge strategy,

 
When I use hedge on every last candle high low price. It's begin so good results. But when Bid price move between high low repeat too many times, that candles open positions increase. If positions over 200 that snetme error 148. How do I solve that problem.
 
Show your code here to get the right answer, otherwise, no one can know the exact reason for your code problem.
 
Erdenebayar Lamjav:
When I use hedge on every last candle high low price. It's begin so good results. But when Bid price move between high low repeat too many times, that candles open positions increase. If positions over 200 that snetme error 148. How do I solve that problem.
Error 148 is too many open and pending orders. So it's up to you to manage it, there is no universal solution.