Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Dynamic period for an indicator

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

    Dynamic period for an indicator

    I am planning in advance a bit and I probably won't get around to this for some time. I was wondering if I can use a dynamic period for indicator development. I have noticed that when assigning an indicator to a chart I cannot set the period to anything dynamic like an indicator, it must be a constant value, so I am not sure how to get around that in developing an indicator.

    #2
    Hi Chris, that would be definitely possible yes - just code an indicator that would assign the period then internally dynamically as you would have calculated. So you would not be able to supply it from the UI, but via coding.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    83 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    45 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    65 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    68 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    57 views
    0 likes
    Last Post CarlTrading  
    Working...
    X