NexusFi: Find Your Edge


Home Menu

 





Does anyone have a script to subtrace ^ADV and ^DECL to get ^ADD


Discussion in NinjaTrader

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




 
Search this Thread
  #1 (permalink)
 markbb10 
Treasure Coast, Florida
 
Experience: Advanced
Platform: Ninja 8
Trading: Futures
Posts: 139 since Aug 2012
Thanks Given: 57
Thanks Received: 50

Hello All,

I am fairly new to Ninja and certainly new to ninja scripting. I use CQG which I have discovered does not support and Advance/Decline chart (ADD), which is strange in itself, but it does support ADV and DECL.

I am thinking a script that subtracts the two and plots the value on a chart would work and wanted to see if anyone has developed such a script. I intend to start learning to code in Ninja but was hoping to get a jump on things.

Thanks,
Mark


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Trump Truth Social Fires Hormuz From 10% to 59% -- Arsen …
Prediction Markets & Event Contracts
Sundays Verdict: Lebanon Locked at 99.85% as Iran June 7 …
Prediction Markets & Event Contracts
May 26 Deadline Dies at 7.5% as US Strikes Iran During C …
Prediction Markets & Event Contracts
Hormuz Normalization Collapses to 19.5% -- Iran Regime F …
Prediction Markets & Event Contracts
BofA Projects $1.1 Trillion in Sports Event Contracts -- …
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
  #3 (permalink)
 
ratfink's Avatar
 ratfink 
Birmingham UK
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: TST/Rithmic
Trading: YM/Gold
Posts: 3,550 since Dec 2012
Thanks Given: 17,423
Thanks Received: 8,430



markbb10 View Post
Hello All,

I am fairly new to Ninja and certainly new to ninja scripting. I use CQG which I have discovered does not support and Advance/Decline chart (ADD), which is strange in itself, but it does support ADV and DECL.

I am thinking a script that subtracts the two and plots the value on a chart would work and wanted to see if anyone has developed such a script. I intend to start learning to code in Ninja but was hoping to get a jump on things.

Thanks,
Mark

Quick hack, see if it's what you want, just extend as needed:

PlotAdd.zip


Travel Well
Visit my NexusFi Trade Journal Reply With Quote
Thanked by:




Last Updated on March 19, 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