how you make the most will be the result of whatever action you take. there is no magic formula or recipe that guarantee’s profits, much less hitting the highest possible for any transactions.
some people choose to buy certain shares regardless of the price and cost-average over time, others may save their money until the stocks they are interested in drop to a certain price that they deem as a value-purchase opportunity. you should read books related to investing and the stock market to determine what your risk-tolerance is and how you will choose to go about growing your portfolio. I personally favour dividend companies for the longterm and the stability it provides, but there is also plenty of money to be made through growth stocks that don’t pay any dividends, it just requires more time and attention.
Certain companies will pay out dividends according to how many shares you held on the ex-dividend date, this will be put into your account as soon as possible after T212 receive the dividend and you will see a notification appear on your account to alert you to how much dividends you have received, this number will be post-tax adjusted. so for US stocks the 30% withholding tax would already be deducted, this % changes depending on tax treaties with the US.
Reinvesting can be done automatically for shares held inside a PIE, but is something you do manually for shares held and purchased manually outside of the PIE. how these dividends get reinvested is determined by your PIE-Ratio, or the shares you choose to manually purchase with this money outside of a PIE. you can put it back into the share that paid you, or use it towards another share to lock in buying opportunities during cost-averaging.