Stock profits and loss calculation, if you did not close your counter P&L counted from you open position time.
So it will be normal that average cost is higher current price but P&L shows green.
It promotes smart investment strategy, add position in batches and sell out in batches. Nobody knows bottom and top position, that are big ranges.
P&L ignores the dividend income.
Disclaimer: Investing carries risk. This is not financial advice. The above content should not be regarded as an offer, recommendation, or solicitation on acquiring or disposing of any financial products, any associated discussions, comments, or posts by author or other users should not be considered as such either. It is solely for general information purpose only, which does not consider your own investment objectives, financial situations or needs. TTM assumes no responsibility or warranty for the accuracy and completeness of the information, investors should do their own research and may seek professional advice before investing.
You can choose the method here at the right top setting