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 :
    https://ninjatraderecosystem.com/use...bar-buttons-2/

    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 wildleanketosale, Today, 03:49 AM
        0 responses
        1 view
        0 likes
        Last Post wildleanketosale  
        Started by wildleanketosale, Today, 03:48 AM
        0 responses
        2 views
        0 likes
        Last Post wildleanketosale  
        Started by hiltonvarai, Today, 03:10 AM
        0 responses
        1 view
        0 likes
        Last Post hiltonvarai  
        Started by afyuwi, Today, 02:33 AM
        0 responses
        2 views
        0 likes
        Last Post afyuwi
        by afyuwi
         
        Started by wushutrades, Today, 01:41 AM
        0 responses
        4 views
        0 likes
        Last Post wushutrades  
        Working...
        X