I'm almost embarrassed to post this because it seems so easy but somehow it doesn't work.
(I checked in the Ninja Help section as well and the syntax regarding volume is similar).
Basically I want Ninja to draw a diamond below a (green) bar IF it has 30% higher volume than the previous one.
Here's my code (it compiles ok but nothing happens).
if (Volume[0] > Volume[1]*1.3)
{
DrawDiamond("Long" + CurrentBar, false, 0, Low[0]- 2*(TickSize), Color.Black);
}
Any pointers as to why it doesn't work would be much appreciated.
Thanks

Comment