Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator parameter will not change

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Indicator parameter will not change

    I am having problems with one of my custom indicator parameters. I have three int parameters for the indicator. Two function as expected. The third accepts the value in the Indicator window, and the name of the indicator in the window reflects the change after it is applied. The name on the chart however does not. And when I close the Indicator window and re-open it, the parameter value changes back to the default.

    Any suggestions?

    Thanks for any help.

    #2
    Solution

    Problem solved. I was using 'Bars' as a parameter - which appears to be the name for an existing function. I figured it out when I commented out the parameter's set/get code and attempted to use the default value. The compile listed a bunch of errors that obviously referenced another instance of bars.

    Seems like NT should pick that up and not let me compile? Anyhoo... what do I know.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    153 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    89 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    133 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    127 views
    1 like
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    107 views
    0 likes
    Last Post CarlTrading  
    Working...
    X