protected override void OnStateChange()
{
Calculate = Calculate.OnEachTick;
}
protected override void OnBarUpdate()
{
if (!IsFirstTickOfBar)
return;
Line[1] = CurrentBar == 0 ? Input[1] : (Input[1] * constant1) + (constant2 * Line[2]);
}
all ok with this code pricemarker is visible!
protected override void OnStateChange()
{
Calculate = Calculate.OnBarClose;
}
protected override void OnBarUpdate()
{
Line[0] = CurrentBar == 0 ? Input[0] : (Input[0] * constant1) + (constant2 * Line[1]);
}
how can I set the indicator to OnEachTick and work with IsFirstTick so that the pricemarker is also visible?


Comment