NexusFi: Find Your Edge


Home Menu

 





Advance Decline Ratio for Ninjatrader


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one pnguyen720 with 2 posts (1 thanks)
    2. looks_two cory with 2 posts (3 thanks)
    3. looks_3 shodson with 1 posts (2 thanks)
    4. looks_4 ramlamc6 with 1 posts (0 thanks)
    1. trending_up 3,832 views
    2. thumb_up 6 thanks given
    3. group 3 followers
    1. forum 5 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 pnguyen720 
Los Angeles
 
Experience: Beginner
Platform: NinjaTrader
Trading: NQ CL GC
Posts: 52 since Jan 2017
Thanks Given: 11
Thanks Received: 16

Hey guys,

Anyone see an NJT 8 indicator that shows the ratio of Advancing Issues/Declining Issues as a plot?

Thanks in advance!


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
April CPI Preview: +3.7% YoY Expected at 8:30 AM ET -- C …
Traders Hideout
Victory Day Delivers: Russia-Ukraine Ceasefire Market Cl …
Prediction Markets & Event Contracts
CFTC Advances Prediction Markets Regulation -- Chairman …
Prediction Markets & Event Contracts
US Treasury Weighs Direct Oil Futures Market Interventio …
Commodities
Post-Summit Market Verdict: ES -1%, NQ -1.5%, 10-Year Yi …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
Trying to learn Volume and price action correlation
5 thanks
  #2 (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


pnguyen720 View Post
Hey guys,

Anyone see an NJT 8 indicator that shows the ratio of Advancing Issues/Declining Issues as a plot?

Thanks in advance!

use this spead indicator and change the calculation from plus to divide
https://ninjatraderecosystem.com/user-app-share-download/spread-2/

from: Value[0] = Closes[Instrument1][0] * mul1 + Instrument2Close[0] * mul2;
to: Value[0] = Closes[Instrument1][0] * mul1 / Instrument2Close[0] * mul2;


Reply With Quote
Thanked by:
  #3 (permalink)
 
shodson's Avatar
 shodson 
OC, California, USA
Quantoholic
 
Experience: Advanced
Platform: IB/TWS, NinjaTrader, ToS
Broker: IB, ToS, Kinetick
Trading: stocks, options, futures, VIX
Posts: 1,971 since Jun 2009
Thanks Given: 534
Thanks Received: 3,711


Just bring up the "ADV DEC RATIO" symbol of your choosing in a chart.

https://kinetick.com/Market-Metrics


Follow me on X Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #4 (permalink)
 ramlamc6 
Valencia
 
Experience: Intermediate
Platform: ninjatrader
Trading: dax,Cl,Ym,Es
Posts: 8 since Jun 2016
Thanks Given: 95
Thanks Received: 0


cory View Post
use this spead indicator and change the calculation from plus to divide
https://ninjatraderecosystem.com/user-app-share-download/spread-2/

from: Value[0] = Closes[Instrument1][0] * mul1 + Instrument2Close[0] * mul2;
to: Value[0] = Closes[Instrument1][0] * mul1 / Instrument2Close[0] * mul2;


Hi Cory, have to write " from:" and "to:" also?

first time using ninja script

and is it possible to have it with bars instead of the line?

Thanks


Reply With Quote
  #5 (permalink)
 pnguyen720 
Los Angeles
 
Experience: Beginner
Platform: NinjaTrader
Trading: NQ CL GC
Posts: 52 since Jan 2017
Thanks Given: 11
Thanks Received: 16

Been a little while but NJT posted an AD Line indicator in their User Apps:

https://ninjatraderecosystem.com/user-app-share-download/update-advance-decline/


Started this thread 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

>write " from:" and "to:" also?
No

>is it possible to have it with bars instead of the line?
no, calculation is just for a single value (no High, Low and Close to create a bar) thus line only.


ramlamc6 View Post
Hi Cory, have to write " from:" and "to:" also?

first time using ninja script

and is it possible to have it with bars instead of the line?

Thanks


Reply With Quote
Thanked by:




Last Updated on December 5, 2019


© 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