vipetrul,
Dave provides a full session called "Module 6: Money Management" here:
InformedTrades : Learn Trading. Trading Education. | - Basics of Trading Course
I am not sure there is a tool that can tell you when a stock went all the way up, and will start going down, but you can use the trailing Stop to make sure you have the profits in your hand, in case the stock will start going down. You also can trim the trailing stock gap to a smaller gap, as the stock goes higher, just to maximize the profits.