the programe :
// Check for Tweezer pattern
protected override void Initialize()
{
CalculateOnBarClose = true;
Overlay = true;
PriceTypeSupported = false;
}
protected override void OnBarUpdate()
{
if (CurrentBar < 2) return;
if (High[0] == High[1])
DrawLine("tag1",true, 2, High[0], 0, High[1], Color.Magenta, DashStyle.Solid, 5);
if (Low[0] == Low[1])
}
the result: only one line was drawn and i want that all two same higts and each two same lowers bars will be drawn in the chart
can someone helps ?
does anyone has an ready indicator that shows evevn rtiple bars or more...
Comment