Here's my little conundrum that I'm now hitting that I'm sure it's so simple it hurts. Anyways, I have an indicator that outputs certain price points onto the left hand side of the chart window (the Comment function), but I want to set it to display this text in the seperate window below the chart instead. Also I've noticed that the drawing of the lines that correspond to the output numbers are completely and wholly off, which irks the living crap out of me, but that's MT4 for ya.
For clarity, here is the code that I'm wanting to have output into the seperate window, and yes the properties are set to "indicator_seperate_window":
for(int i=0; i<limit; i++)
{
ExtMapBuffer1[i]=iMA(NULL,0,(MA1),0,MODE_EMA,PRICE_MEDIAN,i);
{
ExtMapBuffer2[i]=ExtMapBuffer1[i]+(L3)*Point;
ExtMapBuffer3[i]=ExtMapBuffer1[i]+(L2)*Point;
ExtMapBuffer6[i]=ExtMapBuffer1[i]+(L1)*Point;
ExtMapBuffer7[i]=ExtMapBuffer1[i]-(L1)*Point;
ExtMapBuffer4[i]=ExtMapBuffer1[i]-(L2)*Point;
ExtMapBuffer5[i]=ExtMapBuffer1[i]-(L3)*Point;
}
Comment("\n > Key Levels <",
"\n\n3 - ",ExtMapBuffer2[limit],"\n2 - ",ExtMapBuffer3[limit],"\n1 - ",ExtMapBuffer6[limit],
"\nEMA - ",ExtMapBuffer1[limit],
"\n1 - ",ExtMapBuffer7[limit],"\n2 - ",ExtMapBuffer4[limit],"\n3 - ",ExtMapBuffer5[limit]);
}
For clarity, here is the code that I'm wanting to have output into the seperate window, and yes the properties are set to "indicator_seperate_window":
for(int i=0; i<limit; i++)
{
ExtMapBuffer1[i]=iMA(NULL,0,(MA1),0,MODE_EMA,PRICE_MEDIAN,i);
{
ExtMapBuffer2[i]=ExtMapBuffer1[i]+(L3)*Point;
ExtMapBuffer3[i]=ExtMapBuffer1[i]+(L2)*Point;
ExtMapBuffer6[i]=ExtMapBuffer1[i]+(L1)*Point;
ExtMapBuffer7[i]=ExtMapBuffer1[i]-(L1)*Point;
ExtMapBuffer4[i]=ExtMapBuffer1[i]-(L2)*Point;
ExtMapBuffer5[i]=ExtMapBuffer1[i]-(L3)*Point;
}
Comment("\n > Key Levels <",
"\n\n3 - ",ExtMapBuffer2[limit],"\n2 - ",ExtMapBuffer3[limit],"\n1 - ",ExtMapBuffer6[limit],
"\nEMA - ",ExtMapBuffer1[limit],
"\n1 - ",ExtMapBuffer7[limit],"\n2 - ",ExtMapBuffer4[limit],"\n3 - ",ExtMapBuffer5[limit]);
}