Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

how to read strategy from addon?

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

  • NinjaTrader_ChrisL
    replied
    Hi trader252, thanks for writing in.

    1. Check the Account.Strategies collection from the active account object to get active strategies:
    https://ninjatrader.com/support/help...es_account.htm

    2. Our colleague Chelsea made an addon example showing how to get all charts and their indicator instances in the chart here:
    https://ninjatrader.com/support/foru...tor#post717883

    The values from the indicator should be accessible after getting the indicator object from the chart.

    Best regards,
    -ChrisL

    Leave a comment:


  • trader252
    started a topic how to read strategy from addon?

    how to read strategy from addon?

    Hi,
    I currently have an addon and a strategy that work together to manage trades. I would like to know to to do the following from within the addon:

    1. Check if the strategy is "enabled"
    2. Read indicator values (or somehow share the values to the addon)

    Are any of these possible?

Latest Posts

Collapse

Topics Statistics Last Post
Started by Ousher, Today, 09:01 AM
1 response
6 views
0 likes
Last Post NinjaTrader_Jesse  
Started by nepenthean, Today, 08:23 AM
1 response
7 views
0 likes
Last Post NinjaTrader_JustinD  
Started by Adam3123, 08-12-2019, 08:33 PM
37 responses
3,900 views
1 like
Last Post NinjaTrader_PatrickG  
Started by WHICKED, Yesterday, 11:12 PM
1 response
22 views
0 likes
Last Post NinjaTrader_Jim  
Started by Christopher Leggit, Today, 01:54 AM
1 response
9 views
0 likes
Last Post NinjaTrader_PaulH  
Working...
X