protected override void Initialize()
{
CalculateOnBarClose = false;
DrawOnPricePanel = false;
}
/// <summary>
/// Called on each bar update event (incoming tick)
/// </summary>
protected override void OnBarUpdate()
{
// Condition set 1
if (EMA(34)[0] > SMA(50)[0]
&& EMA(34)[0] > EMA((int) (EMA(50)[0]))[0]
&& SMA(50)[0] > EMA((int) (EMA(50)[0]))[0])
{
DrawDot("tag1", true, 0, 0, Color.Lime);
}
Comment