Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Ninjatrader 8

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

    Ninjatrader 8

    Hi there,

    I want to create an indicator, alert or strategy, where I can play a sound or visible message when I have X number of open positions, (actually I prefer to create an indicator)

    what could be a good starting point?

    I tried using the strategy builder similar to https://ninjatrader.com/support/foru...-check?t=93225 but with no luck (idk how to run a strategy when in live trading lol)



    #################################
    #UPDATE 1

    I managed to create a strategy and it is working with PositionAccount,
    now...

    How can I re-enable automatic the Strategy after close all my positions instead of enabling it manually?

    does NinjaTrader 8 allow custom buttons creations similar to "Buy Mkt", "Close" ?

    #################################



    I have background programing in c#, but I am unfamiliar with the ninja traders 8 class or documentation

    Regards,
    Alejandro
    Last edited by alejandro888; 12-30-2019, 11:56 PM.

    #2
    Hello Alejandro,

    When using an indicator the Addon approach allows you to add an event handler method to the Account.PositionUpdate event.

    Below is a link to the help guide.
    https://ninjatrader.com/support/help...tionupdate.htm

    The AddOn Framework NinjaScript Basic example script demonstrates this.
    https://ninjatrader.com/support/help...t_overview.htm


    NinjaScript Strategies cannot be enabled with code.

    Below is a link to an example strategy that adds buttons that submit orders.




    The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    56 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    132 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
    49 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X