Hi There,
What is the precise difference between p.Symbol and p.Bars.Symbol (assuming that p is a Position)?
Many thanks,
Izzy
For example, in the RSI rotation strategy we have the code snippet:
-------------------------------------------------------------
foreach(Position p in ActivePositions)
if (p.Bars.Symbol == holder.symbol)
{
buyPosition = false;
break;
}
--------------------------------------------------------------
What would happen if instead we had
--------------------------------------------------------------
foreach(Position p in ActivePositions)
if (p.Symbol == holder.symbol)
{
buyPosition = false;
break;
}
----------------------------------------------------------------
Size:
Color:
p.Symbol is a shortcut to p.Bars.Symbol.
Size:
Color: