Maximum concurrent entry logic incorrect. As you take it signal wise but it should be signal plus qty, becuase when a Buy- Sell and Sell Comes and if we dont increase the maximum concurrent entry to 1 it will not take the trade considering it has already taken a Sell trade, But actually there is no trade that is on going as it is alread Sold. And if we increase the concurrent to 2 and if we get same side trade twice it will increase the qty. If one has to restrict with no additional trade one single trade on same direction he is not able to maintain it.