How do you prevent yourself from being the last buyer? Buy once it makes a new high. Simple as that. Try it on AMZN, FB, STZ it works.
This is all assuming they have fundamentals that warrant a buy. Use simply-wallstreet, chartmill, or stock-row to help figure that out if you can't do it yourself.
DISCLAIMER: This was a chart for a friend. I DO NOT ADVISE BUYING THIS JUST BECAUSE I MADE A CHART FOR IT! For Education purposes only.