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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    90 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    135 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    119 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    69 views
    0 likes
    Last Post PaulMohn  
    Working...
    X