How do candles get their colour? - page 2

 
if(ZTOpen>ZTClose)                 // bear
{
   ExtMapBuffer1[i] = ZTOpen;      // this gets painted red from top (open) to bottom (close)
   ExtMapBuffer2[i] = ZTClose;     // ExtMapBuffer1 is blue, ExtMapBuffer2 is red
}
if(ZTOpen<ZTClose)                 // bull
{
   ExtMapBuffer1[i] = ZTClose;     // this gets painted blue from top (close) to bottom (open)
   ExtMapBuffer2[i] = ZTOpen;
}

I was referring to the original code in question. Dead equal doji on this won't have/show any color. Same with Candle Graph on chart. Some including myself have had chart that's missing a few candles and it turned out it is the doji which was not colored or colored the same as the background's.

 
cameofx:

I was referring to the original code in question. Dead equal doji on this won't have/show any color. Same with Candle Graph on chart. Some including myself have had chart that's missing a few candles and it turned out it is the doji which was not colored or colored the same as the background's.

I see what you mean. That snippet was taken from Heiken Ashi Zone Trade. No matter, you certainly answered my question, thank you.
 
Always a pleasure Helmut.