Trade method switch due to case, How to clear signals of last Trade Method


switch(autotrademode)
{

case("Trade Method 1"):

ma15=MA(C,15);

Buy=Ref(C,-2) < Ref(ma15,-2) AND Ref(C,-1) > Ref(ma15,-1) ;
Cover=Ref(C,-2) < Ref(ma15,-2) AND Ref(C,-1) > Ref(ma15,-1) ;

Short= Ref(C,-2) > Ref(ma15,-2) AND Ref(C,-1) < Ref(ma15,-1);
Sell=Ref(C,-2) > Ref(ma15,-2) AND Ref(C,-1) < Ref(ma15,-1);

break;
case("Trade Method 2"):

Plot(expos,"Execute Position",colorwhite);

Buy =  Cover = Ref(H,-1)>expos AND Ref (L,-1) <expos AND Ref(C,-1)>expos;
Short = Sell=  Ref(H,-1)>expos AND Ref (L,-1) <expos  AND Ref(C,-1)<expos;

break;

}

Buy=ExRem(Buy,Sell);
Sell=ExRem(Sell,Buy);	
Short=ExRem(Short,Cover);
Cover=ExRem(Cover,Short);

After Switch from "Trade Method 1" to "Trade Method 2",
How to clear all the " buy or short " signals of "Trade Method 1"

and simply wait the "Trade Method 2" buy or short trigger
What code should I add to make it?

e.g.
By "Trade Method 1" Buy signal , i am holding 2 long positon

and then switch to "Trade Method 2",
if buy con reached, do nth , just keep holing 2 long positon
if short con reached, sell 2 long position and short 2 positon

Thanks!