Ok, so the "magical" code I added is something I found out there somewhere in a post. Someone who wrote it made it available to anyone who needed to have that capability. Here it is:
Place the following at the top of your code:
//Checking for unconventional Point digits number
if (Point == 0.00001) Poin = 0.0001; //6 digits
else if (Point == 0.001) Poin = 0.01; //3 digits (for Yen based pairs)
else Poin = Point; //Normal
Then...change "Point" to Poin wherever it appears in the order section.
Compile it and you should be good to go. I don't know about the error you get but if I can fix that one I will post it too.
Now lets go and make some money eh?