Tester and Custom Indicators (iCustom)

 

Hi all,

I'm doing some testing with a Custom Indicator and for my surprise the Journal is full with:

2008.09.16 02:55:14 2008.09.01 17:18 SmallBands USDJPY,M5: loaded successfully
2008.09.16 02:55:14 2008.09.01 16:11 SmallBands USDJPY,M5: removed
2008.09.16 02:55:14 2008.09.01 17:18 SmallBands USDJPY,M5: loaded successfully
2008.09.16 02:55:14 2008.09.01 16:11 SmallBands USDJPY,M5: removed
2008.09.16 02:55:14 2008.09.01 17:18 SmallBands USDJPY,M5: loaded successfully
2008.09.16 02:55:14 2008.09.01 16:11 SmallBands USDJPY,M5: removed
2008.09.16 02:55:14 2008.09.01 17:18 SmallBands USDJPY,M5: loaded successfully
2008.09.16 02:55:14 2008.09.01 16:11 SmallBands USDJPY,M5: removed
2008.09.16 02:55:14 2008.09.01 17:18 SmallBands USDJPY,M5: loaded successfully
2008.09.16 02:55:14 2008.09.01 16:11 SmallBands USDJPY,M5: removed
2008.09.16 02:55:14 2008.09.01 17:18 SmallBands USDJPY,M5: loaded successfully
2008.09.16 02:55:14 2008.09.01 16:11 SmallBands USDJPY,M5: removed
2008.09.16 02:55:14 2008.09.01 17:18 SmallBands USDJPY,M5: loaded successfully
2008.09.16 02:55:14 2008.09.01 16:11 SmallBands USDJPY,M5: removed
2008.09.16 02:55:14 2008.09.01 17:18 SmallBands USDJPY,M5: loaded successfully
2008.09.16 02:55:14 2008.09.01 16:11 SmallBands USDJPY,M5: removed
2008.09.16 02:55:14 2008.09.01 17:18 SmallBands USDJPY,M5: loaded successfully
2008.09.16 02:55:14 2008.09.01 16:11 SmallBands USDJPY,M5: removed

Is this Normal ?

For each tick it loads and removes the CustomIndicator?

Until now I just worked with "regular" indicator and this was really a surprise for me...

It takes forver just to run the tester for a week, I guess that using the optimizer is out of the question.

Is there a way to prevent the Load/unload of the Custom Indicator?

Thanks

SB

 

I have the same problem. But only for the first test, after that it runs smoothly, but unfortunately the organizators do not accept my code, because it takes too long time to test for 2008.

I think that I should make some changes in the code. Some help needed!

 
forex.sb:

Is this Normal ?

For each tick it loads and removes the CustomIndicator?

Until now I just worked with "regular" indicator and this was really a surprise for me...

It takes forver just to run the tester for a week, I guess that using the optimizer is out of the question.

Is there a way to prevent the Load/unload of the Custom Indicator?

It seems your EA calls the Custom indicator with wrong type of parameters (int instead bool or something like to this) or wrong order of parameters. Check the custom indicator definition in its source and reference iCustom(...)
 
Thanks for advice Rosh, I will try to find the error. I did not take it inder consideration until now, because there is no problem in running the EA after the first time. It goes like this only in fresh installation of MT. If I run the test again there is no such activity - "removed - loaded successfully" and it takes less time.
 
forex.sb wrote >>

Hi all,

I'm doing some testing with a Custom Indicator and for my surprise the Journal is full with:

2008.09.16 02:55:14 2008.09.01 17:18 SmallBands USDJPY,M5: loaded successfully
2008.09.16 02:55:14 2008.09.01 16:11 SmallBands USDJPY,M5: removed
2008.09.16 02:55:14 2008.09.01 17:18 SmallBands USDJPY,M5: loaded successfully
2008.09.16 02:55:14 2008.09.01 16:11 SmallBands USDJPY,M5: removed
2008.09.16 02:55:14 2008.09.01 17:18 SmallBands USDJPY,M5: loaded successfully
2008.09.16 02:55:14 2008.09.01 16:11 SmallBands USDJPY,M5: removed
2008.09.16 02:55:14 2008.09.01 17:18 SmallBands USDJPY,M5: loaded successfully
2008.09.16 02:55:14 2008.09.01 16:11 SmallBands USDJPY,M5: removed
2008.09.16 02:55:14 2008.09.01 17:18 SmallBands USDJPY,M5: loaded successfully
2008.09.16 02:55:14 2008.09.01 16:11 SmallBands USDJPY,M5: removed
2008.09.16 02:55:14 2008.09.01 17:18 SmallBands USDJPY,M5: loaded successfully
2008.09.16 02:55:14 2008.09.01 16:11 SmallBands USDJPY,M5: removed
2008.09.16 02:55:14 2008.09.01 17:18 SmallBands USDJPY,M5: loaded successfully
2008.09.16 02:55:14 2008.09.01 16:11 SmallBands USDJPY,M5: removed
2008.09.16 02:55:14 2008.09.01 17:18 SmallBands USDJPY,M5: loaded successfully
2008.09.16 02:55:14 2008.09.01 16:11 SmallBands USDJPY,M5: removed
2008.09.16 02:55:14 2008.09.01 17:18 SmallBands USDJPY,M5: loaded successfully
2008.09.16 02:55:14 2008.09.01 16:11 SmallBands USDJPY,M5: removed

Is this Normal ?

For each tick it loads and removes the CustomIndicator?

Until now I just worked with "regular" indicator and this was really a surprise for me...

It takes forver just to run the tester for a week, I guess that using the optimizer is out of the question.

Is there a way to prevent the Load/unload of the Custom Indicator?

Thanks

SB

Hi forex.sb

Do you mind explain a bit how the loading of indicator become like this..load and unload..? Actually I wanted something like this as a work around for my EA....

Do you mind post the code or email me your code at qwertybu11@yahoo.com

I dont need full list of code...just the portion you call the indicator and indicator codes...

Thanks

Reason: