Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Lower High script for NT

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

    Lower High script for NT

    Hi,
    I would like to write a script for a higher Low when Macd > MA but can't figure out how to write a Higher Low.
    Could you please show me how to do that?

    Also, I have some set ups, I would like to try in real time and was wondering how I can do that in Sim mode, so I can see it real time.

    Plus, it looked like a can set up an exit or trailing stop in real time. Can we do this in sim mode in a live market?

    Also, I was wondering if it is possible to only get 1 alert when my signal appears? I don't want to get the signal again and again as it continues to show up as that trade is in process. Is there a way to only receive one sound and text alert?

    Thank you,
    Rachel

    #2
    Rachel,

    Please see this reference sample: http://www.ninjatrader-support2.com/...ead.php?t=8600

    You will have to kind of merge the ideas to get a higher low.

    You can do anything you want in sim mode on a live market, just run your strategy on the Sim101 account and it will all be simulated trading against real-time data.

    If you only want one alert you will have to limit it yourself by creating a condition that will evaluate to false after it makes the first alert.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by rehtrade View Post
      can't figure out how to write a Higher Low.
      Could you please show me how to do that?
      Rachel,

      // higher low
      Low[0] > Low[1]

      // lower high
      High[0] < High[1]

      HTH,
      Mike

      Comment


        #4
        question

        Thanks Josh,

        Let me see if I understand you correctly.
        I am running my strategy on my chart, with my trade action steps: long and shorts etc.
        If I have another chart window open, in sim mode, is that the way to do it?
        If not, please point me to the link, that shows me how to do sim mode 101.

        Thanks
        Rachel

        Comment


          #5
          Thanks Mike

          Just one question, what is // ?
          I am trying to do this in Ninja Script Wizard.

          Thank you again,

          Rachel

          Comment


            #6
            Rachel,

            As you start a strategy you have the option to choose which account to trade on. Please select the Sim101 account. You only need one chart.

            // signifies a line of code that is commented out. This is code that is not evaluated, but is there just for making reading easier. Irrelevant if you are using the Wizard.
            Josh P.NinjaTrader Customer Service

            Comment


              #7
              Clarification

              Josh,

              In the Edit Strategy: Stops and Targets,
              When I set the SetStopLoss to "Simulated", is that setting it to Sim101 mode?
              Please provide the link, that shows me exactly how to set the sim101 for a live strategy.

              Thank you,

              Rachel

              Comment


                #8
                Rachel,

                There is nothing you need to set in the Strategy Wizard for Sim101. When you start your strategy you have a strategy selection dialogue window. There is a parameter called "Account" that is where you just have to set it to Sim101.
                Attached Files
                Josh P.NinjaTrader Customer Service

                Comment


                  #9
                  follow up

                  Hi again Josh,

                  I can't set my NT to Global Simulation Mode because I have 3 working orders that are swing plays, so I am not getting out of them any time soon.
                  I thought, we could have a strategy running in sim mode and also trade?
                  Please provide the step by step actions to take.
                  Thank you,
                  Rachel
                  PS I have IB brokerage, in case that makes a difference.

                  Comment


                    #10
                    Rachel,

                    You can. Just select the proper account. Select Sim101 for the strategy you want to simulate.
                    Josh P.NinjaTrader Customer Service

                    Comment


                      #11
                      follow up

                      Josh,

                      Listen, I need a little more detail than what you are providing.
                      1. I have a chart on Gold.
                      2. I have my startegy running on it, with out any go long or go short on my set ups.

                      I go an put those entries with a stop and trailing stop.

                      when I do to put that strategy back on the chart, just by placing it, will it be live? Or will something else happen. Am I suppose to get that strategy working from another window?
                      Because running the strategy without any long or short entries has not brought up any windows?

                      Please be more specific.
                      This is my first time and I don't want it to be live.

                      Thank you,

                      Rachel

                      Comment


                        #12
                        Rachel,

                        I am being as specific as I can. Please look at the screenshot in my prior posts. All you do is change the strategy you wish to run in simulated mode to use the Sim101 account. That is it. Whichever strategy you want to run on your live brokerage account, just select your brokerage account in that field. Whichever strategy you want simulated, choose Sim101.
                        Josh P.NinjaTrader Customer Service

                        Comment


                          #13
                          Thank you Josh

                          Thanks Josh,
                          I was having problems pulling up windows.
                          I appreciate the visual.
                          Thank you for your patience,
                          Rachel

                          Comment

                          Latest Posts

                          Collapse

                          Topics Statistics Last Post
                          Started by Karado58, 11-26-2012, 02:57 PM
                          8 responses
                          14,825 views
                          0 likes
                          Last Post Option Whisperer  
                          Started by Option Whisperer, Today, 09:05 AM
                          0 responses
                          1 view
                          0 likes
                          Last Post Option Whisperer  
                          Started by cre8able, Yesterday, 01:16 PM
                          3 responses
                          11 views
                          0 likes
                          Last Post cre8able  
                          Started by Harry, 05-02-2018, 01:54 PM
                          10 responses
                          3,203 views
                          0 likes
                          Last Post tharton3  
                          Started by ChartTourist, Today, 08:22 AM
                          0 responses
                          6 views
                          0 likes
                          Last Post ChartTourist  
                          Working...
                          X