Forex Factory
  • Login

  • Username: Password:
  • 2:57pm

  • Search
  • Home

  • Forums

  • Trades

  • Calendar

  • News

  • Market

  • Brokers

Options

Search

Subscribe to Thread

Bookmark Thread

First Page First Unread Last Page Last Post

Printable Version

Similar Threads

Currency Meter 8 replies

Currency Strength Meter 56 replies

Best Currency Strength Meter and why? 6 replies

currency strength meter 0 replies

RSI not working properly on Backtest 4 replies

  • Platform Tech
  • /
  • Reply to Thread
  • 1

Currency meter not working in backtest

  • Post# 1
  • Quote
  • First Post: Dec 20, 2012 10:11am
  • zen4x
    Joined Apr 2011 | 67 Posts | Status: Member
Hello guys. I found a nice EA wrote from somebody on forexfactory, but I am sure it does not work with MT4 tester since the currency meter needs to read other properties from other symbols when it runs.
Can somebody tell me if is possible to find a trick to make it work in backtest since I would like to check things developing in real time.
Attached File
File Type: mq4 currency_meter.mq4   18 KB | 31 downloads
  • Post# 2
  • Quote
  • Last Post: Dec 23, 2012 7:43am
  • RaptorUK
    Joined Jan 2008 | 528 Posts | Status: Member
This code is not meant to be run as an EA it is meant to be run as a script, it has an infinite loop that uses a sleep() to give your CPU a break . . . sleep() does not work in the Strategy Tester.

The infinite loop runs in init() which is naughty as init() is expected to return within 2 seconds

The code also doesn't work if your pair names had a trailing i, for example USDJPYi, GBPUSDi or don't have a trailing m

For it to possibly work in the Strategy tester you would have to have the same date range of data for ALL the other pairs as the date range you are trying to look at in the Strategy Tester, for example, if you want to look at 2011 you need the 2011 data for LL the other pairs . . . . then it might, maybe, perhaps possibly work.
20 pips a day isn't too much to ask . . .
Thread Tools Search this Thread
Show Printable Version Show Printable Version
Email This Thread Email This Thread
Search this Thread:

Advanced Search

  • Platform Tech
  • /
  • Currency meter not working in backtest
  • Reply to Thread
0 traders viewing now

©2013 Forex Factory, Inc. / Terms of Use / Privacy Policy

Forex Factory® is a registered trademark.

Connect

  • Facebook
  • Twitter
  • RSS

Company

  • About FF
  • FF Blog
  • Careers at FF
  • Advertising
  • Contact FF

Products

  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer

Website

  • Homepage
  • Search
  • User Guide
  • Member List
  • Online Now
  • Report a Bug