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
Request For Trade Execution Script
- Gamma_gallus
- Trader
- Posts: 118
- Joined: Wed Nov 16, 2011 2:03 pm
- Location: France
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
http://www.forexfactory.com/showthread.php?t=281772
Gamma
-
camvcvoo
- Posts: 5
- Joined: Thu Nov 17, 2011 1:15 am
Re: Request For Trade Execution Script
Gamma_gallus wrote:Please check below link, this covers most of your requests.
http://www.forexfactory.com/showthread.php?t=281772
Gamma
Gamma,
Thank you for your reply.
I've checked in the thread as you've directed.
Cheers!