Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Use Alert To Place Oders

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

    Use Alert To Place Oders

    Hi,

    Using Ninja 8, I am trying to set up an alert triggered order to place a buy stop one tick above the lower bollinger band if price crosses below the lower bollinger band (BB) and closes below the lower (BB), and a sell stop one tick below the upper bollinger band if price crosses above the upper bollinger band and closes above the upper BB.
    I do not see the ability to do that using alerts. Is it possible?

    Thanks, and have a great day,
    DayTrader12.

    #2
    Hi DayTrader12,

    While it would be possible to set an alert to trigger when the price crosses below the lower bollinger band, i'm not sure about placing an order with a stop using the current price with an offset.

    I will have to look into this for you.
    I appreciate your patience while I find more information.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thank you ChelseaB,

      It says it is possible in the help guide.
      But, the guide does not tell me how to attach the buy stop or sell stop with my
      condition of 1 tick above the lower BB or below the upper BB:


      Under Operations: Alerts

      Only allows me to set the stop price as a number.

      DT12

      Comment


        #4
        Hello DT12,

        Our development has let me know that currently a typed value must go here.

        However, this was made into feature request SFT-1389 'Alert Dynamic Submit Order Prices' as this will be revisited by our development as demand for this functionality grows.

        I have added your vote toward implementing this.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Thanks ChelseaB,

          Please ask the team to include the ability to use the BB of one data series with the entry using another data series. For example, if the close of a 2 minute candle is less than the lower BB of a 10 minute data series, place a buy stop at the lower BB plus 1 tick. I am trying to code a strategy that would accomplish this, but I am hung up on a condition to execute the trade if the bands are wide. Working on it.

          Comment


            #6
            Hi DayTrader12,

            Our development has updated the feature request with these details.
            Please let me know if you have any other feature requests you would like to submit.
            Chelsea B.NinjaTrader Customer Service

            Comment


              #7
              Setting alerts

              Hi all I am new to Ninja Trader I want to ask how to set Alerts up for things like hitting take profit and hitting stop loss etc if its posible thank you all. Michael...

              Comment


                #8
                Hello Michael,

                Currently, this thread is in the NinjaTrader 8 Beta section of the forum.

                Are you wanting to trigger an Alert when the stop loss or profit target fills in the Beta of NinjaTrader 8 or are you wanting this for the current stable release of NinjaTrader 7?

                Below is a link to the help guide on Alert().
                http://ninjatrader.com/support/helpG...n-us/alert.htm

                You will need to detect that the order has filled in either OnOrderUpdate or OnExecution.

                if (order.Name == "Stop Loss")
                {
                Alert("myAlert", Priority.Low, "Stop Loss has filled", string.Empty, 1, Brushes.White, Brushes.Black);
                }

                Alert(string id, Priority priority, string message, string soundLocation, int rearmSeconds, Brush backColor, Brush foreColor);
                Chelsea B.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Belfortbucks, Today, 09:29 PM
                0 responses
                6 views
                0 likes
                Last Post Belfortbucks  
                Started by zstheorist, Today, 07:52 PM
                0 responses
                7 views
                0 likes
                Last Post zstheorist  
                Started by pmachiraju, 11-01-2023, 04:46 AM
                8 responses
                151 views
                0 likes
                Last Post rehmans
                by rehmans
                 
                Started by mattbsea, Today, 05:44 PM
                0 responses
                6 views
                0 likes
                Last Post mattbsea  
                Started by RideMe, 04-07-2024, 04:54 PM
                6 responses
                33 views
                0 likes
                Last Post RideMe
                by RideMe
                 
                Working...
                X