Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Button for buy and sell

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

    Button for buy and sell

    Hi,

    I'd like to make two buttons (a buy and a sell button) that, preferably, would toggle, and that would place a buy/sell stop order in a specific place once a setup occurs. I'd like it to toggle, so that once I see a setup forming, I could click it and it starts looking for my setup, and if it never comes, I'd like to be able to turn off the toggle. What I'm looking for before I hit the toggle is pretty hard to code, so I want to do the hard work of seeing something form, and then have the button place the stop orders when a fairly basic setup occurs that is easily programmable. Also, I'd like it to toggle itself off if an order gets placed, so that it would put multiple orders out if another similar setup occurs.

    Is that something that is easily made? Two buttons (a buy and a sell) that look for a simple setup that can be manually turned on and off and would turn itself off once an order is placed?

    Thanks!
    Jack

    #2
    You can refer the the link below :


    You can learn from how to create button.
    However you have to put in some variable / condition so that you can pass it to trigger but / sell.

    Comment


      #3
      If you wish to automatically sell and buy button with function
      then either you know the code or you can pay the vendor ninjatrader to create 1 for you.

      Comment


        #4
        Hi Cincai,

        Thank you for that link. I believe that is exactly what I'm looking for!

        Cheers,
        Jack

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        90 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        137 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        68 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        120 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        71 views
        0 likes
        Last Post PaulMohn  
        Working...
        X