MQL4 - automated forex trading   /  

Forum

Login | Register | Language: ru cn en
Buy algorithmic trading applications in MetaTrader Market. Its fast!

Custom indicator testing

Back to topics list To post a new topic, please log in or register
avatar
30
nguye235 2013.09.23 22:29
 
What is the most efficient way to test a custom indicator? The only way i know is to attach it to active charts and waiting for it to work. Any suggestion would be great.
 
Transferring an Indicator Code into an Expert Advisor Code. General Structural Schemes of an Expert Advisor and Indicator Functions

Transferring an Indicator Code into an Expert Advisor Code. General Structural Schemes of an Expert Advisor and Indicator Functions

This article dwells on the ways of transferring an indicator code into an Expert Advisor Code and on writing Expert Advisors with no calling to custom indicators, and with the whole program code for the calculation of necessary indicator values inside the Expert Advisor. This article gives a general scheme of Expert Advisor changing and the idea of building an indicator function based on a custom indicator. The article is intended for readers, already having experience of programming in MQL4 language.

avatar
Moderator
3854
ubzen 2013.09.24 04:16 #
 
You can try the strategy tester here.
avatar
22
KalebC 2013.09.24 07:53 #
 
ubzen:
You can try the strategy tester here.


You can test an indicator in that? It is my understanding that you can only test EAs in the strategy tester.

In that case, you have to rewrite the indicator as an EA and recompile, which isn't always easy.

 
avatar
14053
RaptorUK 2013.09.24 09:08 #
 
KalebC:


You can test an indicator in that? It is my understanding that you can only test EAs in the strategy tester.

In that case, you have to rewrite the indicator as an EA and recompile, which isn't always easy.

You can run any EA in the Strategy Tester and add your Indicator to the chart or o the tester.tpl . . . a word of caution though, the Strategy Tester is for testing EAs so some things do not work correctly for some Indicators.

 
Back to topics list  

To add comments, please log in or register