Forex
Google
New signals service!

Go Back   Forex Trading > Discussion Areas > Metatrader 4


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
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-24-2005, 07:04 AM
Junior Member
 
Join Date: Nov 2005
Posts: 6
davinciproject is on a distinguished road
Pip Calculator in mt4???

Hi to all,

at first I want to wish all a merry christmas!

And then, I have a question! I would like to have a pip calculator for my money management! Is it possible to program something like this in mt4???
For my position sizing I use the fixed risk method... ...so I need to know the pip value of the different currencies! If I know my Initial Stopp and the max. risk value (in euro), I also need to know the pip value of the used currency to get my Lot-Size!
It would be a great help, if the pip calculator shows me the pip value of all currencies! So I donīt need to use my counter all the time!

May I ask for somebody to help me to programm this pip calculator???
It would be great!

Thanks a lot for all your help,

best regards,
dvp
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-24-2007, 07:53 PM
ryanklefas's Avatar
Senior Member
 
Join Date: Apr 2006
Location: USA
Posts: 439
ryanklefas is on a distinguished road
I'm looking for something like this too.
__________________
"Don't work harder, work smarter." -- my Java professor

Coder for Hire:
http://www.firecell-fx.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-24-2007, 08:56 PM
Senior Member
 
Join Date: Feb 2006
Posts: 519
Michel is on a distinguished road
This is what I use (account normal, leverage = 100, lots precision = 0.1):
PHP Code:
double GetLots()
{
   
double LotsPipValue;
   if(
UseMM)
   {
      
PipValue MarketInfo(Symbol(),MODE_TICKVALUE);
      
Lots AccountEquity() * Risk / (StopLoss PipValue 100);
      
Lots MathMin(Lots100);
      return(
NormalizeDouble(Lots,1));
   }
   else return(
1.0);

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-24-2007, 09:48 PM
ryanklefas's Avatar
Senior Member
 
Join Date: Apr 2006
Location: USA
Posts: 439
ryanklefas is on a distinguished road
Thank you! I never knew what "TICKVALUE" meant.
__________________
"Don't work harder, work smarter." -- my Java professor

Coder for Hire:
http://www.firecell-fx.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

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
MULTI FIBO CALCULATOR with DDE off course primajaya Tools and utilities 11 08-12-2008 01:51 PM
Hedge Calculator sam1 Martingale/Average Cost and Hedging 86 06-18-2008 12:09 PM
FX risk calculator with DDE!, Modified primajaya Tools and utilities 5 09-22-2007 01:39 PM
Probability calculator prasxz Suggestions for Trading Systems 5 01-05-2007 06:34 PM
fibonacci calculator knvsantosh General Discussion 3 03-25-2006 01:36 AM


All times are GMT. The time now is 04:59 AM.



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