I'm new to ninjascripting, so I'm sure there is a simple reason why my script isn't working as planned. All I'm trying to do is have the volume bar paint green if volume is greater than the 50 EMA AND the price bar closes in the top 2/3 of the bar, paint red if it closes in the bottom 2/3, and gray if neither of the above conditions are true.
Thanks in advance for any help.
Rich
Comment