NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > Application Technical Support > Charting

Charting Support for NinjaTrader Advanced Charting.

Reply
 
Thread Tools Display Modes
Old 12-06-2011, 05:51 PM   #1
oldhiker
Member
 
Join Date: Aug 2011
Location: Brisbane, Australia
Posts: 78
Thanks: 5
Thanked 8 times in 6 posts
Default Adding variable to the NT code, to show in the parameter list

I can add a new variable into the NT script and use it within the main code, but I cannot modify the script so that the new variable shows in the indicator properties window, so that I can change it without having to go back into the script and change, compile and reinstall.
I have tried to do this on several occasions, succeeding only to wreck the script and I have to start over again.
This oldhiker would appreciate some help. Thank you
oldhiker is offline  
Reply With Quote
Old 12-06-2011, 06:32 PM   #2
oldhiker
Member
 
Join Date: Aug 2011
Location: Brisbane, Australia
Posts: 78
Thanks: 5
Thanked 8 times in 6 posts
Default Adding variable to the NT code, to show in the parameter list

Thanks to the suggestions at the bottom of this question, I now have the answers as provided by ;-
NinjaTrader_Tim back in June 2010 gave me the information.

One more question, where is the code re Gui............................. placed in the overall script.
oldhiker is offline  
Reply With Quote
Old 12-07-2011, 02:41 AM   #3
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,377
Thanks: 252
Thanked 966 times in 949 posts
Default

oldhiker, I have replied in our other thread with a simple example how the property code structure would look incorporating this GUI... snippet you wished to use.
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 12-07-2011, 05:22 AM   #4
oldhiker
Member
 
Join Date: Aug 2011
Location: Brisbane, Australia
Posts: 78
Thanks: 5
Thanked 8 times in 6 posts
Default Adding variable to the NT code, to show in the parameter list

Hello Bertrand,
Thank you, I have seen the other thread. Another small hurdle overcome, thanks to your and Jim's help.
oldhiker is offline  
Reply With Quote
Reply

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
Code Snipet: Show to show one Dropdown InstrumentList selectable in chart jatubio General Programming 19 07-31-2012 10:12 AM
adding a new parameter to an indicator mishhh Indicator Development 10 12-07-2011 02:48 AM
NT crashes on adding instruments to existing list noincomenojobnoassets Version 7 Beta General Questions & Bug Reports 3 06-29-2010 04:52 AM
Adding a new Parameter problem cybertunerone Strategy Development 2 04-06-2009 02:44 PM
Passing period parameter to Add function as a variable JangoFolly Strategy Development 11 05-10-2008 04:32 PM


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