How to find the distance between peaks and troughs?



I want to know how do you measure the price distance between the peaks and the troughs of the waves. I'm not sure but I think I noticed that some trailing stop ideas use this idea in some way(if I read right..) and I want to try and experiment some more on it. I want to place a certain cut off distance the price or some kind of moving average line or whatever will travel past in order to trigger my trailing line. I'm thinking I might hopefully find a good use if I can somehow know the distance between the wave highs and lows or otherwise known as peaks and troughs. I then want to make a moving average of this distance that I can plot that way a trailing stop line can incorporate it without me having to constantly plug in the number by hand every time the price keeps making more waves, which I am doing at the moment.

Similar threads