Compounding Lots
  #1 (permalink)  
Old 11-23-2008, 05:33 PM
Freshman
 
Join Date: Oct 2008
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
davdkh is on a distinguished road
Default Compounding Lots

Hi, Could someone please help me with coding a lot calculator?

I want it to be like this Lots = ((Account Balance*Risk%))/(StopLoss+Spread)/(PipValue)

And then it gives me a number with one decimal.

For example:

Account Balance = 1000 $
Risk = 5 %
StopLoss = 30 pips
Spread = 3
Pipvalue = 10 $/pip (The value of one pip for one standard lot)

Lot = ((1000$*0,05)/(30+3)/10 = 0.2

Anyone can write this code for me?

Thanks

David
Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Brokers offering .001 (1 penny) lots ManageMyForex Brokers/Platforms 2 10-09-2008 03:59 PM
Lots of Forex Junk out there. Silvaer08 Classified Ads 0 04-02-2008 04:10 PM
Money managment incresing lots Boogie Trading Systems 1 03-01-2007 11:13 PM
InterbankFX lots gazuz Brokers/Platforms 1 11-03-2006 03:49 AM


All times are GMT. The time now is 01:37 PM.
Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

Registered members have access to special online forex currency trading tools, software, mt4 expert advisors and indicators. Register now