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 Lloyd143, Today, 05:24 PM
      1 response
      17 views
      0 likes
      Last Post NinjaTrader_ShawnB  
      Started by Hagar, Today, 04:38 PM
      1 response
      13 views
      0 likes
      Last Post NinjaTrader_ShawnB  
      Started by [email protected], Today, 04:49 PM
      0 responses
      10 views
      0 likes
      Last Post bpatel20@gmail.com  
      Started by forrestang, Today, 02:05 PM
      3 responses
      22 views
      0 likes
      Last Post NinjaTrader_ChrisL  
      Started by harryodell55, Today, 01:30 PM
      3 responses
      26 views
      0 likes
      Last Post NinjaTrader_ChrisL  
      Working...
      X