Lets say I have MyFirstIndicator and MySecondIndicator as follows.
-----------------------
if (State == State.SetDefaults)
{
...
Name = "MyFirstIndicator";
Calculate = Calculate.OnBarClose;
...
}
-----------------------
-----------------------
if (State == State.SetDefaults)
{
...
Name = "MySecondIndicator";
Calculate = Calculate.OnEachTick;
...
}
else if (State == State.DataLoaded)
{
...
MyFirstIndicator1 = MyFirstIndicator(......);
...
}
-----------------------
-----------------------
MySecondIndicator must calculate OnEachTick. This one, instantiates MyFirstIndicator which must calculate OnBarClose. Both are set like that in State.SetDefaults
I figured out that despite I set the calculation mode as it should be for each both indicators, when I run MySecondIndicator, because it is calculating OnEachTick, overrides the calculation of MyFirstIndicator doing so OnEachTick also.
Is it possible to force in any way the calculation for each indicator as I want?
Many thanks in advance for your support.

Comment