Quote from bundlemaker:
In order to create a probablity function you need to analyze a frequency distribution. There is no one formula to do this. You can run any number of statistical studies on the distribution, and you can vary how you define the distribution. This is really what auction market theory (what Market Profile has evolved into) is all about. But, it's not nearly as simple as just coming up with "the" formula to determine probablity of something happening. I'd recommend studying statistics, probablity, and game theory; and start getting comfortable with Excel.
For those interested in making money, and not imposing their model on the market,
I'm re-posting Bundlemaker's answer...