Forex



Go Back   Forex Trading > Downloads > Tools and utilities






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

Reply
 
Thread Tools Display Modes
  #171 (permalink)  
Old 06-20-2009, 05:37 AM
Junior Member
 
Join Date: Feb 2009
Posts: 2
efex01 is on a distinguished road
Exclamation Lot size calculator - aggressive money management

Hello Everyone,

I am a manual trader and i am looking to program a simple MT4 indicator to display on the main chart the required lot size to take on the next trade as following:

Lot size =(Equity x 1%) / (open spread + arbitrary number of pips +(Distance between current candle OPEN and SMA50))


The indicator should simply display the calculated Lot size on the screen and refresh it at every new candle
I'd like to have the following variables:
Risk (1% in the above example)
Arbitrary number of pips. This variable would be useful to decrease the lot size) default =zero.

Any help would be apprecaited in directing the right way with Metatrader programing. I never programed.

Thanks,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #172 (permalink)  
Old 07-28-2009, 06:37 PM
Beno's Avatar
Senior Member
 
Join Date: Aug 2006
Location: London
Posts: 515
Beno is on a distinguished road
Range Based MM Idea ???

Gidday


I am looking for a mm system that is based on using the daily range as the TP and SL.


The way I am looking for it to work is the greater the range the more of the FreeMargin is risked and vice versa.

I have attempted to code it my self but have had a bit of trouble

My maths might be wrong but this is what I am looking to acheive.

bar2

H = 1.64947

L = 1.64889

Range = H-L = 58


bar1

H = 1.64922

L = 1.64771

Range = H-L = 151


Percentage Risk = 151-58/151=0.61*100=61%


if there is $1250free margin I would like to the Percentage Risk as above the differance between bar ranges so 1250*61% = 762.5 risked on the next trade.

the Tick value is $10 so $762.5/$10 = 76.25 pips ? i think


the range is 151 from the previous bar so w divide 76.25/151= 0.50 so my lot size is 0.50.


double Range = (H-L);


Is this able to be coded

Beno
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #173 (permalink)  
Old 09-14-2009, 03:36 PM
Junior Member
 
Join Date: Nov 2008
Posts: 19
4x4all is on a distinguished road
Calculator(s) for Auto MM etc.

Need a calculator for this:

Starting balance 500.00 (this is a plug-in number)

MM=1 (auto money management is on)

Risk set to 1

52 weeks (plug-in number)

Equity growth per week 5% (plug-in number)

So, if user is starting with 500.00 account balance and gains a consistent 5% per week and the lot size adjust by .01 (1 nano lot) for every 5% gain on account, what would the account be at the end of 52 weeks.

I've seen this or something similar but not locating it so hopefully someone has it or can write it. Thank You, Kevin
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #174 (permalink)  
Old 09-18-2009, 06:00 AM
fosgate_r's Avatar
Member
 
Join Date: Nov 2008
Posts: 91
fosgate_r is on a distinguished road
Thank you. I need to refresh my mm stuff. A little bit lost now :P
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #175 (permalink)  
Old Yesterday, 06:25 AM
Junior Member
 
Join Date: May 2008
Posts: 3
mrheredia is on a distinguished road
Check out this tread by leeb, he made this EA wich shows you your entry, TP and SL with visual lines which you can move and the data will also change, very nice job!
Useful money management expert
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks

Tags
forex, money management, money management code, money management indicator, moneymanagement

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help Needed Making Perfect Trailing Stop EA sbwent Expert Advisors - Metatrader 4 31 08-07-2009 07:41 PM
The perfect trader black ice General Discussion 9 11-14-2006 06:51 AM
10k lot size brokers kevmcfoster Suggestions for Trading Systems 12 10-07-2006 12:25 AM
Must have utility for MT coders who are not 100% perfect ycomp Tools and utilities 2 02-23-2006 11:45 PM


All times are GMT. The time now is 07:20 PM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.