NexusFi: Find Your Edge


Home Menu

 





Plotting the difference between two moving averages in Ninjatrader


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one cory with 2 posts (2 thanks)
    2. looks_two Big Mike with 2 posts (2 thanks)
    3. looks_3 flight302 with 2 posts (0 thanks)
    4. looks_4 wldman with 1 posts (1 thanks)
      Best Posters
    1. looks_one Big Mike with 1 thanks per post
    2. looks_two cory with 1 thanks per post
    3. looks_3 wldman with 1 thanks per post
    4. looks_4 Michael Krall with 1 thanks per post
    1. trending_up 5,931 views
    2. thumb_up 7 thanks given
    3. group 5 followers
    1. forum 8 posts
    2. attach_file 2 attachments




 
Search this Thread
  #1 (permalink)
 
flight302's Avatar
 flight302 
florida
 
Experience: Intermediate
Platform: Ninja Trader, TOS
Broker: Mirus/Vision/TOS/AMP
Trading: Currency Futures, Oil
Posts: 18 since Dec 2009
Thanks Given: 16
Thanks Received: 7

Has anyone plotted the difference between two moving averages in ninjatrader?
Thanks


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NYSE Owner ICE Invests in Crypto Exchange OKX at $25 Bil …
Cryptocurrency
Orban at 29pct as Hungary Votes Tomorrow -- McIlroy Surg …
Prediction Markets & Event Contracts
April 2026 Jobs Report: +115k vs +65k Expected
Traders Hideout
Saylors 41-Month HODL Breaks: Strategy Sells 32 BTC as $ …
Prediction Markets & Event Contracts
Iran Peace Expired NO: Ceasefire on Life Support, OPEC a …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Lady Vols Primer: Trading Volatility Journal
8 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Trying to learn Volume and price action correlation
5 thanks
  #2 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,669 since Jun 2009
Thanks Given: 33,669
Thanks Received: 102,557


flight302 View Post
Has anyone plotted the difference between two moving averages in ninjatrader?
Thanks

Yes

Mike




We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on X Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #3 (permalink)
 
wldman's Avatar
 wldman 
Chicago Illinois USA
 
Experience: Advanced
Broker: IB, ToS
Trading: /ES, US Equities/Options
Frequency: Several times daily
Duration: Hours
Posts: 3,583 since Aug 2011
Thanks Given: 2,093
Thanks Received: 9,696



Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #4 (permalink)
 HitTheCity 
Melbourne
 
Experience: Intermediate
Platform: NinjaTrader
Trading: Forex
Posts: 102 since Apr 2012
Thanks Given: 78
Thanks Received: 46

If you're having trouble with the code to do this, post your attempt and I'll be happy to help.


Reply With Quote
Thanked by:
  #5 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,669 since Jun 2009
Thanks Given: 33,669
Thanks Received: 102,557

Sorry for my less than helpful answer, one of those days...

Mike




We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on X Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #6 (permalink)
 
cory's Avatar
 cory 
virginia
the coin hunter
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,093


flight302 View Post
Has anyone plotted the difference between two moving averages in ninjatrader?
Thanks

MACD is actually the difference between two moving averages.


Reply With Quote
Thanked by:
  #7 (permalink)
 Michael Krall 
Manitowoc, WI
 
Experience: Advanced
Platform: NinjaTrader
Trading: Forex
Posts: 10 since Aug 2013
Thanks Given: 5
Thanks Received: 4

Do you need something like the Multi MA Price Channel V2 indicator?


Reply With Quote
Thanked by:
  #8 (permalink)
 
flight302's Avatar
 flight302 
florida
 
Experience: Intermediate
Platform: Ninja Trader, TOS
Broker: Mirus/Vision/TOS/AMP
Trading: Currency Futures, Oil
Posts: 18 since Dec 2009
Thanks Given: 16
Thanks Received: 7

Thanks for the help everyone, the MACD works perfectly. I adjusted the smoothing to 10000 and it will show the difference between the two ema's. I never really use that indicator before but it suits my purpose now.


Started this thread Reply With Quote
  #9 (permalink)
 
cory's Avatar
 cory 
virginia
the coin hunter
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,093


flight302 View Post
Thanks for the help everyone, the MACD works perfectly. I adjusted the smoothing to 10000 and it will show the difference between the two ema's. I never really use that indicator before but it suits my purpose now.


you don't have to go to that extreme just to see diff between 2 EMAs, try this setting instead.


Attached Thumbnails
Click image for larger version

Name:	macd-setting.png
Views:	433
Size:	58.8 KB
ID:	137550   Click image for larger version

Name:	FB (Daily)  6_4_2013 - 9_28_2013.jpg
Views:	361
Size:	67.4 KB
ID:	137551  
Reply With Quote
Thanked by:




Last Updated on February 17, 2014


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts