DrawOnPricePanel= false; in the Initialize() method, and is never touched again. I am well aware of NT's problems with that function. This indicator writes to the indicator panel only. In addition to this section of code, lines & text are produced and they do appear correctly. The output window shows exactly where the cross-overs were detected and is correct.
Unfortunately the Arrows NEVER show. I also tried Triangles -- they never plotted either.
tagX = "X"+CurrentBar.ToString();
if ( wERG[0]<wHIST[0] && wERG[1]>wHIST[1] ) // Mark triangle up
{
pX = wERG[0]-5;
DrawArrowUp(tagX, true, CurrentBar, pX, Color.Black);
Print(header+" ERG fell over Hist @ "+pX.ToString("###.##")+" on Bar "+CurrentBar+" at "+Time[0].ToString("MM/dd HH:mm:ss"));
}
else if ( wERG[0]>wHIST[0] && wERG[1]<wHIST[1] ) // Mark triangle down
{
pX = wERG[0]+5;
DrawArrowDown(tagX, true, CurrentBar, pX, Color.Black);
Print(header+" ERG rose over Hist @ "+pX.ToString("###.##")+" on Bar "+CurrentBar+" at "+Time[0].ToString("MM/dd HH:mm:ss"));
}
So what's going on?

Thank you, edanny!
Comment