Hi traders I need your help with this Expert

 
First Hello to everyone reading this topic . I need your help I have this expert witch works great but it has no Take Profit I need some help to add Take Profit option. Its simple  every candle trade expert the problem is that it has no take profit option and the second thing is that it has candle count options after every amount of same color candles open trade and then the problem appears  after I place Take profit manual  and hit I want the Expert to wait the opposite amount of the same candle color to open a trade witch the expert don't do he opens new trade from the last same color candles and make a loss I really hope we can fix it any help is welcome 
Files: