I wanted to paint my price bars either red or green based on whether two moving averages are above or below each other.
I looked at the 2 posts here on the forum:
I downloaded the 2 sample scripts and tried to compile them but get an error: "No overload for method "DrawRectangle" takes 8 argument" -I click on CS1501 for more info and thats blank too.
So I looked around the forum and help function and found the BarColor function and its example here:
That looks just what I need.Problem is that on compiling it gives an error message too.
I get ""The name BarColor does not exist in the current context"-when I click on CS0103 for more info its blank.
I also get an error message "No overload for method "DrawRectangle" takes 8 argument"
Not sure where this Draw Rectangle error comes from as I have not typed in any thing like it.
Does anyone know what I'm doing wrong? I have NT7 beta 9 running on XP
Thanks,
John

Comment