Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Force Reload Indicator

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

    Force Reload Indicator

    Hi All

    I have an indicator and I'm looking to initialize it at the start of a session.

    I have 2 ways to do it - reset all my vars to their initial state OR I can force a refresh of the indicator (which I don't know how to do).

    The latter option looks really attractive to me right now - anyone know how to do it?

    Thanks


    Pete

    #2

    Comment


      #3
      Hello Pete,
      You can simply use the SendKeys command to refresh the indicator. However the chart has to be focused for that.

      Alternatively you can PerformClick() the relevant context menu (Right click on the chart, and click on reload NinjaScript) via NinjaScript.

      This is beyond what we can support though.
      JoydeepNinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      173 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      328 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      252 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      354 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      181 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X