NexusFi: Find Your Edge


Home Menu

 





Indicator search


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Fat Tails with 3 posts (16 thanks)
    2. looks_two Quick Summary with 1 posts (0 thanks)
    3. looks_3 FTrader with 1 posts (0 thanks)
    4. looks_4 trendisyourfriend with 1 posts (0 thanks)
    1. trending_up 2,657 views
    2. thumb_up 16 thanks given
    3. group 3 followers
    1. forum 5 posts
    2. attach_file 4 attachments




 
Search this Thread
  #1 (permalink)
 FTrader 
Munich
 
Experience: Advanced
Platform: NinjaTrader
Posts: 12 since Apr 2010
Thanks Given: 3
Thanks Received: 1

Hello,
do you know an indicator for Ninja Trader 7 that shows the distance from an SMA in percentage?

Thanks!


Started this thread Reply With Quote

 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
21 thanks
2026 Jlab journal
10 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
2026 Fire Horse
5 thanks
  #3 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Interactive Brokers
Trading: Futures & Stocks
Posts: 9,887 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,114



FTrader View Post
Hello,
do you know an indicator for Ninja Trader 7 that shows the distance from an SMA in percentage?

Thanks!


I assume that you look for the distance of price from the SMA as a percentage of price.

Now this will normalize the distance over all the instruments that you trade. If you also want to normalize over various timeframes and charts, you would display the distance as a percentage of the average true range over a longer period.

The indicator below uses a fast SMA - which is smoothing price, but you can set it to 1, if you do not want that smoothing - and a slow SMA, which is the one you mentioned. It then calculates the distance and normalizes it. The values displayed are not percentages, but multiples of the ATR() over the initialization period, which you can set.

I have then added a signal line and Bollinger Bands to the indicator. If you don't like these, just set them to transparent.


Attached Thumbnails
Click image for larger version

Name:	ES 12-10 (30 Min)  25_10_2010.jpg
Views:	288
Size:	114.5 KB
ID:	24089  
Attached Files
Elite Membership required to download: NormalizedSMAMACD.zip
Reply With Quote
  #4 (permalink)
 
trendisyourfriend's Avatar
 trendisyourfriend 
Quebec Canada
Legendary Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES, NQ, YM
Frequency: Daily
Duration: Minutes
Posts: 4,580 since Oct 2009
Thanks Given: 4,266
Thanks Received: 6,199


FTrader View Post
Hello,
do you know an indicator for Ninja Trader 7 that shows the distance from an SMA in percentage?

Thanks!

It is also interesting to know the distance in terms of standard deviation. For example, price is at 2.58 standard deviation from the SMA[20]. This number could be shown on the bottom right side of the chart.


Reply With Quote
  #5 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Interactive Brokers
Trading: Futures & Stocks
Posts: 9,887 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,114


trendisyourfriend View Post
It is also interesting to know the distance in terms of standard deviation. For example, price is at 2.58 standard deviation from the SMA[20]. This number could be shown on the bottom right side of the chart.


The indicator can be easily modified to display the distance in numbers of standard deviations instead of true ranges. However the standard deviation oscillates faster, so it will get a bit nervous.


Reply With Quote
Thanked by:
  #6 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Interactive Brokers
Trading: Futures & Stocks
Posts: 9,887 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,114

If we play the game of normalizing indicators, the MACD is a great candidate. Attached is a version, which normalizes the MACD. You can use the normalized NormMACD as a trendfilter. If the NormMACD is above 1, this is an indication of a strong bull trend, if it below - 1 it is an indication of a strong bear trend.

The normalized MACD below comes as MACDBBLines. The graphical display should be near-identical with the MACDBBLines, just the scale is now normalized for all instruments and timeframes.


Attached Thumbnails
Click image for larger version

Name:	SB 03-11 (15 Min)  25_10_2010.jpg
Views:	297
Size:	104.6 KB
ID:	24109  
Attached Files
Elite Membership required to download: NormMACDBBLines.zip
Reply With Quote




Last Updated on October 25, 2010


© 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