if (EMA(10)[0] < EMA(21)[0])
{
DrawLine("loweave", 40, loweave, 0, loweave, Color.Red, DashStyle.Solid, 4);
}
As I understand this, if the 10 period EMA is greater than the 21 period EMA (see attached chart) which it is, then the "DrawLine" command should not happen.
HOWEVER it is! The Red line which corresponds to loweave is being drawn on the chart - Can you help please, this is driving me mad!!
Comment