| New signals service! | |
|
|||||||
| Register in Forex TSD! | |
|
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information |
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Quote:
can anyone help me? |
|
|||
|
Money management question
Hello all!
I'm looking for a piece of code that calculate the amount of money to put into a trade as a fixed precentage of the account. Now, I know the "fx maney management" indicator that Newdigital published in the past. The problem with that code and a lot of other similar indicators, that it is not taking into considaration other open positions. What I mean is, that if I want to put 1% of my account into a trade, but I already has an open position(s), I want to calculate the amount of money to put into the new trade as a precentage from the account's balance if the existing postion will hit it's SL. In other words, I want to calculate the precentage from the worst-case-balance in real time. Does anyone know a code to do that (calculating the current worst-case-balance)? Thanks ! |
|
||||
|
Money manager
Quote:
Try this it is very basic let me know what needs to be altered, Text size , text type and line colors can be altered to suit your requirements and the original comments in the top left corner can be turned OFF/ON also Money Manager Window.ex4 |
|
|||
|
Quote:
Can you please post also the source code? 10X ! |
|
|||
|
cja
Just a suggestion to make the MM even more useful. What about instead of setting figures for open price and stop loss having a bool for 'UseAsk' for ask or (false) bid. then the stop loss could just be number of pips instead of a set amount. It would just make it simpler to use I think. Just an idea. ![]() Take care Lux PS: Did you test it on Interbank too? Looks like it's not reading the suffix 'm' to me (could be wrong).
__________________
Build An Expert Advisor. FREE E-course As Seen On TV ![]() ForexArea.com Users of Gap Trader from 'Forex-Assistant' MUST Read This Last edited by luxinterior; 01-23-2008 at 07:20 AM. |
![]() |
| Bookmarks |
| Tags |
| money management |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help Needed Making Perfect Trailing Stop EA | sbwent | Expert Advisors - Metatrader 4 | 27 | 03-13-2008 04:30 AM |
| The perfect trader | black ice | General Discussion | 9 | 11-14-2006 05:51 AM |
| 10k lot size brokers | kevmcfoster | Suggestions for Trading Systems | 12 | 10-06-2006 11:25 PM |
| Must have utility for MT coders who are not 100% perfect | ycomp | Tools and utilities | 2 | 02-23-2006 10:45 PM |