Custom Indicators vs. Technical Indicators

 

Hello folks -

Just wanted to know if there's a way to make a custom metatrader indicator into a "native" MT4 technical indicator. Instead of iCustom, i would like to make calls to "iMyIndicator" instead (sort of like iRSI or iMACD).

The reason is -making iCustom calls in an EA makes backtesting verrrrry slow.

Is there any other way to speed up backtesting when using non-standard indicators?

Best - Susmit

 

This is not possible at the current version of MQL(4). Maybe this comes true in the next versions.

If you have an indicator and it drives your backtesting slow you have to know that the problem is not the iCustom but the indicator itself.

shaltrade:
Hello folks -

Just wanted to know if there's a way to make a custom metatrader indicator into a "native" MT4 technical indicator. Instead of iCustom, i would like to make calls to "iMyIndicator" instead (sort of like iRSI or iMACD).

The reason is -making iCustom calls in an EA makes backtesting verrrrry slow.

Is there any other way to speed up backtesting when using non-standard indicators?

Best - Susmit
 
codersguru:
If you have an indicator and it drives your backtesting slow you have to know that the problem is not the iCustom but the indicator itself.

Exact.

shaltrade, a tip if your signal is taken at bar close: check the signal only once a bar instead of each tick. You will see your backtesting go a lot faster.

FerruFx

Reason: