So far I have a black diamond appearing over every single price bar....my basic conditions are these: High of current bar >= High of 3 bars ago and Close of current bar < Close of 3 bars ago.
Here is the ninja script I am using:
if(CurrentBar<2)return;if((High[0]>=High[-3])&&(Close[0]<Close[-3])); DrawDiamond("tag1" + CurrentBar,true,0,High[0]+(TickSize+.10),Color.Black);
}
Any help is much appreciated...for some reason the diamond is being plotted on every bar, so I guess my conditional statements are not being recognized.
Comment