What i want is a script to calculate VOLUME NEEDED according to stop losses. Example table input below:
1) Trade Type: (Buy stop/Sell stop/buy limit/Sell limit) [drop down menu to choose from]
2) Stop Loss: USD$XXX.XX (in money form) [to key in the amount$ of desire stop loss]
3) Entry Price: 1.12345 (in price form) [to key in the entry price]
4) Stop Loss Price: 1.12345 (in price form) [to key in the stop loss price]
Once data input, click ok, and it will automatically open a pending order accordingly to Volume adjusted.
I am using Metatrader 4 (5 digit broker).