• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Signal Name

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

    Signal Name

    I've searched but I can't find it. What is a signal name and how is it used?

    For example :

    SetStopLoss(string fromEntrySignal, CalculationMode mode, double value, bool isSimulatedStop)

    BarsSinceExitExecution(string signalName)


    Can someone give me a brief primer on it and perhaps a couple simple examples. Does it equate to a Boolean variable that generates a signal if the variable is true?

    #2
    The way a signal name is used is for example if I said...

    EnterLong(1,"Setup1");

    Then the name "Setup1" is the entry signal name. So if later on in the strategy I wanted to close that specific trade entry later on I could close it like..

    ExitLong("Setup1");

    So it's basically just setting a variable to an entry to be able to call it later to do something with it.

    (That's how I know it anyway, I may be wrong so someone else can chime in if I am.)

    Comment


      #3
      Hello DuggyLou,

      clubfoot is correct. The signal name identifies the order. This allows for an exit to be specific to an entry when multiple entries are placed by setting the from entry signal of the exit to match the signal name of the entry. This also changes the label for the order on the chart.

      Below is a link to the Strategy Builder 301 course which describes signal names and from entry signals.
      https://www.youtube.com/watch?v=HCyt...tu.be&t=52m35s
      Chelsea B.NinjaTrader Customer Service

      Comment


        #4
        That makes sense now. So if I had an entry signal I could then set a Stop Loss for example that would just apply to that signal name. Same thing for BarsSinceExitExecution, If that order entry had a signal name I could use BarsSinceExitExecution with the corresponding Signal Name to determine how many bars since that specific exit. Any other caveats or uses for signal name? Thanks

        Comment


          #5
          Hi DuggyLou,

          This is also used for unique entries when using Entry handling and Entries per direction.
          http://ninjatrader.com/support/helpG...ryhandling.htm
          http://ninjatrader.com/support/helpG...rdirection.htm
          Chelsea B.NinjaTrader Customer Service

          Comment


            #6
            Looking for help with Scaling out of positions in Strategy Builder. I understand using signal names for exits however I can't figure out how to enter with multiple contracts.

            Comment


              #7
              Hi, thanks for your question.

              You can call an entry method multiple times with different signal names in one action. Make sure you ser "Entries Per Direction" to the number of contracts you want to enter.

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

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by RobertoPaez, Today, 06:47 PM
              0 responses
              3 views
              0 likes
              Last Post RobertoPaez  
              Started by catinabag, Today, 06:45 PM
              0 responses
              2 views
              0 likes
              Last Post catinabag  
              Started by darkgreen, Today, 03:35 PM
              0 responses
              7 views
              0 likes
              Last Post darkgreen  
              Started by GTBrooks, Today, 02:44 PM
              3 responses
              14 views
              0 likes
              Last Post GTBrooks  
              Started by GLFX005, Today, 12:22 PM
              4 responses
              41 views
              0 likes
              Last Post NinjaTrader_Kate  
              Working...
              X