Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator refresh

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

    Indicator refresh

    I have built couple of indicators based on a swing indicator(Lizard Trader) I purchased. The swing indicator works fine every bar, but the ones I coded based on it do not get refreshed as they are supposed to. I have gone through every property & can't seem to figure out why. During manual trading, I just refresh the screen (F5) & make do.
    But, this is a pain during strategy testing with playback data.
    Is there a way for me to code this refresh in script ? (I have tried ForceRefresh(); & Calculate on tick change - Does not work)
    Thanks in advance.

    #2
    Hello kashmiami,

    Not enough information is provided about the original script or your custom code calling the original script.

    Possibly you need to call <IndicatorName>.Update() to update OnBarUpdate in the original script.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    88 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    135 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    119 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    69 views
    0 likes
    Last Post PaulMohn  
    Working...
    X