Shopping Cart
0 items
 
Bestsellers
PerfectNT Lines(Enjoy Free BONUS multidimensional indicator) PerfectNT Lines(Enjoy Free BONUS multidimensional indicator)
$477 $28  
4 out of 5 Stars!
RAILWAY SYSTEM  - NO REPAINT INDICATOR Trading Becomes Easy with special bonus EA RAILWAY SYSTEM - NO REPAINT INDICATOR Trading Becomes Easy with special bonus EA
$387 $24  
4 out of 5 Stars!
NEWTEC forex Expert Advisor 99%Winningtrades NEWTEC forex Expert Advisor 99%Winningtrades
$302 $37  
4 out of 5 Stars!
Market Scalper Pro and Trade Builder Core(BONUS Forex Trend Finder 3.0 by Jeff Wilde) Market Scalper Pro and Trade Builder Core(BONUS Forex Trend Finder 3.0 by Jeff Wilde)
$213 $56  
4 out of 5 Stars!
Web Crossover System (Enjoy Free BONUS 4-Sessions indicator) Web Crossover System (Enjoy Free BONUS 4-Sessions indicator)
$243 $28  
5 out of 5 Stars!
SuperFXrobot BEST "FX ROBOT"No.1 automated trading system in the world SuperFXrobot BEST "FX ROBOT"No.1 automated trading system in the world
$293 $37  
4 out of 5 Stars!
Megatrend FlowMeter updated version-forex indicator (Enjoy Free BONUS John Templeton – Trading in the Bluff) Megatrend FlowMeter updated version-forex indicator (Enjoy Free BONUS John Templeton – Trading in the Bluff)
$124 $21  
4 out of 5 Stars!
Leading signals that do not repaint-FOREX INDICATOR Leading signals that do not repaint-FOREX INDICATOR
$225 $28  
4 out of 5 Stars!
Super Gain forex Indicator Super Gain forex Indicator
$261 $38  
4 out of 5 Stars!
EX4-TO-MQ4 V4 decompiler (FULL VERSION (Enjoy Free BONUS Forex  Expert Advisor Trio Dancer(UNLOCKED)) EX4-TO-MQ4 V4 decompiler (FULL VERSION (Enjoy Free BONUS Forex Expert Advisor Trio Dancer(UNLOCKED))
$477 $66  
4 out of 5 Stars!
TradeGuider MT4 VSA Plugin Tradeguider 4.1.16.0 EOD RT Manual TradeGuider MT4 VSA Plugin Tradeguider 4.1.16.0 EOD RT Manual
$171 $37  
4 out of 5 Stars!
*Elliott Wave Prophet MT4 Indicator *Elliott Wave Prophet MT4 Indicator
$117 $21  
4 out of 5 Stars!
Forex Tester - Forex Training Software (Enjoy Free BONUS Forex Trend Finder 3.0 by Jeff Wilde) Forex Tester - Forex Training Software (Enjoy Free BONUS Forex Trend Finder 3.0 by Jeff Wilde)
$207 $56  
4 out of 5 Stars!
#1 forex trading system FOREXPROS SYSTEM 97% ACCURACY! Manual system >2000 pips #1 forex trading system FOREXPROS SYSTEM 97% ACCURACY! Manual system >2000 pips
$299 $38  
4 out of 5 Stars!
Steve Mauro – Market Maker Method – 4 Day Course with Indicators (Enjoy Free BONUS Drag & Drop Volume Profile Forex Indicator) Steve Mauro – Market Maker Method – 4 Day Course with Indicators (Enjoy Free BONUS Drag & Drop Volume Profile Forex Indicator)
$250 $56  
4 out of 5 Stars!
Bill Williams Profitunity home study course (Enjoy Free BONUS Travel Trading Profit Formula with Abha Oan system) Bill Williams Profitunity home study course (Enjoy Free BONUS Travel Trading Profit Formula with Abha Oan system)
$56  
4 out of 5 Stars!
Wolfwave Pattern indicator with bonus 5-min-Trend-rider the system Wolfwave Pattern indicator with bonus 5-min-Trend-rider the system
$101 $37  
4 out of 5 Stars!
Brain Trading System 7.0 (95% precise signal)(Enjoy Free BONUS ART Trend Follower) Brain Trading System 7.0 (95% precise signal)(Enjoy Free BONUS ART Trend Follower)
$171 $21  
5 out of 5 Stars!
Forex Candlestick Pattern Indicator v1.5 (Metatrader 4) plus bonus Forex Candlestick Pattern Indicator v1.5 (Metatrader 4) plus bonus
$81 $21  
4 out of 5 Stars!
Universal Sacred Geometry Forex System (Enjoy Free BONUS D0nForex HardTrend-DashBoard (Enjoy Free BONUS CTI Trading Indicator)) Universal Sacred Geometry Forex System (Enjoy Free BONUS D0nForex HardTrend-DashBoard (Enjoy Free BONUS CTI Trading Indicator))
$207 $37  
4 out of 5 Stars!
MTPredictor 6.5 MT4 and MTPredictor for Ninjatrader 6.5(BONUS NMi Super Scalper EA) MTPredictor 6.5 MT4 and MTPredictor for Ninjatrader 6.5(BONUS NMi Super Scalper EA)
$124 $37  
4 out of 5 Stars!
Steinitz HAS MTF Hedge forex Robot v3.21 Steinitz HAS MTF Hedge forex Robot v3.21
$304 $56  
4 out of 5 Stars!
Market Maker Chart Indicator (mmindicator) Market Maker Chart Indicator (mmindicator)
$99 $15  
5 out of 5 Stars!
Prechter Elliott Wave International Educational DVD Series Volumes 1 till 10 comes (Enjoy Free BONUS INSIDE) Prechter Elliott Wave International Educational DVD Series Volumes 1 till 10 comes (Enjoy Free BONUS INSIDE)
$48  
4 out of 5 Stars!
Dynamicsync trading system indicator 95% accurate(Enjoy Free BONUS Forex Executor Pro SUPERCHARGE YOUR MT4 PLATFORM) Dynamicsync trading system indicator 95% accurate(Enjoy Free BONUS Forex Executor Pro SUPERCHARGE YOUR MT4 PLATFORM)
$297 $37  
4 out of 5 Stars!
ProFx v2.0 EA Systems-forex fx system for mt4 ProFx v2.0 EA Systems-forex fx system for mt4
$297 $21  
4 out of 5 Stars!
Nial Fuller’s Price Action Forex Trading Course(Enjoy Free BONUS Secrets of the Law of Vibration) Nial Fuller’s Price Action Forex Trading Course(Enjoy Free BONUS Secrets of the Law of Vibration)
$207 $21  
4 out of 5 Stars!
Balance Dynamics (Enjoy Free BONUS Complete Reversal Magic) Balance Dynamics (Enjoy Free BONUS Complete Reversal Magic)
$297 $56  
4 out of 5 Stars!
ShredderFX traders program(Bonus 4X Pip Snager System) ShredderFX traders program(Bonus 4X Pip Snager System)
$351 $56  
4 out of 5 Stars!
Dr Zain Agha Systems Z-WINNER and Secret Bankers Manual comes with bonus! Dr Zain Agha Systems Z-WINNER and Secret Bankers Manual comes with bonus!
$171 $37  
5 out of 5 Stars!
Color Coded Trend Manual System(Enjoy Free BONUS Ganns Tutorial) Color Coded Trend Manual System(Enjoy Free BONUS Ganns Tutorial)
$291 $21  
4 out of 5 Stars!
YTC Price Action ALL CHAPTERS (BONUS Master candlestick indicator) YTC Price Action ALL CHAPTERS (BONUS Master candlestick indicator)
$208 $28  
4 out of 5 Stars!
Price action trade for Forex (Enjoy Free BONUS Forex Trading Like Banks – Step by Step with Live Examples) Price action trade for Forex (Enjoy Free BONUS Forex Trading Like Banks – Step by Step with Live Examples)
$261 $37  
4 out of 5 Stars!
 

A Non-Trading EA Testing Indicators

A Non-Trading EA Testing Indicators
Click to enlarge
Price: $27 $15
Availability: In Stock
Model: 105
Manufacturer: Missionforex
Average Rating: 5 out of 5 Stars!

A Non-Trading EA Testing Indicators1

http://photohost.lelong.com.my/is.php?i=50715&img=2286missionforex.jp.jpg

Introduction

All indicators can be divided into two groups: static indicators, the displaying of which, once shown, always remains the same in history and does not change with new incoming quotes, and dynamic indicators that display their status for the current moment only and are fully redrawn when a new price comes. The efficiency of a static indicator is directly visible on the chart. But how can we check whether a dynamic indicator works ok? This is the question the article is devoted to.

The overwhelming majority of indicators used in technical analysis are static. Let's take MACD, as an example. Arrival of a new quote will at best concern only the displaying of the latest period or, to be more exact, its final stage. However, its chart remains "impregnable" in history. To check whether a static indicator works ok or not, it would be enough just to investigate its indications on historical data. If there are several indicators available and you want to choose the most optimal one for your trading - it is no problems either: Just attach all the indicators to the chart and then select one of them that produces "more correct" indications.

In case of dynamic indicators, the situation becomes more complicated and even nearly "no go". Nearly all channel indicators can be used as an example of such indicators. As a rule, these indicators draw one or more lines that display the range of price movements. These lines are built for the current moment, of course. Thus, the arrival of new prices that significantly differ from the recent ones can change the lines arrangement in the chart for an absolutely different one within several seconds. It is just impossible to estimate how correctly the indicator works for all possible price arrangements, judging just by the last point of the current price. You can see that your indicator works correctly for several hours and consider it to work ok. However, exactly when you decide to start trading, there can occur such a market situation, in which it works incorrectly (an example of Barishpolets Moving Channels wrongly built by one of indicators is given below), and you may open your trade in an adverse direction. The indicator itself will "correct" its indications in just a couple of bars. But this will be too late for you, since your position will be losing!

Testing Indicators in Tester

The primary purpose of the Strategy Tester is to test Expert Advisors. Since some EAs use indicators in their operations, Tester should also be able to test them. We will use this feature!

An Expert Advisor can be tested in two modes: standard and visual. In the standard mode, Tester processes all the EA's commands in its history processing and stops to give final results, as soon as there are no available historical data of the currency pair under test anymore. In the visual mode, apart from the above,Tester additionally draws every bar/tick of the chart emulating the market working in the real-time mode. In Tester, you can quicken, slow or even stop the time, which will be of great help for us when testing indicators.

Non-Trading Screenshotting Expert Advisor

However, before we start testing indicators, we will have to prepare a rather unusual EA. For our purposes, this EA shouldn't trade. Its operations shouldn't take us off the testing of indicators, and, which is even more important, the preliminarily lost deposit due to trading errors should not stop our indicator testing. So we will just create an EA that does nothing.

Enter into Testing

Now, when we have everything ready and the EA has been compiled without errors, let's start testing. Launch the Tester using the menu of View/Tester or the combination of keys Ctrl+R. In the "Expert Advisor" field, select our EA, IndicatorTester. Then select a symbol and a period to be tested. If necessary, you can select the test range by checking the "Use date" field and specifying the "From" and "To" dates. To activate the visual testing mode, check the "Visual mode" field. Now we can press the "Expert properties" button and specify all necessary inputs for screenshotting.

Well, almost everything is ready. Press the "Start" button and, immediately after that, the "||" button located to the right from the visualization speed adjustment slider. The EA will stop its testing. Now you can attach the indicator to be tested to the chart and, having released the "||" button, continue testing the EA. As we remember, the EA does not make any trades. But Tester doesn't know about that and processes quotes scrupulously, tick after tick, bar after bar. Since only one or a few indicators are attached to the chart, the Tester has to recalculate and redraw them, since a normal EA would surely use the data obtained from these indicators.

That's about it. Now, as some programmers write in their pup-up boxes, "sit back and watch" how your indicator is working. You can pause testing (by pressing the "||" button) at any moment or you can accelerate or decelerate its speed. As soon as the Tester reaches the date/time preset by you as ScreenShotStart, it will start screenshotting with the preset periodicity and store the ready screenshots in the directory of c:\Program Files\MetaTrader 4\tester\files. If you don't need any screenshots and just want to see how your indicator works, set the EA's parameter ScreenShotStep as equal or less than zero before to press the "Start" button, then the screenshotting will be disabled.

Example Usage

I first performed this task for myself when I wanted to find the "most correct" Barishpolets Moving Channels indicator for my research. In the description of how to build the channels, there are some points that result in possible wrong building of a channel. First of all, this relates to the situation when two extremums, through which one of the channel lines should be drawn, are located close to each other. In such cases, some indicators start "throw" the channel from 45 degrees downside to 45 degrees upside, and then back, from top to bottom - well, all that jazz. Unfortunately, the developers of indicators, implicitly trusting Barishpolets' authority, just realize his set of rules by rote (it must be noted that the rules work ok, in the overwhelming majority of cases). However, they forget about that the market can spring all possible surprises on us. In such cases, the indicator's "top" starts to be "blown", and the indicators become the reason of losing instead of being a useful tool for gaining profits.

To compare different methods of building Barishpolets Moving Channels, I wrote my own indicator that builds channels, too, but "more objectively" - by the mean price movement line. It is very similar to how the standard tool, Equidistant Channel, does it, but the channel borders are built by a bit different algorithm (you can find some more details in my website Two-Channel Method - in Russian). Now let's see how one of the Barishpolets Moving Channels' indicators (SHI_Channel_true) located in the CodeBase will behave as compared to the "correct" mean price channel. The lines of the indicator under test are drawn in green, the lines of the long (weekly) channel from the two-channel indicator are orange, those of the short (33-hour) channel are light blue. They become red as soon as they approach to the channel borders.

 

Well, film is film, but let's have a closer look at some screenshots made.

For the period from the 4th to the 7th of December 2007 (EURUSD M30), we can see how many times the indicator of Barishpolets Moving Channels "turns over" and returns to the mean price movement line.

a233.jpg

It is possible here, that a channel is broken through (the channel is just not drawn quite correctly, though, and the price reaches the weekly channel border, indeed). You can see how the indicator behaves. The channel turns over on the next bar and practically matches with the weekly channel:

q234.jpg

This happened, because a new extremum had been formed and the indicator was fairly processing it. However, only a few bars pass by - and it turns over again returning to its incorrect position.

 

x236.jpg

That happened because a new quote had turned the extremum point into a normal internal point, and indicator processed that change again. A new turnover takes place at the next bar:

t237.jpg

Two or three bars more, and - a turnover again:

n247.jpg

On this chart we can see another "extreme" of building Barishpolets Moving Channels - two near extremums set one of the channel borders, although a quite obvious picture can be seen in this chart: the price within the short 33-hour channel is well on its way to the borders of the weekly channel, from which it will most probably reflect and move back into the weekly channel. Indeed, it happens like this - we see our "foreseen" picture within the next day:

c318.jpg

Thus, using our non-trading screenshotting EA, we can bring a reasonable verdict of the indicator SHI_Channel_true: It is a very "diffident" tool. I scrupled to trust it my deposit without a serious adaptation (this was one of the reasons why I created Two-Channel Methods).

 

Conclusion

The application field of the considered code is not limited to testing of indicators. You can insert the same mechanism into a trading EA. In this case, you will be able to both "seal" the debugged code and accumulate the history of the behavior of your EA and indicators working with this EA to analyze the EA's trading results for the indicators used for calculation of EA's signals. This can accelerate the debugging of an EA trading on a real account.

 

 


 

Completing units:

A Non-Trading EA Testing Indicators

 

http://photohost.lelong.com.my/is.php?i=50715&img=2286missionforex.jp.jpg


 

 

Serving Professional Traders Since 2008

youtube forex

Write Review
Your Name:


Your Review: Note: HTML is not translated!

Rating: Bad            Good

Enter the code in the box below:

There are no additional images for this product.
map