Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 andrewtrades, Today, 04:57 PM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by chbruno, Today, 04:10 PM
    0 responses
    6 views
    0 likes
    Last Post chbruno
    by chbruno
     
    Started by josh18955, 03-25-2023, 11:16 AM
    6 responses
    436 views
    0 likes
    Last Post Delerium  
    Started by FAQtrader, Today, 03:35 PM
    0 responses
    7 views
    0 likes
    Last Post FAQtrader  
    Started by rocketman7, Today, 09:41 AM
    5 responses
    19 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X