NexusFi: Find Your Edge


Home Menu

 





Plotting the difference of price/indicator or of any 2 indicators in Ninjatrader


Discussion in NinjaTrader

Updated
    1. trending_up 3,112 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 4 posts
    2. attach_file 3 attachments




 
Search this Thread
  #1 (permalink)
 
gisot's Avatar
 gisot 
Milan, Italy
 
Experience: Beginner
Platform: NinjaTrader, TWS
Trading: ES, Stocks
Frequency: Every few days
Duration: Minutes
Posts: 246 since Jan 2012
Thanks Given: 385
Thanks Received: 178

Has anyone created/used in ninjatrader an indicator calculating/plotting the difference between either price and any other indicator of interest, or any two indicators of interest? For ex plotting histogram of the difference between price and supertrend, or the difference between any moving avg and supertrend, or any other indicator of interest.
Thanks


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
SEC Chairman Calls for New Golden Age of SEC-CFTC Regula …
Traders Hideout
Kalshi Rockets to $22B, Passes Polymarket in Volume -- B …
Prediction Markets & Event Contracts
Bookmap Global Plus Lifetime + Lifetime Addons For Sale
Platforms and Indicators
$134M Ground Entry Contract in Disputed Final Review Aft …
Prediction Markets & Event Contracts
Election Sunday Resolves: Peru Heads to Runoff at 42pct, …
Prediction Markets & Event Contracts
 
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
  #2 (permalink)
 
DavidHP's Avatar
 DavidHP 
Isla Mujeres, MX
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Ninjatrader / Optimus Futures / AmpFutures
Trading: NQ / ES / 6E / 6B / CL
Frequency: Every few days
Duration: Minutes
Posts: 1,801 since Aug 2009
Thanks Given: 11,742
Thanks Received: 3,018


Rejoice in the Thunderstorms of Life . . .
Knowing it's not about Clouds or Wind. . .
But Learning to Dance in the Rain ! ! !
Follow me on X Reply With Quote
  #3 (permalink)
 
gisot's Avatar
 gisot 
Milan, Italy
 
Experience: Beginner
Platform: NinjaTrader, TWS
Trading: ES, Stocks
Frequency: Every few days
Duration: Minutes
Posts: 246 since Jan 2012
Thanks Given: 385
Thanks Received: 178



guidoisot View Post
Has anyone created/used in ninjatrader an indicator calculating/plotting the difference between either price and any other indicator of interest, or any two indicators of interest? For ex plotting histogram of the difference between price and supertrend, or the difference between any moving avg and supertrend, or any other indicator of interest.
Thanks


@Fat Tails


Attached Thumbnails
Click image for larger version

Name:	PPO distance from ADX.PNG
Views:	335
Size:	75.9 KB
ID:	154110  
Started this thread Reply With Quote
  #4 (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


guidoisot View Post

A difference between the ADX and the PPO does not make sense to me, because the indicators do not use the same scale. However, the objective might be achieved with calculating a difference from the z-scores.


Reply With Quote
Thanked by:
  #5 (permalink)
 
gisot's Avatar
 gisot 
Milan, Italy
 
Experience: Beginner
Platform: NinjaTrader, TWS
Trading: ES, Stocks
Frequency: Every few days
Duration: Minutes
Posts: 246 since Jan 2012
Thanks Given: 385
Thanks Received: 178

@Fat Tails

When there is minimum of price f(x)
together with concomitant:
1) significant minimum of a measure of momentum, m(f(x)),
for ex. PPO (or MACD, or else? I do not know)
and
2) significant maximum of a measure of trend strength, t(f(x)),
for es. ADX (or other trend measuring function? I do not know)

the Price quite often, at different timeframes, goes in an uptrend

I did not consider the different scales of the two indicators, but I am using them combined only looking at the charts, which is time consuming. Anyway I was trying to find some help to convert this graphical analysis into a script for screening various instruments in various timeframes. I attach an image with a few examples.

Thank you.


Started this thread Reply With Quote




Last Updated on August 27, 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