Flysky and Relay

Guys one last help if I may ask is I am trying to get the the 3 pole switch on my receiver to work now , so this is the basic concept there

the switch has 3 position

Up - (989) I put in 1200

Middle - I want to do range (1400 and 1500) This the part I am trying to figure out the equation for

Down- 1800 I in1800

if (sig6 < 1100)
    plowup = HIGH;
  else if (sig6 == 1400)
    plowup = LOW;

if (sig6 > 1800)
    plowdown = HIGH;
  else if (sig6 == 1500)
    plowdown = LOW;type or paste code here