Q:

Two way switch using transistors

Friends, I am very new to electronics and I am trying to design a simple switch with a transistor. Following is the circuit:

The input is a square wave generator with positive and negative cycles but the output current is zero when the cycle is negative. Can anybody please help me redesign this to switch a negative current in the output when the input is negative? ie, the output current should be positive when the input is positive and the output should be negative when the input is negative.

A:

After a lot of research and experiments with a software simulator, I could be able to redesign my circuit like this-

It works perfectly in the simulator.

