I suspect that I am missing something obvious but could someone with more than my 1 brain cell please explain.......
(or simply explain how to get candles in sub window using buffers)
If, for instance, I have an Heiken Ashi indi which displays in the main window and then try to put it into a sub window it will not show candles in the sub window.
i.e the histograms appear to start at zero whereas if in the main window they show proper candles. If that does not make sense then check attached chart.
The relevant code section being.......
if (haOpen<haClose)
{
ExtMapBuffer1[pos]=haLow;
ExtMapBuffer2[pos]=haHigh;
}
else
{
ExtMapBuffer1[pos]=haHigh;
ExtMapBuffer2[pos]=haLow;
}
ExtMapBuffer3[pos]=haOpen;
ExtMapBuffer4[pos]=haClose;
Any help much appreciated
TIA
Michael
(or simply explain how to get candles in sub window using buffers)
If, for instance, I have an Heiken Ashi indi which displays in the main window and then try to put it into a sub window it will not show candles in the sub window.
i.e the histograms appear to start at zero whereas if in the main window they show proper candles. If that does not make sense then check attached chart.
The relevant code section being.......
if (haOpen<haClose)
{
ExtMapBuffer1[pos]=haLow;
ExtMapBuffer2[pos]=haHigh;
}
else
{
ExtMapBuffer1[pos]=haHigh;
ExtMapBuffer2[pos]=haLow;
}
ExtMapBuffer3[pos]=haOpen;
ExtMapBuffer4[pos]=haClose;
Any help much appreciated
TIA
Michael
If you think I'm mad, I must be mad