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

Sample MACD Code Request

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

    Sample MACD Code Request

    Hello,

    I'm learning NinjaScript from scratch with only basic programming experience and am having trouble finding relevant sample scripts to get me going. In particular can anyone reference a very simple MACD indicator that:

    - Buys when the MACD crosses zero from below
    - Sells when the MACD crosses zero from above

    And ideally also:

    - Can recognize "double sells/double buys" on the chart, for example sometimes the MACD will return to zero from above, but instead of crossing zero will bounce back above zero again for a second buy.
    - Gives audio signals when a trade is entered/exited.
    - If possible ignore insignificant changes of the MACD indicator, ie. "whiplash" or small "bumps" on the chart.

    Thanks for your patience with a newbie, at the moment I'm not making much progress on my own and would really appreciate the help,

    Best Regards,
    Jeremy
    Last edited by jeremymgp; 08-09-2007, 08:59 AM.

    #2
    Welcome at NinjaTrader.

    Unfortunately we are unable to support you on actual coding strategies for bandwidth reasons.

    However, there are resources available:
    - tutorial: http://www.ninjatrader-support.com/H...verview39.html
    - please monitor the link below on my signature to our free webinars. Every few weeks we schedule events on programming in NinjaScript
    - Finally: NinjaScript consultants are available to help program your custom indicators/strategies or to help our users throughout their learning curve. Additional information is located here - http://www.ninjatrader.com/webnew/pa...injaScript.htm

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by funk10101, Today, 09:43 PM
    0 responses
    3 views
    0 likes
    Last Post funk10101  
    Started by pkefal, 04-11-2024, 07:39 AM
    11 responses
    36 views
    0 likes
    Last Post jeronymite  
    Started by bill2023, Yesterday, 08:51 AM
    8 responses
    44 views
    0 likes
    Last Post bill2023  
    Started by yertle, Today, 08:38 AM
    6 responses
    26 views
    0 likes
    Last Post ryjoga
    by ryjoga
     
    Started by algospoke, Yesterday, 06:40 PM
    2 responses
    24 views
    0 likes
    Last Post algospoke  
    Working...
    X