NinjaTrader_Austin
04-18-2010, 12:35 PM
james377, just like your other thread this is not compiling because you've never declared the variable b anywhere.
james377
04-18-2010, 03:14 PM
I am new to the language, if you could offer me some more help I would appreciate it.
NinjaTrader_Josh
04-19-2010, 09:41 AM
james377,
Why are you creating IsReverseBarUp() as a public static?
Also, IsReverseBarUp(3.0) == true would not work because your method requires two parameters. Did you copy paste IsReverseBarUp() from another script? If you have done this you need to make sure you do it properly with all required components. Unfortunately we would not be able to assist with that portion as we would not know what would/would not be required.