• 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

hello

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

    hello

    hello , When I launch the strategy The order does not pass, and that but initialized in yellow
    But the order does not pass, what to do



    firstOrder = myAccount.CreateOrder(Instrument, OrderAction.Buy, OrderType.StopMarket, TimeInForce.Day, 1, 0, 0.0090370, "", "Entry", null);

    #2
    Thank you for your question Yesiam. This behavior is not caused by your code. When you first turn on your strategy, make sure its Start Behavior is Immediately Submit, Synchronize Account if you do not want your strategy to wait until you are in a flat position before executing. If you would prefer your strategy waiting until you are in a flat position before starting, you can instead visit the Positions tab of the control center, right click, and select "Flatten Everything" to return to a flat position and enable your wait strategies to start. Please let us know if there are any other ways we can help.
    Jessica P.NinjaTrader Customer Service

    Comment


      #3
      I put it Immediately Submit, Synchronize Account , its not always walking ...

      Comment


        #4
        Let's see if we can determine why this is the case.

        It will be easier to answer questions about strategies not producing expected results if we could answer as many of the following questions as possible. Could you take a few minutes to review these questions? I am happy to explain further any of the below questions and the rationale behind asking them.


        • Do you see expected results when running the same test environment on the SampleMaCrossOver strategy in NinjaTrader with a 3 and 14 period?
          • By expected results, I mean that the SampleMACrossover places trades whenever a 3 and 14 period SMA cross
        • Who are you connected to? This is displayed in green on lower left corner of the Control Center window.
        • Are you connected to your data feed provider when running this test?
        • What instrument(s) (and expiry if applicable) have you selected?
        • What Data Series Type have you selected? Example: Tick, Minute, Day
        • What From and To date is selected?
        • Is your strategy a multi instrument or multi time frame strategy?
        • Do you receive an error on screen? Are there errors on the Log tab of the Control Center? If so, what do these errors report?
        Jessica P.NinjaTrader Customer Service

        Comment


          #5
          1)SampleMaCrossOver = No results
          2)im connected in Sim 101 my continiuym
          3) I dont now on strategy I dont add data
          4)I do not put any instrument
          5) in range (1)
          6) my strategie buy after target at buy and sell after target at sell .
          7) No there is no error , he says initialized .

          If you have to show me something show me in video please
          I'm putting you 2 screenshot
          But I'm not putting the entire encoding

          Comment


            #6
            I test the demo mode to be able to put a real invessement
            Attached Files

            Comment


              #7
              Thank you for this information Yesiam. Before we can look at your strategy, we will first have to get your SampleMACrossover to a place where it places trades reliably. In order to do this, we will need to have data available. Since you mentioned not having data available, let's first work on connecting to the playback connection.

              Please follow the instructions in this video.

              https://www.youtube.com/watch?v=wvoc...o0nkVPiJD9WgP8

              Once you have a Playback connection available, this connection will give you historical data we can always replay over. At this point, please try the test with the SampleMACrossover again, and please let us know either way whether you are able to see placed trades, so we can assist further.
              Jessica P.NinjaTrader Customer Service

              Comment


                #8
                you do not help me at all I can not get a chart like him in the video

                Comment


                  #9
                  I understand that you are not seeing the same thing as shown in the video on your end. Can you let me know how many minutes and seconds into the video you were able to get before what you were seeing on your end differed from what was in the video? This information will help me give you the best assistance I can.
                  Jessica P.NinjaTrader Customer Service

                  Comment


                    #10
                    I watch the whole video but I can not open a chart

                    Comment


                      #11
                      It sounds like we can provide better assistance directly. Please e-mail platformsupport[at]ninjatrader[dot]com so that we can provide better personal assistance. Please mention Attn:NinjaTrader_JessicaP and 1690825 in the subject line of your e-mail.
                      Jessica P.NinjaTrader Customer Service

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by cirzonorkecv, Yesterday, 11:52 PM
                      0 responses
                      6 views
                      0 likes
                      Last Post cirzonorkecv  
                      Started by rickyblah12, Yesterday, 01:01 PM
                      1 response
                      13 views
                      0 likes
                      Last Post Erwin Beckers  
                      Started by dadarara, Yesterday, 12:18 PM
                      0 responses
                      8 views
                      0 likes
                      Last Post dadarara  
                      Started by joemiller, Yesterday, 07:33 AM
                      2 responses
                      13 views
                      0 likes
                      Last Post joemiller  
                      Started by TheGameOfProbabilities, 07-18-2019, 06:56 AM
                      7 responses
                      38 views
                      0 likes
                      Last Post DaveS
                      by DaveS
                       
                      Working...
                      X