protectedoverridevoid Initialize()
{
PaintPriceMarkers = true; // Indicator plot values are displayed in the y axis
CalculateOnBarClose = true;
Overlay = true;
PriceTypeSupported = true;
}
///<summary>
/// Called on each bar update event (incoming tick)
///</summary>
protectedoverridevoid OnBarUpdate()
{
if (CrossAbove(Close, MAX(Close, period), 1))
DrawArrowUp("up arrow" + CurrentBar, true, 0, MAX(Close, period)[0], Color.Green);
}
Comment