This is something I'm wondering if is possible. Is it possible to get the sequence of every tick in different indexes of an array on the same bar?
Example:
Code: Select all
if (Bars.Time[0])
{
Array.Value = Bars.Close[0];
// Array[0] = 0.5500 // Tick 1
// Array[1] = 0.5501 // Tick 2
// Array[2] = 0.5499 // Tick 3
// Array[3] = 0.5499 // Tick 4 ( Same tick, different index )
}
Code: Select all
if (Bars.Time[0])
{
Array.Value = Bars.Close[0];
// Array[0] = 0.5500 // Tick 1
// Array[0] = 0.5501 // Tick 2
// Array[0] = 0.5499 // Tick 3
// Array[0] = 0.5499 // Tick 4
}
Best regards,
Johannes Hillestad Baumann