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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    43 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    21 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    30 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    50 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    40 views
    0 likes
    Last Post CarlTrading  
    Working...
    X