• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 10:07pm
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 10:07pm
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Printable Version

Similar Threads

How to change MA code from 5 decimal to 4 decimal? 0 replies

Trend trading, filtering out some signals with volatility 0 replies

Need 4 decimal to 2 decimal EA change 0 replies

Filtering Signals on Super Signals v3 0 replies

Scanning/filtering before setup analysis 0 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 1
Attachments: Filtering 5 decimal to work with 4 decimal bots
Exit Attachments

Filtering 5 decimal to work with 4 decimal bots

  • Post #1
  • Quote
  • First Post: Aug 23, 2010 3:30am Aug 23, 2010 3:30am
  •  Xlr8er
  • | Joined Feb 2010 | Status: Member | 81 Posts
Hello!

Does anyone know a bit of code that can retrieve current bid/ask prices and then convert them from their 5 decimal value to a 4 decimal value then return the value to the EA.

Thanks a lot!
  • Post #2
  • Quote
  • Aug 23, 2010 3:19pm Aug 23, 2010 3:19pm
  •  CodeMeister
  • Joined Sep 2009 | Status: Making Code While Making Pips | 1,672 Posts
NormalizeDouble(Bid, 4) should do it. You may have to experiment a bit with it to ensure the rounding is acceptable. If not, you may have to come up with something you devise.
  • Post #3
  • Quote
  • Last Post: Jan 21, 2011 8:57am Jan 21, 2011 8:57am
  •  Macdony
  • | Joined May 2008 | Status: Member | 10 Posts
Hi can you please help with this indicator, it works well on a 4 decimal chart but since my broker upgraded to a 5 decimal chart it does not install proparly. i will appreciate if any one can help me do the neccessary adjustment
Attached File
File Type: mq4 level_trading_123_1.mq4   13 KB | 259 downloads
  • Platform Tech
  • /
  • Filtering 5 decimal to work with 4 decimal bots
  • Reply to Thread
0 traders viewing now
Top of Page
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2021