Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Custom programing to work on NT8 web version

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

    Custom programing to work on NT8 web version

    Hi,

    My trading environment is 100% pure non-automated manual trading. I was wondering in what form or shape should a piece of custom programming be if it is to work with the web version, Add-on, Strategy, or what?

    Specifically I'm looking to have custom risk settings that will track Realized PnL and Total PnL and flatten positions / lock account based on particular metrics which the existing default Risk Settings do not include, all while the trading occurs on the web version. I'm also looking to not have to log into a desktop session in order for the programming to turn on.

    More specifically, I'm just looking to have a max trailing drawdown calculated on *real-time Realized PnL*, which is not satisfied by neither the existing End-of-day Max Trailing Drawdown nor the Real-time Max Trailing Drawdown features in Risk Settings.
    Last edited by kaseipds; 05-26-2024, 07:37 AM.

    #2
    Hello kaseipds,

    Thank you for your post.

    Unfortunately, only indicators are available on NinjaTrader Web at this time.
    While we are excited to be able to offer custom coding on our Web platform soon, we unfortunately do not have the resources and documentation completed yet.
    Custom indicators for NinjaTrader web are written in JavaScript and are coming from Tradovate web trader.
    In the meantime, below is a link to the Tradovate documentation:
    Please let us know if we may be of any further assistance.

    Comment


      #3
      Originally posted by NinjaTrader_Eduardo View Post
      Hello kaseipds,

      Thank you for your post.

      Unfortunately, only indicators are available on NinjaTrader Web at this time.
      While we are excited to be able to offer custom coding on our Web platform soon, we unfortunately do not have the resources and documentation completed yet.
      Custom indicators for NinjaTrader web are written in JavaScript and are coming from Tradovate web trader.
      In the meantime, below is a link to the Tradovate documentation:
      Please let us know if we may be of any further assistance.
      Hi Eduardo,

      I reasonably believe that what I need is just something that can take control of the positions aspect of the account(s), which I found that the 'Max Position', 'Max Order Size' in Risk on desktop is already capable of doing, i.e. what I have set for Risk does work on activities on web too. Could I not code something that works by the same mechanism(in the sense of being able to restrict orders)?
      Last edited by kaseipds; 05-26-2024, 05:33 PM.

      Comment


        #4
        Hello kaseipds,

        Thank you for your reply.

        There are differences in the way the platforms are designed, so the mechanisms would be different, too.
        NinjaTrader Web does not support NinjaScript and code is written in JavaScript.

        Unfortunately, at this time, custom code on NinjaTrader web is not able to manage positions or handle order entry.

        Please let us know if we may be of any further assistance.

        Comment


          #5
          Hello Eduardo and everybody in NT8 support.
          Let me join the discussion too. I am kaseipds's partner. Kaseipds is a generator of trading ideas, and I am a coder who translates the idea into the script. As a coder I have some questions. Let's imagine the following trading environment.
          1. The user has an opened browser with some tabs containing trading consoles of web ninjatrader.
          2. The user has launched desktop instance of NT8.
          3. The user trades in the web.
          4. Once the user places entry/exit order he can also see the trade in the desktop app somewhere in trade performance UI. So, the trades are synchronized.
          5. We are going to create some addon in the desktop app that monitors those trades and calculates total PnL. If total realized PnL reaches some threshold value, the addon makes the following steps:
          a) flattens all active positions
          b) doesn't allow any trading operation both in the web and desktop consoles until the end of the session.
          I don't know yet how to manage point "b"... There may be some properties and/or methods of the class Account to get desired functionality...
          Is the algorithm described above implementable?

          Comment


            #6
            Originally posted by NinjaTrader_Eduardo View Post
            Hello kaseipds,

            Thank you for your reply.

            There are differences in the way the platforms are designed, so the mechanisms would be different, too.
            NinjaTrader Web does not support NinjaScript and code is written in JavaScript.

            Unfortunately, at this time, custom code on NinjaTrader web is not able to manage positions or handle order entry.

            Please let us know if we may be of any further assistance.
            Hi Eduardo,

            Just a kind reminder to please give a read to PopovDS's post just in case you were not notified, thanks.

            Comment


              #7
              Hello PopovDS,

              As your inquiry is related to NinjaScript development on the desktop application, I've created a new thread in that section of the forums where I will follow up with you.
              Hello Eduardo and everybody in NT8 support. Let me join the discussion too. I am kaseipds's partner. Kaseipds is a generator of trading ideas, and I am a coder who translates the idea into the script. As a coder I have some questions. Let's imagine the following trading environment. 1. The user has an opened browser with some
              Chelsea B.NinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by argusthome, 03-08-2026, 10:06 AM
              0 responses
              65 views
              0 likes
              Last Post argusthome  
              Started by NabilKhattabi, 03-06-2026, 11:18 AM
              0 responses
              41 views
              0 likes
              Last Post NabilKhattabi  
              Started by Deep42, 03-06-2026, 12:28 AM
              0 responses
              23 views
              0 likes
              Last Post Deep42
              by Deep42
               
              Started by TheRealMorford, 03-05-2026, 06:15 PM
              0 responses
              26 views
              0 likes
              Last Post TheRealMorford  
              Started by Mindset, 02-28-2026, 06:16 AM
              0 responses
              52 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Working...
              X