Strategy Tester keeps reloading my custom indicator

 

Hi there,

I am running the strategy tester on EURUSD H1 and it works fine.

When I change to a different pair it loads my customer indicator every time it refers to it in the program. That slows things down.

If I switch back to EURUSD it again works fine.

Clues?

 

serpentsnoir:

I am running the strategy tester on EURUSD H1 and it works fine.

When I change to a different pair it loads my customer indicator every time it refers to it in the program. That slows things down.

It should only load the indicator one time for each unique pair, TF, arguments combination. Are you using iCustom(Symbol(), 0, ...)
 
WHRoeder:
It should only load the indicator one time for each unique pair, TF, arguments combination. Are you using iCustom(Symbol(), 0, ...)


good catch... I think it might be that i use a variable for the bar:

x=iCustom(Symbol(),60,...z) where z is different depending on the context of my call to the indicator.

so it might trigger a reload when i change z

sn

Reason: