| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Request For Trade Execution Script https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=52 |
Page 1 of 1 |
| Author: | camvcvoo [ Sat Nov 19, 2011 3:05 pm ] |
| Post subject: | Request For Trade Execution Script |
Hi All Coders, I am asking your help in creating a trade execution script. Here's what i want: Assuming i have balance (regardless of currency) of 1,345,000 in my account. When i double click the BUY (same for SELL) script, it should do the following: 1. To arrive the trading lot size, the script should divide the balance in the account by 10,000. Using the above example, the trading lot size should be 1,345,000 / 10,000 = 134.50 standard lots. However, my broker's max trading lot size per trade is 100.00 lots. Therefore, the script should be able to divide the total lot size into two equal trades (divisible by 2), if the total trading lot size is greater than 100.00 lots. So the script should send two (2) trades of 67.25 lots each. 2. After successful execution of trades, the script would immediately put stop loss of, for example, 5% of balance in terms of pips. The script should give me the freedom of adjusting the risk % to my liking. Really hope that someone out there can do this trade execution script for me, for free __________________ Victor V 雨 得 The best way to help the poor is not to become one of them |
|
| Author: | Gamma_gallus [ Sat Nov 19, 2011 3:10 pm ] |
| Post subject: | Re: Request For Trade Execution Script |
Please check below link, this covers most of your requests. http://www.forexfactory.com/showthread.php?t=281772 Gamma |
|
| Author: | camvcvoo [ Sun Nov 20, 2011 5:49 am ] |
| Post subject: | Re: Request For Trade Execution Script |
Gamma, Thank you for your reply. I've checked in the thread as you've directed. Cheers! |
|
| All times are UTC | Page 1 of 1 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|