Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Parameters

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

    Parameters

    How do I hide the "parameters" on my indicators so it cannot be seen or adjusted by those I train once I set them? Some seem to want to always tweek.

    #2
    Originally posted by bowas View Post
    How do I hide the "parameters" on my indicators so it cannot be seen or adjusted by those I train once I set them? Some seem to want to always tweek.
    Just do not expose them. Declare them as private variables global to the class, and assign them the fixed values that you want.

    If you must expose them as public variables, make them read-only: do not provide a setter, or declare them as read-only when you create them.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    603 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    349 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    104 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    560 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    560 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X