I have a simply metod to identify the trend. This is the code:
protected override void Initialize()
{
CalculateOnBarClose = true;
}
/// <summary>
/// Called on each bar update event (incoming tick)
/// </summary>
protected override void OnBarUpdate()
{
// Condition set 1
if (High[0] > High[10]
&& High[0] > High[30])
{
DrawDot("My dot" + CurrentBar, false, 0, High[0] + 15 * TickSize, Color.Blue);
}
}
The problem is: ths strategy doesn't work. Why? It is so simply, only two simply conditions. I am sure there are places on the chart which should be marked.

Comment