New Articles posted at Pubarticles.com - How to setup MT4 Expert Advisor Simulation?

 Below are some configurations for your consideration.


1) The choice of simulation chart period. The commonly used charting period is 1 minute chart (M1), 5 minutes chart (M5), 15 minutes chart (M15), 1 hour chart (H1), 4 hour chart (H4) and 1 day chart (D1). From my experiences, simulating with M1 period result will produce accurate results from your EA. Any chart time frame greater then 1M, will result in frame stepping by the simulator. The simulator will step thru the time frame and aggregate the closet to your number, which can cause false breakout and unrealistic result.



2) Use fully downloaded M1 result from a data server. Many broker nowadays support client to backwards download data from now to 2002 (at least last 10 years of data). Once full M1 data downloaded, you can use period converter to convert to M5, M15, H1, H4 and D1 database. This will complete the database that is used by simulator when called to run back testing for your EA.

3) Most EA are ready to be used for live and demo trading. However, if you are modifying a EA that is meant for live trading, you need to include below 3lines of code to let it run in back testing mode by the simulator.

line1: static datetime nextRund
line2: if( nextRund > TimeCurrent() ) return(0);
line3: nextRund = TimeCurrent() + 30;

The above codes with delay your program by 30 seconds before it proceed to executed the next program. You cannot use while loop or jump program as it is non static and will stop the moment the program executed the last line of code. The above actually set a static variable and this variable is match with the time in the PC. As this variable is static, it will stay in memory when your program exist and execute again. The 30 is default in terms of seconds. This may be difficult at first, but after some trial and error, you will get use to it and use different time seconds to your advantage.

4) Delay is non static but it can be use to temporarily stop the program while running other function. This is extremely using if you are running multiple EA and executing on a single data server. By setting different delays, your program will execute at different time thus not congesting the order send to your server. This act as multitasking your order and does average your CPU utilisation over time.

The above are some factor to consider. Thank you
source http://articles.pubarticles.com/how-to-setup-mt4-expert-advisor-simulation-1331698271,723392.html



An accessible guide to trading the fast-moving foreign exchange market
The foreign exchange market, or forex, was once dominated by global banks, hedge funds, and multinational corporations, but that has all changed with Internet technology and the advent of online forex brokers. Now, hundreds of thousands of traders and investors around the world can participate in this profitable field.
Written by forex expert Kathy Lien, The Little Book of Currency Trading will show you how to effectively invest and trade in today's biggest market. Page by page, she describes the multitude of opportunities possible in the forex market, from short-term price swings to long-term trends, and details practical products that can help you achieve success, such as currency-based ETFs.
  • Explains the forces that drive currencies and provides strategies to profit from them
  • Reveals how you can use various currencies to reduce risk and take advantage of global trends
  • Examines financial vehicles that can help you make money without having to monitor the market every day
The Little Book of Currency Trading opens the world of currency trading and investing to anyone interested in entering this dynamic arena. 

The Little Book of Currency Trading: How to Make Big Profits in the World of Forex (Little Books. Big Profits) Click here to see 16 customer reviews and choose from 33 suppliers




This currency trading book provides readers with real, practical information on how to trade the foreign exchange market effectively. It begins by covering introductory information on the forex market, including basic trading mechanics and the benefits of forex trading, and then goes on to describe specific currency trading methods and skills in step-by-step detail. This includes highly practical information on technical and fundamental analysis, risk and money management, and powerful forex trading strategies. These strategies have proven extremely effective in helping traders play the forex game to win.
JAMES CHEN, CTA, CMT (Montville, NJ) is Chief Technical Strategist at FX Solutions, a leading foreign exchange broker. An expert on forex trading and technical analysis, he is also a registered Commodity Trading Advisor (CTA) and a Chartered Market Technician (CMT). Mr. Chen writes daily currency analysis, leads forex trading seminars, and has authored numerous articles on currency trading strategy and technical analysis for major financial publications. These include Forbes.com, Futures Magazine, Technical Analysis of Stocks and Commodities Magazine, and Stocks, Futures and Options (SFO) Magazine.

Essentials of Foreign Exchange Trading (Essentials Series)Click here to see 21 customer reviews and choose from 34 suppliers 



Currency trading techniques you can bank on!

Forex trading can be remarkably lucrative—and complex, confusing, and risky. Too many investors dive right into Forex, suffering big losses. If you want to trade currencies successfully, read this book, take your time, and plan accordingly. The $4 trillion Forex market will be waiting.
All About Forex Trading walks you through everything you need to know to make currency trading a vibrant part of your diversified portfolio and generate handsome returns—regardless of what is happening to stocks and bonds. Whether your investing style is conservative or aggressive, this no-nonsense guide has what you need to build a powerful Forex trading strategy. Learn all there is to know about:
  • What (and who) drives currency prices
  • Investment vehicles for Forex trading
  • Technical analysis techniques
  • Key fundamental indicators
  • Navigating the economic calendar
  • All the traded currencies—from the Americas to Europe to Asia


No comments:

Post a Comment

Top Forex Automated Trading Expert Advisor (EA)


Forex EAROI (Monthly)Profit FactorMax Draw DownS3 ScoresStar RatingAlexa.com
FAP Turbo207%31.770.32%280 points5 starsRank 31,123
GPS Forex Robot28%3.935.68%260 points4 starsRank 283,290
Forex MegaDroid19.8%NANA250 points4 starsRank 72,310
Leo Trader Pro32%2.855.84%250 points4 starsRank 213,570

Fully editable *.mq4 files that compile successfully with no errors (3MB zip file with 200+ EA codes. Including 40+ strategies from the Strategy Book. You can download the Free Strategy Book by joining my email newsletter on the right side of this website. Click "Buy Now" to make payment and instant down the Best Forex Ranking Cook Book at USD $79 (One time payment only) Click here for more info

Please inform me if unable to purchase or download (send to sngerge@gmail.com)