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 Hwop38, 05-04-2026, 07:02 PM
    0 responses
    161 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    310 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    245 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    350 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    179 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Working...
    X