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 kujista, Today, 06:23 AM
      0 responses
      1 view
      0 likes
      Last Post kujista
      by kujista
       
      Started by traderqz, Yesterday, 04:32 PM
      1 response
      10 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by f.saeidi, Today, 05:56 AM
      1 response
      4 views
      0 likes
      Last Post Jltarrau  
      Started by Jltarrau, Today, 05:57 AM
      0 responses
      4 views
      0 likes
      Last Post Jltarrau  
      Started by Stanfillirenfro, Yesterday, 09:19 AM
      7 responses
      52 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Working...
      X