NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > NinjaScript Development Support > General Programming

General Programming General NinjaScript programming questions.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 05-14-2011, 08:53 AM   #1
kaywai
Senior Member
 
Join Date: Sep 2009
Posts: 562
Thanks: 40
Thanked 4 times in 4 posts
Default Properties

Why is it when I place the below code in Properties

Code:

[Description("Setup Look Back Bars")]
[Category("Parameters")]
[Gui.Design.DisplayName("01. LookBack")]
publicint lookbackbars
{
get { return LookBackBars; }
set { LookBackBars = Math.Max(1, value); }
} 
I get the error message "No overload for method 'tdbuyextendedsetup' takes '0' arguments". The error, though, is occuring in indicators which call values from this indicator.

When I remove the above code, everything compiles...
kaywai is offline  
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Properties mjc4118 Strategy Development 1 09-18-2010 11:57 AM
Properties tonynt Miscellaneous Support 1 12-17-2009 08:56 AM
Fib properties Larry22 Version 7 Beta General Questions & Bug Reports 7 11-05-2009 02:36 PM
Recursive Properties zoltran General Programming 3 05-07-2008 01:29 AM
Beta bug? Strategy Analyzer backtest properties window showing wrong properties OregonSun Historical NinjaTrader 6.5 Beta Threads 2 01-27-2008 05:42 PM


All times are GMT -6. The time now is 05:04 PM.