I am trying a very simple indicator which does not plot right. It should plot at the average of the bar when the high of the current bar is less than the previous high and the low of the current bar is higher than the previous low. Sometimes it plots completely above or below the bar, even though clicking on the chart and reading the values plotted gives the correct figure and the correct value is displayed on the status line. Ie in summary it is not plotted at the values calculated.
Code: Select all
Condition1 = High < High And Low > Low;
If condition1 then Plot1(Value1);
I am using 6.01 Beta1 (Build 3081)
I have attached a figure of what is happening