Share your insights or perspective on the financial matter presented in the input.

Is there any algorithm to calculate highest possible return on stock market?
You can statistically estimate the maximal loss/gain over a period of time T by the highest loss/gain during any of the same length time intervals in during the life of the stock. Using logarithmic prices to be more accurate.