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

EMA histogram

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

    EMA histogram

    Hello,

    I want to make an indicator, which would show me a difference between two EMAs. Im completely beginner with Ninjascript, so I would like to ask, if someone could post here a simple guide (script) how to do that.

    Thanks.

    #2
    Originally posted by sentrix View Post
    Hello,

    I want to make an indicator, which would show me a difference between two EMAs. Im completely beginner with Ninjascript, so I would like to ask, if someone could post here a simple guide (script) how to do that.

    Thanks.
    I would suggest that you take a look at the code for the MACD. What you asked for is an exact description of the MACD.

    Comment


      #3
      Hello,

      Welcome to the NinjaTrader forums.

      Yes koganam is correct. The macd does this. You can view its NinjaScript by going to control center->tools->Edit NinjaScript->Indicator->MACD to view the code.

      Finally, please be sure you know of these resource where there are quite a few samples on how to do things:

      Following are links to all available NinjaScript reference samples within this forum section: Strategy Reference Samples (NinjaTrader 8) - also applicable to NT7 Using a time filter to limit trading hours (http://www.ninjatrader.com/support/forum/showthread.php?t=3226) Using multiple entry/exit signals simultaneously




      Let me know if I can be of further assistance.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Barry Milan, Yesterday, 10:35 PM
      5 responses
      16 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Started by DanielSanMartin, Yesterday, 02:37 PM
      2 responses
      13 views
      0 likes
      Last Post DanielSanMartin  
      Started by DJ888, 04-16-2024, 06:09 PM
      4 responses
      13 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Started by terofs, Today, 04:18 PM
      0 responses
      12 views
      0 likes
      Last Post terofs
      by terofs
       
      Started by nandhumca, Today, 03:41 PM
      0 responses
      8 views
      0 likes
      Last Post nandhumca  
      Working...
      X