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,464 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 2 posts
    2. attach_file 1 attachments




 
Search this Thread

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

  #1 (permalink)
 markbb10 
Treasure Coast, Florida
 
Experience: Advanced
Platform: Ninja 8
Trading: Futures
Posts: 135 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?
Exit Strategy
NinjaTrader
Increase in trading performance by 75%
The Elite Circle
MC PL editor upgrade
MultiCharts
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Better Renko Gaps
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
29 thanks
Tao te Trade: way of the WLD
24 thanks
Diary of a simple price action trader
21 thanks
My NQ Trading Journal
14 thanks
HumbleTraders next chapter
10 thanks
  #3 (permalink)
 
ratfink's Avatar
 ratfink 
Birmingham UK
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: TST/Rithmic
Trading: YM/Gold
Posts: 3,633 since Dec 2012
Thanks Given: 17,423
Thanks Received: 8,425



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


© 2024 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 - Privacy Policy - Downloads - Top
no new posts