Scripts: Place Hedge Order of unbalanced positions in MT4

Place Hedge Order of unbalanced positions in MT4:

This script will place hedge trade of unbalanced type in MT4.

Author: Biswarup Banerjee

Works perfectly thank you !!
Thanks so much for this beautiful code!
Please do you have an MT5 version?
I have been trying to write an MT5 version without success