Forex



Go Back   Forex Trading > Discussion Areas > Metatrader 4
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 11-01-2006, 07:49 PM
Junior Member
 
Join Date: Sep 2006
Posts: 7
rusty105 is on a distinguished road
Finding the value of 1 pip per 1 lot of a pair

Finding the value of 1 pip per 1 lot of a pair

I am trying to write a Money management subroutine for an EA that I am working on, and I am having difficulties calculating what 1 pip is worth per lot. Is there a built in function in MQL to get this? Or do I have to write a routine myself??

Thanks
Rusty

Last edited by rusty105; 11-01-2006 at 07:49 PM. Reason: typo
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
  #2 (permalink)  
Old 11-21-2006, 04:40 PM
Junior Member
 
Join Date: Sep 2006
Posts: 7
rusty105 is on a distinguished road
Anybody??

Any hints?

Rusty
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
  #3 (permalink)  
Old 11-21-2006, 04:46 PM
Senior Member
 
Join Date: Feb 2006
Posts: 587
Michel is on a distinguished road
Quote:
Originally Posted by rusty105
Finding the value of 1 pip per 1 lot of a pair

I am trying to write a Money management subroutine for an EA that I am working on, and I am having difficulties calculating what 1 pip is worth per lot. Is there a built in function in MQL to get this? Or do I have to write a routine myself??

Thanks
Rusty
I think it's :
PipValue = MarketInfo(Symbol(),MODE_TICKVALUE);
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
  #4 (permalink)  
Old 11-21-2006, 04:46 PM
Diam0nd's Avatar
Senior Member
 
Join Date: Oct 2006
Posts: 235
Diam0nd is on a distinguished road
Quote:
Originally Posted by rusty105
Anybody??

Any hints?

Rusty
Have you tried looking here: http://docs.mql4.com/constants/marketinfo/ ?

Hope that helps.



Cheers,
Diam0nd




I LOVE
__________________
- MetaTrader v4.00 Build 225 (10 Jul 2008)
- MetaTrader MultiTerminal v4.00 Build 213 (20 Mar 2008)
- Always use the latest (^ABOVE^) MetaQuotes products, saves a lot of nerves. What's new.
"METAQUOTES FOR LIFE!"
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
  #5 (permalink)  
Old 11-21-2006, 04:54 PM
Junior Member
 
Join Date: Sep 2006
Posts: 7
rusty105 is on a distinguished road
Thanks Guys!!

I'll give that a try, and see if it works like I need it to work.


Thanks again

Rusty
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
  #6 (permalink)  
Old 11-21-2006, 10:20 PM
Junior Member
 
Join Date: Sep 2006
Posts: 7
rusty105 is on a distinguished road
Perfect !!!

Thanks a bunch
Rusty
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


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Finding the Most Profitable EA druelus Expert Advisors - Metatrader 4 73 06-26-2009 06:02 AM
Help finding an indicator trevman Indicators - Metatrader 4 0 03-08-2007 08:06 PM
Having trouble finding Broker matrixebiz Metatrader 4 1 12-11-2006 01:06 PM
Need Help finding a Broker..... MT4 Qbert006 Metatrader 4 2 03-21-2006 03:21 AM
Need help finding an indicator for MT4 Rip Metatrader 4 5 02-22-2006 12:59 AM


All times are GMT. The time now is 11:32 PM.



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