NT8: "BarsData.PriceMarkerColor" is gone and I have hunted around in the code and can not find the NT8 replacement code to do this.
I have similar code in other places that I am doing similar things with so I need access to this behavior.
{
Value[0] = newLastPrice;
if (newLastPrice >= bestAsk)
{
if(bidAskPriceLine)
BarsArray[0].BarsData.PriceMarkerColor = askPriceLineColor;
Draw.Ray(this, "CurrRay", false, rayLengthLast, newLastPrice, 0, newLastPrice, askPriceLineColor, lineStyleLast, lineWidthLast);
}
else if (newLastPrice <= bestBid)
{
if(bidAskPriceLine)
BarsArray[0].BarsData.PriceMarkerColor = bidPriceLineColor;
Draw.Ray(this, "CurrRay", false, rayLengthLast, newLastPrice, 0, newLastPrice, bidPriceLineColor, lineStyleLast, lineWidthLast);
}
else
{
BarsArray[0].BarsData.PriceMarkerColor = lastPriceLineColor;
Draw.Ray(this, "CurrRay", false, rayLengthLast, newLastPrice, 0, newLastPrice, lastPriceLineColor, lineStyleLast, lineWidthLast);
}
}

Comment