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 CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    63 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    35 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    199 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    365 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    283 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X