Prevent Parameters from showing in Indicator Call Parameters - NinjaTrader Programming | futures io social day trading
futures io futures trading


Prevent Parameters from showing in Indicator Call Parameters
Updated: Views / Replies:1,179 / 11
Created: by NJAMC Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

Prevent Parameters from showing in Indicator Call Parameters

  #1 (permalink)
Elite Member
Atkinson, NH USA
 
Futures Experience: Intermediate
Platform: NinjaTrader 8/TensorFlow
Broker/Data: NinjaTrader Brokerage
Favorite Futures: Futures, CL, ES, ZB
 
NJAMC's Avatar
 
Posts: 1,925 since Dec 2010
Thanks: 2,962 given, 2,294 received

Prevent Parameters from showing in Indicator Call Parameters

Does anyone know of a way to hide "Parameter Box" options from showing in an indicators call parameters?

I am writing an indicator and want to prevent new parameters (2nd generation) and certain tuning parameters from being added to the CALL to that indicator in a strategy?

I have tried changing the GridCatagory, but that didn't seem to work.
[GridCategory("Parameters2")]



Thanks

Nil per os
-NJAMC [Generic Programmer]

LOM WIKI: NT-Local-Order-Manager-LOM-Guide
Artificial Bee Colony Optimization
Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,602 received
Forum Reputation: Legendary



NJAMC View Post
Does anyone know of a way to hide "Parameter Box" options from showing in an indicators call parameters?

I am writing an indicator and want to prevent new parameters (2nd generation) and certain tuning parameters from being added to the CALL to that indicator in a strategy?

I have tried changing the GridCatagory, but that didn't seem to work.
[GridCategory("Parameters2")]



Thanks

Just replace "GridCategory" with "Category".

Reply With Quote
The following 2 users say Thank You to Fat Tails for this post:
 
  #4 (permalink)
Elite Member
Atkinson, NH USA
 
Futures Experience: Intermediate
Platform: NinjaTrader 8/TensorFlow
Broker/Data: NinjaTrader Brokerage
Favorite Futures: Futures, CL, ES, ZB
 
NJAMC's Avatar
 
Posts: 1,925 since Dec 2010
Thanks: 2,962 given, 2,294 received


Fat Tails View Post
Just replace "GridCategory" with "Category".

Hi @Fat Tails,

I have tried the following:
 
Code
        [Description("Bar History for comparison")]
        [Category("Parameters")]
        public int HistorySize
        {
            get { return historySize; }
            set { historySize = Math.Max(1, value); }
        }
For some reason "int historySize" still shows in the parameters when I call this indicator from a strategy. I tried deleting the NT created functions at the end of the indictor to try and reset the compiler, but it just kept putting in back. The parameters still show in the Parameter Dialog box so that is still okay.

Thanks

Nil per os
-NJAMC [Generic Programmer]

LOM WIKI: NT-Local-Order-Manager-LOM-Guide
Artificial Bee Colony Optimization
Reply With Quote
 
  #5 (permalink)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,534 since Apr 2013
Thanks: 231 given, 855 received
Forum Reputation: Legendary

NJAMC,

changing [Category("Parameters")] to [Category("Visual")] should do what you have in mind in case I understand you correctly. Although there are probably better solutions to the problem.

Regards,
ABCTG


NJAMC View Post
Hi @Fat Tails,

I have tried the following:
 
Code
        [Description("Bar History for comparison")]
        [Category("Parameters")]
        public int HistorySize
        {
            get { return historySize; }
            set { historySize = Math.Max(1, value); }
        }
For some reason "int historySize" still shows in the parameters when I call this indicator from a strategy. I tried deleting the NT created functions at the end of the indictor to try and reset the compiler, but it just kept putting in back. The parameters still show in the Parameter Dialog box so that is still okay.

Thanks


Reply With Quote
The following user says Thank You to ABCTG for this post:
 
  #6 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,602 received
Forum Reputation: Legendary


NJAMC View Post
Hi @Fat Tails,

I have tried the following:
 
Code
        [Description("Bar History for comparison")]
        [Category("Parameters")]
        public int HistorySize
        {
            get { return historySize; }
            set { historySize = Math.Max(1, value); }
        }
For some reason "int historySize" still shows in the parameters when I call this indicator from a strategy. I tried deleting the NT created functions at the end of the indictor to try and reset the compiler, but it just kept putting in back. The parameters still show in the Parameter Dialog box so that is still okay.

Thanks

Maybe you need to select a different name then "Parameters".

Usually replacing "GridCategory" with "Category" works.

Reply With Quote
The following user says Thank You to Fat Tails for this post:
 
  #7 (permalink)
Elite Member
Atkinson, NH USA
 
Futures Experience: Intermediate
Platform: NinjaTrader 8/TensorFlow
Broker/Data: NinjaTrader Brokerage
Favorite Futures: Futures, CL, ES, ZB
 
NJAMC's Avatar
 
Posts: 1,925 since Dec 2010
Thanks: 2,962 given, 2,294 received


Fat Tails View Post
Maybe you need to select a different name then "Parameters".

Usually replacing "GridCategory" with "Category" works.

@ABCTG and @Fat Tails,

It seems like this works sometimes... It might be certain data types as my "STRING" that is in section "Version" I can turn on and off, but the bools and ints not so lucky....

Do you know if we can write our own class initializer so NT make the big one with the millions of command line options, but I hand write one with a few or no parameters?

Nil per os
-NJAMC [Generic Programmer]

LOM WIKI: NT-Local-Order-Manager-LOM-Guide
Artificial Bee Colony Optimization
Reply With Quote
 
  #8 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,602 received
Forum Reputation: Legendary


NJAMC View Post
@ABCTG and @Fat Tails,

It seems like this works sometimes... It might be certain data types as my "STRING" that is in section "Version" I can turn on and off, but the bools and ints not so lucky....

Do you know if we can write our own class initializer so NT make the big one with the millions of command line options, but I hand write one with a few or no parameters?


I have coded hundreds of indicators. All bools and ints labeled with "Category" will not show in the parameter list of an indicator. Where is the problem?

Reply With Quote
The following user says Thank You to Fat Tails for this post:
 
  #9 (permalink)
Elite Member
Atkinson, NH USA
 
Futures Experience: Intermediate
Platform: NinjaTrader 8/TensorFlow
Broker/Data: NinjaTrader Brokerage
Favorite Futures: Futures, CL, ES, ZB
 
NJAMC's Avatar
 
Posts: 1,925 since Dec 2010
Thanks: 2,962 given, 2,294 received


Fat Tails View Post
I have coded hundreds of indicators. All bools and ints labeled with "Category" will not show in the parameter list of an indicator. Where is the problem?

@Fat Tails,

I am willing to bet it is more than hundreds of indicators you have coded. For some reason, most of the BOOLs and INTs still stay in the parameter list (a few dropped when I renamed all to Category). Do you know of one of your Indicators off hand I can play with to see if I can figure out why this is not reliable in my indicator?

Nil per os
-NJAMC [Generic Programmer]

LOM WIKI: NT-Local-Order-Manager-LOM-Guide
Artificial Bee Colony Optimization
Reply With Quote
 
  #10 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,602 received
Forum Reputation: Legendary



NJAMC View Post
@Fat Tails,

I am willing to bet it is more than hundreds of indicators you have coded. For some reason, most of the BOOLs and INTs still stay in the parameter list (a few dropped when I renamed all to Category). Do you know of one of your Indicators off hand I can play with to see if I can figure out why this is not reliable in my indicator?

Sorry, on my side nothing stays in the parameter list. Please rename both "GridCategory" to "Category" and "Parameters" to something else. Could you attach an example that causes problems please?

Reply With Quote

Reply



futures io > > > > > Prevent Parameters from showing in Indicator Call Parameters

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting User Parameters traderseeker NinjaTrader Programming 2 March 6th, 2014 06:38 AM
Optimizating Parameters as a Group elitetradernyc NinjaTrader Programming 2 February 20th, 2013 11:07 PM
Passing indicator parameters hawks67 NinjaTrader Programming 7 November 29th, 2012 10:04 AM
Reload Indicator with other parameters konsistencia NinjaTrader Programming 2 September 26th, 2012 12:57 PM
Function with optional parameters ZARk TradeStation 0 June 1st, 2012 05:05 AM


All times are GMT -4. The time now is 06:18 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2017-12-18 in 0.13 seconds with 20 queries on phoenix via your IP 54.221.93.187