June 14, 2007

Fwd: Preventing over-leveraging (Was: IBFX problems)

Filed under: Uncategorized — by TraderMade @ 1:25 am
Tags: , , , , ,

———- Forwarded message ———-
From: Darma
Date: Jun 14, 2007 8:26 AM
Subject: Preventing over-leveraging (Was: IBFX problems)

Regarding preventing over leveraging the account, i have these lines on my EAs :

// Money Management
if (prm_mm_enabled) {
volume = NormalizeDouble((AccountBalance()*prm_gearing_ratio)
} else {
volume = prm_mm_fixed_volume;
if (volume > MarketInfo(Symbol(), MODE_MAXLOT)) {
volume = MarketInfo(Symbol(), MODE_MAXLOT);
} else if (volume < MarketInfo(Symbol(), MODE_MINLOT)) {
volume = MarketInfo(Symbol(), MODE_MINLOT);

i use prm_gearing_ratio = 5 to 6. 10 is the most agressive number for me.
prm_pair_diversify needs to be input externally by me since i havent found a way for the EA to detect by itself how many pairs it is trading in a single account at a particular moment.
Does anyone has any idea on this?


On 6/13/07, accrete < > wrote:

I agree on not overleveraging the account. I know that (as mentioned and hoped for by another member) the idea Bluto stated he would incorporate in a future version is that of telling the EA just how much of the account it was allowed to trade. This would add a measure of safety also.

: ) Thom

—– Original Message —–
From: Sam

One thing to avoid is overleverage. I believe it’s best to leverage only around 10-20% of the account. Usually when we overleverage we want to be stringing on SL thereby prone to SL hunting as well as margin call danger. Forex is full of suprises. The goal is to be able to survive long term.


For archives of Experts and Indicators from the MetaTrader Experts and Indicators Group
See or



Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Blog at

%d bloggers like this: