Benchmark indices Sensex and Nifty traded flat on Tuesday as investors remained cautious after a recent rally. Weak Asian markets and foreign fund outflows weighed on sentiment, though both indices recovered from early losses to trade marginally higher