Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

add shortcut to indicator

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

    add shortcut to indicator

    Hi,

    Is it possible to include somehow in my script a shortcut on the keyboard to switch a true/false and make it quicker without having to get to the indicator window?

    Ty

    #2
    Hello frankduc,

    Thanks for your post.

    A solution may be to use a button on your chart to change the state of the bool with a click.

    Here is a link to a strategy example that adds two buttons to a chart: https://ninjatraderecosystem.com/use...bar-buttons-2/

    Please note: 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.

    Comment


      #3
      Paul,

      I dont think this file is right. When i try to import the file it saying that i already have a newer version which is not true and its trying to overwrite other indicators.

      ty

      Comment


        #4
        Hello frankduc,

        Thanks for your reply.

        Yes, that is the correct link for the NinjaTrader8 version.

        Whenever you get a zipped file to download, if the zipped file includes system indicators, designated by "@"name, like @SMA, it will ask if you want to overwrite the system files with the downloaded files, always click NO because chances are the zipped file is older than the current version and you would not want to replace newer files with older ones, as a general rule. It will then bypass those indicators and install the other files that you don't have.

        In this particular case, under strategies, look for the file "LONGSHORTToolbarButtonsB9". which will have the button code.

        Comment


          #5
          Yes that's what i did.
          I also found more info on that thread :

          My objective is to have buttons to set up my orders submitted through an atm or fixed stop or target profit. My question is when creating a button such as buy bid on chart trader, is is possible to create this? Is it an indicator, strategy or addon


          That is a lot of script for two miserable buttons.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          656 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          371 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          109 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          574 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          579 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X