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, 03-31-2026, 09:41 PM
    1 response
    45 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    21 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    31 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    50 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    42 views
    0 likes
    Last Post CarlTrading  
    Working...
    X