Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How can I develop a strategy

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

    How can I develop a strategy

    How can I develop a strategy that tells me when the MACD line crosses zero towards the positive side, for buys; and crosses zero downwards for sells.

    #2
    Hello Emipaz,

    Welcome to the NinjaTrader forums!

    I've moved this to a new thread as this is not related to the previous inquiry.

    Below I am providing a link to a forum post with helpful information about getting started with NinjaScript and C#.


    The Strategy Builder can be used to create simple NinjaScript strategies. This is a powerful tool and the best way to get introduced to it would be to follow along our Strategy Builder 301 tutorial which shows you how the tool can be used and shows how to create a simple strategy that can be tested.

    I recommend starting here, and then to start making simple strategies just to test out one or two conditions so you can be sure that you have the conditions set up appropriately. It is important to start small and to test as you go to ensure that the logic is working before you scale up and add more complexity to the strategy.

    In the Condition Builder select the Indicator -> MACD, in the center select Cross above, on the right select Misc -> Numeric Value, leave this set to 0.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    44 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    124 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    65 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    42 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    46 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X