NexusFi: Find Your Edge


Home Menu

 





Creating ADV/DECL bars in NT on CQG.


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one cory with 2 posts (0 thanks)
    2. looks_two cdk1212 with 1 posts (0 thanks)
    3. looks_3 John Woods with 1 posts (0 thanks)
    4. looks_4 NinjaTrader with 1 posts (0 thanks)
    1. trending_up 2,779 views
    2. thumb_up 0 thanks given
    3. group 5 followers
    1. forum 6 posts
    2. attach_file 2 attachments




 
Search this Thread

Creating ADV/DECL bars in NT on CQG.

  #1 (permalink)
 
kcrawford's Avatar
 kcrawford 
Honolulu, HI/USA
 
Experience: Advanced
Platform: NinjaTrader
Trading: ES
Posts: 20 since Jun 2013
Thanks Given: 11
Thanks Received: 31

Hi guys,

This is my first post, please don't kill me...lol.


I am using NT and am stuck with the CQG feed. CQG does not have a combined Adv/decl total, so I'm stuck trying to create my own using their ^ADV and ^DECL.

It seems as though it shouldn't be that difficult, except that...well...I have no idea using NT. If it was easy language, I'd be having it flash colors and making fart noises by now. I'm not real impressed with the ninja script manual.

If someone could please help me, I'd greatly appreciate it. The idea of simply subtracting ^DECL from ^ADV and printing a candle seems simple enough...just no idea how to dig through all the useless information to find out how to do that.

Thanks in advance for any help you guys can provide,


- Ken

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
What broker to use for trading palladium futures
Commodities
Quant vue
Trading Reviews and Vendors
MC PL editor upgrade
MultiCharts
ZombieSqueeze
Platforms and Indicators
How to apply profiles
Traders Hideout
 
  #2 (permalink)
 cdk1212 
Calgary, Canada
 
Experience: Intermediate
Platform: Ninja Trader
Broker: AMP - CQG
Trading: 6E, 6J, ES & TF
Posts: 5 since May 2011
Thanks Given: 3
Thanks Received: 1

Hi,
I am working on Adv/Decl myself. I had to put them in separate panels. Which is really not very helpful. An overlay function would be helpful. Just not sure, yet how to do that. Any help or suggestions would be great.

Reply With Quote
  #3 (permalink)
 Remo 
Siveria
 
Experience: Intermediate
Platform: Ninja Trader
Broker: Mirus
Trading: FUTURES
Posts: 25 since Dec 2011
Thanks Given: 2
Thanks Received: 2


Good morning, I have a few days with this topic.

I got the line A / D + Accumulated for a linear representation.

With kinetick to day works well.

Hope you can serve.

A greeting.

Attached Files
Elite Membership required to download: AdvanceDecline.cs
Reply With Quote
  #4 (permalink)
 
NinjaTrader's Avatar
 NinjaTrader  NinjaTrader is an official Site Sponsor
Site Sponsor

Web: NinjaTrader
AMA: Ask Me Anything
Webinars: NinjaTrader Webinars
Elite offer: Click here
 
Posts: 1,714 since May 2010
Thanks Given: 203
Thanks Received: 2,686


kcrawford View Post
Hi guys,

This is my first post, please don't kill me...lol.


I am using NT and am stuck with the CQG feed. CQG does not have a combined Adv/decl total, so I'm stuck trying to create my own using their ^ADV and ^DECL.

It seems as though it shouldn't be that difficult, except that...well...I have no idea using NT. If it was easy language, I'd be having it flash colors and making fart noises by now. I'm not real impressed with the ninja script manual.

If someone could please help me, I'd greatly appreciate it. The idea of simply subtracting ^DECL from ^ADV and printing a candle seems simple enough...just no idea how to dig through all the useless information to find out how to do that.

Thanks in advance for any help you guys can provide,


- Ken

Hi Ken,

You can create a custom script that would plot the difference. I see someone just posted a script that might do what you are looking for. The entry point for programming in our Help Guide is here ( Alphabetical Reference) however, if you are not a programmer you could ask the futures.io (formerly BMT) community to help out our contract a NinjaScript programmer to develop this for you. At this time, NinjaTrader does not support the ability to combine multiple DataSeries and plot them as a single candle.

Follow me on Twitter Reply With Quote
  #5 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090


kcrawford View Post
Hi guys,

This is my first post, please don't kill me...lol.


I am using NT and am stuck with the CQG feed. CQG does not have a combined Adv/decl total, so I'm stuck trying to create my own using their ^ADV and ^DECL.

It seems as though it shouldn't be that difficult, except that...well...I have no idea using NT. If it was easy language, I'd be having it flash colors and making fart noises by now. I'm not real impressed with the ninja script manual.

If someone could please help me, I'd greatly appreciate it. The idea of simply subtracting ^DECL from ^ADV and printing a candle seems simple enough...just no idea how to dig through all the useless information to find out how to do that.

Thanks in advance for any help you guys can provide,


- Ken

1) make sure you have access to ^ADV, ^DECL
2) import indicator t4tSpreadSym11
3) load ^ADV, ^DECL than add indicator then move it to top of chart, see pic.

Attached Thumbnails
Click image for larger version

Name:	^ADV (60 Seconds) _ ^DECL (60 Seconds)  8_13_2013.jpg
Views:	275
Size:	74.4 KB
ID:	120945  
Reply With Quote
  #6 (permalink)
 John Woods 
London
 
Experience: Beginner
Platform: NinjaTrader
Trading: ES
Posts: 18 since May 2013
Thanks Given: 17
Thanks Received: 9


cory View Post
1) make sure you have access to ^ADV, ^DECL
2) import indicator t4tSpreadSym11
3) load ^ADV, ^DECL than add indicator then move it to top of chart, see pic.

Isn't the indicator in the image just showing the ADV data therefore it's not combining the ADV and DECL data to give one true line representative of both ADV/DECL. Has there been any improvements since this was posted 2 years ago?

Reply With Quote
  #7 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090


John Woods View Post
Isn't the indicator in the image just showing the ADV data therefore it's not combining the ADV and DECL data to give one true line representative of both ADV/DECL. Has there been any improvements since this was posted 2 years ago?

you still have to do your own calculation
https://en.wikipedia.org/wiki/Advance-Decline_Data

Reply With Quote




Last Updated on October 10, 2015


© 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