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.
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.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
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 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.