This script automates and makes easier the process of sending orders both longs and shorts using the isLong input in the input prompt. It gives you the flexibility to input specific stop loss and take profit prices and with those prices with a lot size calculator internally programmed, it calculates the optimal lot size at the risk percent value you input. The output is a long or short order at the optimal lot size reflecting your risk. Attached are screen shots showing the input box when it is run and the expert tab showing the successful execution of the script.