piv for mini — I am by no means a mq4 programmer but made some changes to accommodate the mini accounts. someone please double check the code.