It can take some practice to always nail it, but essentially the line of action is an S or C shaped line that defines the biggest motion of the body. In most cases, the line follows the spine. When in doubt, try capturing the spine's motion with a C line.
Do you have any examples of your gesture studies? It will help us help you better!