sorry for the late replay, somehow I have missed answering you.
The formula is not really a complicated thing. Just as you see it. The lots are coming easily from the calculations. It is just math that we fit the lots, so we can exit the whole equation without losses.
Now I am creating a new Ethereum cryptocurrency never losing formula course, and I will do my best o explain it clearer.