i send high (1) and low (2)
No, you don't. You send serial data.
but to measure the frequency i have to connect the output pin of the receiver to pin 8 on the arduino uno (my arduino development kit).
The output is serial data, not something with a frequency.
and i want to know is the frequency changed if i move the receiver away or near from the transmitter ?
No, it isn't.