Forex Forum - EarnForex
Serving Traders Since 2005
 

Go Back   Forex Forum - EarnForex > MetaTrader > MetaTrader 5

MetaTrader 5 MT5 is already out of its beta stage, but the development is ongoing. Some brokers already offer real accounts and the interest of traders is growing. You can discuss anything related to MetaTrader 5 in this forum.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 13th January 2012, 01:18
Default Avatar
Senior Member
 
Join Date: Aug 2011
Posts: 115
Thanks: 0
Thanked 0 Times in 0 Posts
Default adding pips to prices

Hi

I have a code that loops over different pairs, I want to add x pips to each pair price. since each pair has it's _Digits different, and _Digits is not accessable when I loop over different pairs in a Script.

how can I get that since digits(does not take arguments)?

thx
Reply With Quote
  #2 (permalink)  
Old 13th January 2012, 09:23
Enivid's Avatar
Administrator
 
Join Date: Nov 2008
Posts: 1,542
Thanks: 18
Thanked 20 Times in 16 Posts
Default

Did you try this?

mql5 Code:
SymbolInfoDouble(symb, SYMBOL_POINT);
__________________
Please, read the Forum Rules and the Signature Rules to avoid termination of your account.
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 On


Similar Threads
Thread Thread Starter Forum Replies Last Post
NZD Follows Food Prices in Decline Enivid Forex News 0 13th September 2011 14:34
Crude Oil Prices in Markets - Go down? Johnkitty Advertisements 0 27th August 2010 08:36
Oil Prices Slip After Rally FXexpert Commodities and Stocks 0 25th May 2009 17:37
Stocks Fall, Oil Prices Rise FXexpert Forex News 0 12th May 2009 23:31
OPEC's Cuts Effecting Prices FXexpert Forex News 0 19th March 2009 18:42


All times are GMT. The time now is 10:46.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Inactive Reminders By Icora Web Design

SEO by vBSEO 3.3.2