Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Ma cross template

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

    Ma cross template

    Hello. I tried to use Simple MA cross over template on a sim account. It should trade 1 contract, but Ninja shows 2 contracts in Positions. What does that mean?

    #2
    Also yesterday I've set up to trade Gold futures and today was a signal to buy, but it didn't execute it, why? File in attachment

    Comment


      #3
      Hello U0000999,

      Thanks for your posts.

      In the example of the CL 07-20, the strategy tab shows a position of 1 short while the account position shows 2 short. The single position is what the strategy has placed. The account position would show all positions on the instrument in that account. For example, if the strategy places 1 short which gets filled and then you manually place a short order that gets filled then that would present as shown in your screenshot. In general, you would not want to manually trade in the same instrument on the same account as the strategy is running.

      Regarding, "Also yesterday I've set up to trade Gold futures and today was a signal to buy, but it didn't execute it, why? File in attachment" Please check the log tab for any errors related to the strategy. If no errors then the next step would be to debug the strategy to determine why it is not placing orders as you expect. This is typically done by using Print statements that send their output to the New>Ninjascript output window. Here is a link to our help guide tips on debugging: https://ninjatrader.com/support/help...script_cod.htm
      Paul H.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by pibrew, Today, 06:37 AM
      0 responses
      0 views
      0 likes
      Last Post pibrew
      by pibrew
       
      Started by rbeckmann05, Yesterday, 06:48 PM
      1 response
      12 views
      0 likes
      Last Post bltdavid  
      Started by llanqui, Today, 03:53 AM
      0 responses
      6 views
      0 likes
      Last Post llanqui
      by llanqui
       
      Started by burtoninlondon, Today, 12:38 AM
      0 responses
      10 views
      0 likes
      Last Post burtoninlondon  
      Started by AaronKoRn, Yesterday, 09:49 PM
      0 responses
      15 views
      0 likes
      Last Post AaronKoRn  
      Working...
      X