Forex
Google
New signals service!

Go Back   Forex Trading > Discussion Areas > Setup Questions


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 03-11-2007, 01:45 PM
Senior Member
 
Join Date: Oct 2006
Posts: 104
antone is on a distinguished road
calculation question?

i have a made a simple calculation that would show the OPen for the date..

but it shows me example: cadjpy open 99.25 but it shows in my window 99.250000000

how do i remove the zeros? what code do i need? please help.. thank you
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-11-2007, 03:04 PM
Senior Member
 
Join Date: Jan 2006
Posts: 1,119
omelette is on a distinguished road
Quote:
Originally Posted by antone
i have a made a simple calculation that would show the OPen for the date..

but it shows me example: cadjpy open 99.25 but it shows in my window 99.250000000

how do i remove the zeros? what code do i need? please help.. thank you
Hi. Just use 'NormalizeDouble(Price,Decimal places)'
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-12-2007, 01:19 AM
Senior Member
 
Join Date: Oct 2006
Posts: 104
antone is on a distinguished road
Quote:
Originally Posted by omelette
Hi. Just use 'NormalizeDouble(Price,Decimal places)'
thanks.. i will try it...
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
Question About EAs mikejody Tools and utilities 2 05-25-2007 11:59 PM
Indicator calculation? cja Setup Questions 5 02-12-2007 09:51 AM
Incorrect profit calculation in EA ccronje Expert Advisors - Metatrader 4 1 10-13-2006 03:30 PM
Multi timeframe through a shift calculation? wananohoshi Indicators - Metatrader 4 2 08-06-2006 10:02 AM
script for pips calculation Beluck Tools and utilities 1 01-27-2006 05:40 AM


All times are GMT. The time now is 07:40 AM.



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