NexusFi: Find Your Edge


Home Menu

 





Calling SessionVWAP from anaCurrentDayVWAP


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Fat Tails with 3 posts (5 thanks)
    2. looks_two friii with 2 posts (0 thanks)
    3. looks_3 Big Mike with 1 posts (1 thanks)
    4. looks_4 Quick Summary with 1 posts (0 thanks)
    1. trending_up 3,505 views
    2. thumb_up 6 thanks given
    3. group 4 followers
    1. forum 7 posts
    2. attach_file 0 attachments




 
Search this Thread

Calling SessionVWAP from anaCurrentDayVWAP

  #1 (permalink)
 
srgtroy's Avatar
 srgtroy 
Los Angeles, California Republic
Legendary  R.I.P. 1965-2023 
 
Experience: None
Platform: Sierra Chart
Broker: CQG
Trading: ES
Posts: 1,928 since Jan 2011
Thanks Given: 1,375
Thanks Received: 3,722

I'm trying to call the SessionVWAP DataSeries from anaCurrentDayVWAPV36 but I'm doing something wrong.

I tried anaCurrentDayVWAPV36().SessionVWAP[0] (as I just wanted to use the defaults) but got an overload error.

I know the default overloads are: Variance_Distance, ETH, 1, 2, 3, Hybrid, but I can't seem to get the syntax correct. Can someone show me what it should look like. Thanks.

R.I.P. Roy Goldberg (srgtroy), 1965-2023.
Please visit [url="https://nexusfi.com/off-topic/60226-srgtroy-r-i-p-brotha.html[/url] for more information.
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Strategy stop orders partially filled
EasyLanguage Programming
What broker to use for trading palladium futures
Commodities
ZombieSqueeze
Platforms and Indicators
Better Renko Gaps
The Elite Circle
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
24 thanks
What is Markets Chat (markets.chat) real-time trading ro …
19 thanks
ApexTraderFunding.com experience and review
16 thanks
GFIs1 1 DAX trade per day journal
12 thanks
EG Indicators
11 thanks
  #3 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,471 since Jun 2009
Thanks Given: 33,250
Thanks Received: 101,674



srgtroy View Post
I'm trying to call the SessionVWAP DataSeries from anaCurrentDayVWAPV36 but I'm doing something wrong.

I tried anaCurrentDayVWAPV36().SessionVWAP[0] (as I just wanted to use the defaults) but got an overload error.

I know the default overloads are: Variance_Distance, ETH, 1, 2, 3, Hybrid, but I can't seem to get the syntax correct. Can someone show me what it should look like. Thanks.

Post the exact code you used. You need to pass all the parameters, there is no shortcut for '()' = 'defaults'.

If the indicator you are calling uses enums, it is usually helpful to use the built-in indicator wizard thing (cant remember what it is called, been so long since I used NT) because it will usually pick the right enum association.

Mike



Join the free Markets Chat beta: one platform, all the trade rooms!

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #4 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,103


srgtroy View Post
I'm trying to call the SessionVWAP DataSeries from anaCurrentDayVWAPV36 but I'm doing something wrong.

I tried anaCurrentDayVWAPV36().SessionVWAP[0] (as I just wanted to use the defaults) but got an overload error.

I know the default overloads are: Variance_Distance, ETH, 1, 2, 3, Hybrid, but I can't seem to get the syntax correct. Can someone show me what it should look like. Thanks.

Please use the updated version V38. If you want to call it with the default parameters

 
Code
anaCurrentDayVWAPV38(anaBandTypeVWAPD38.Variance_Distance, anaSessionTypeVWAPD38.ETH, 1.0, 2.0, 3.0, 
anaSessionCountVWAPD38.Auto)

should do. Not tested.

Reply With Quote
Thanked by:
  #5 (permalink)
 
friii's Avatar
 friii 
austria
 
Experience: Intermediate
Platform: TWS
Broker: IB
Trading: Futures
Posts: 34 since Mar 2011
Thanks Given: 14
Thanks Received: 14

I would have liked the VWAP without these bands, so only the "SessionVWAP".
Perhaps this version is hidden somewhere in the board?

btw: may 2013 with the vacation days for the new year?


many thanks in advance !

***
Success and happiness—the conditions needed to thrive on this earth—are reflections of the choices we make.
*******
Reply With Quote
  #6 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,103


friii View Post
I would have liked the VWAP without these bands, so only the "SessionVWAP".
Perhaps this version is hidden somewhere in the board?

btw: may 2013 with the vacation days for the new year?


many thanks in advance !

@friii: Just apply the anaCurrentDayVWAP to your chart, then

-> set the colors for Inner Bands, Middele Bands & Outer Bands to Transparent
-> set all values for the Opacity to 0

Reply With Quote
Thanked by:
  #7 (permalink)
 
friii's Avatar
 friii 
austria
 
Experience: Intermediate
Platform: TWS
Broker: IB
Trading: Futures
Posts: 34 since Mar 2011
Thanks Given: 14
Thanks Received: 14

YES, thank you - I know the transparent color & opacity - settings!

I wanted to make the indicator simply "faster" for strategies. but maybe that's not necessary, I'll try it out again ...

nice greetings!

***
Success and happiness—the conditions needed to thrive on this earth—are reflections of the choices we make.
*******
Reply With Quote
  #8 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,103


friii View Post
YES, thank you - I know the transparent color & opacity - settings!

I wanted to make the indicator simply "faster" for strategies. but maybe that's not necessary, I'll try it out again ...

nice greetings!

@friii: To make it fast for strategies

-> run the indicator in COBC = true mode
-> use Variance_Distance, not Variance_Last
-> set the opacity of the bands to zero in all cases

Reply With Quote
Thanked by:




Last Updated on February 1, 2013


© 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