I use a condition that counts all bars (the volume of all bars since the beginning of the session), I had the task of excluding the first bar of the session from the condition, that is, I need to start the calculation of the condition from the second bar of the session
how can I do it right?
Tried so - does not work
if (Bars.IsFirstBarOfSession == false)
if Conditionl)
{
}
UPD
rechecked by printout
if (Bars.IsFirstBarOfSession == false) - works good
the first bar is excluded from the calculation.
Then the question changes to how to exclude, for example, the first 3 bars from the calculation?
Comment