Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

EnterLong in an other Instrument.FullName

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

    EnterLong in an other Instrument.FullName

    Hi,

    I have a Strategy in ES,

    How can I Enter Long in Dow Jones like for instance... Enter Long (2,YM 09-13...)
    in side a Strategy running in ES ?

    Thanks a lot

    Pierre

    #2
    Pierre, you would first need to Add a Dow series into your ES strategy and then you could submit orders to it as well of course.



    Your order methods such as the EnterLong would have an advanced overload offering a BarsInProgress input to submit again -

    Comment


      #3
      Excuse me i forgeted to precise :

      The "Add ("ES 09-13", ....) is obvious, i know that

      my question is more precise, it is a probleme of syntaxe on EnterLong :

      How can I syntaxed the EnterLong command in Dow Jones like for instance...
      Enter Long (2,YM 09-13...) in side a Strategy running in ES ?

      Comment


        #4
        It depends on how many series you add in, as this would determine which BarsInProgress your YM series then is you wanted to submit against.

        If you just added this one series in, you would use something like the below -

        EnterLong(1, 2, "YM Entry")

        Comment


          #5
          in your answer : EnterLong(1, 2, "YM Entry")
          1 means the N° Order of the Add List, so i can use 2 or 3 next the add list
          2 means quantity

          are you agree ?

          Comment


            #6
            Correct, here's the overload you would use -

            EnterLong(int barsInProgressIndex, int quantity, string signalName)

            Just let Intellisense be your guide...

            Comment


              #7
              i have put the "Index add list" at least not in front
              lol
              i test that and give you return

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              627 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              359 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              105 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              562 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              567 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X