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 NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    58 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    133 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    73 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    45 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    50 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X