First of all - I have no coding experience. I would like to modify existing indicator so that instead painting bars - it would place a Diamond below or above the bar.
In this indicator I've located a place
case 2:
BarBrushes[1] = _Color;
BarBrushes[0] = _Color;
break;
When I place a phrase: "Draw.Diamond(this, "tag1", true, 0, Low[0] - TickSize, Brushes.Red);", above "break", Diamond actualy appears in correct spot but only on the last spot on the chart where the pattern occured. Meanwhile bars remained Painted for all the duration that is availalbe on the chart.
How to make this Diamond to appear on all occurences on the chart instead of only the last one?
Regards
Comment