Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Swing High/Low Returning 0's

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

    Swing High/Low Returning 0's

    I have written a custom indicator using the Swing High/Low indicator. It works fine when I have calculateonbarclose=true, but if I change to false the swing high/low indicator returns all zeros. Is there an issue using the indicator with calculateonbarclose set to false?

    #2
    Swing works regardless of the setting. You will have to debug your indicator and see why your values are flat lining. Suggest you use Print() statements along each step of the way and track it on every single tick.
    Josh P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    264 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    168 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    171 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    257 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    209 views
    0 likes
    Last Post CarlTrading  
    Working...
    X