Help me with the coding this script - page 2

 
Lakshan Perera:

I think this what you wanted..
But remember as said above You need to check stop levels and acceptable lots sizes in your code, but I just wrote the basic code only, you can modify it by looking at the above codes posted by @Konstantin Nikitin

Sheesh, it works like charm! Thank you for what you do. I'm really grateful, bro. Thanks, again. 

Reason: