mt4 EA how to backtest and optimize on multiple conditions

 
I have a problem and see whether u can help ========================================== 3 conditions to buy a. RSI > X b. MACD Gold Cross Already c. ADX Gold Cross Already If a and b and c, then BUY Looks simple, but if I wanna backtest to see if all a /b/c are really helping , may be only 2 out of 3 are worth doing. I think on it for month but no progress I try to add a logical T/F operator to each condition, but cannot link them up, can u inspire me a bit how to make it? May be a simple questions for u, it really make me no progress for month