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

button buy or sell

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

    button buy or sell

    hi guys is possible create a script that when push button buy do also smothing , like write some in txt ? thankz

    #2
    Hi faustf, thanks for your question.

    We have a full set of examples here that shows you how to implement custom buttons into wpf elements of various windows:

    Hello All, Moving forward this will be maintained in the help guide reference samples and no longer maintained on the forum. Creating Chart WPF (UI) Modifications from an Indicator - https://ninjatrader.com/support/help...ui)-modifi.htm (https://ninjatrader.com/support/helpGuides/nt8/creating-chart-wpf-(ui)-modifi.htm) I've


    In the examples, add whatever code is needed into the buttons subscribed Click methods.

    Please let me know if I can assist any further.
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      thankz Chris , but for NJ7 _ have something ?

      Comment


        #4
        Hello faustf,

        Adding buttons to NinjaTrader 7 requires WinForms modifications.

        We do not offer support for WinForms modifications in NinjaTrader 7, but you may reference the script from our User App Share below to get further direction.

        This strategy will add buttons to the chart toolbar to sell or buy 1 lot but only when certain condition is true. By default the condition to buy is that Price has to close above the prior two bar. Anything can be changed in the script so each trader can define his own discretionary entry […]


        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.

        We look forward to assisting.
        JimNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Brevo, Today, 01:45 AM
        0 responses
        3 views
        0 likes
        Last Post Brevo
        by Brevo
         
        Started by aussugardefender, Today, 01:07 AM
        0 responses
        3 views
        0 likes
        Last Post aussugardefender  
        Started by pvincent, 06-23-2022, 12:53 PM
        14 responses
        239 views
        0 likes
        Last Post Nyman
        by Nyman
         
        Started by TraderG23, 12-08-2023, 07:56 AM
        9 responses
        384 views
        1 like
        Last Post Gavini
        by Gavini
         
        Started by oviejo, Today, 12:28 AM
        0 responses
        6 views
        0 likes
        Last Post oviejo
        by oviejo
         
        Working...
        X