Go Back   NinjaTrader Support Forum > NinjaScript File Sharing > NinjaScript File Sharing Discussion

NinjaScript File Sharing Discussion Discussion for shared NinjaScript files.

NinjaTrader
Reply
 
Thread Tools Display Modes
Old 11-20-2009, 02:35 PM   #31
DeanV
Member
 
Join Date: Sep 2008
Posts: 72
Thanks: 0
Thanked 5 times in 4 posts
Default dValueAreaWkly - quick test version.

Here's a (quickly developed) Weekly version if dValueArea. I've only done basic function testing with it, so make sure you've saved your environment (incase if locks up and you have to crash out).

Calling this "dValueAreaWkly". Use it on intraday charts.
Attached Files
File Type: zip dValueAreaWkly_test1.zip (10.4 KB, 222 views)
DeanV is offline  
Reply With Quote
Old 11-22-2009, 05:48 PM   #32
cclsys
Senior Member
 
Join Date: Oct 2008
Posts: 250
Thanks: 0
Thanked 12 times in 4 posts
Default

Quote:
Originally Posted by DeanV View Post
Here's a (quickly developed) Weekly version if dValueArea. I've only done basic function testing with it, so make sure you've saved your environment (incase if locks up and you have to crash out).

Calling this "dValueAreaWkly". Use it on intraday charts.
Thanks, nice!
cclsys is offline  
Reply With Quote
Old 11-30-2009, 07:49 AM   #33
meyer99
Member
 
Join Date: Dec 2004
Location: , ,
Posts: 85
Thanks: 0
Thanked 0 times in 0 posts
Default weekly dvalues

Dean,
Thank you for this great indicator.
In the indicator parameters only open hour is listed, no closing. Does this mean that if I am running a 24 hours chart (12 am to 12 am), the indicator will measure 9 am to 9 am (if 9 is the open hour selected)?
And it will measure Monday to Friday prior week only, for both evolving VA and VA?
meyer99 is offline  
Reply With Quote
Old 11-30-2009, 11:23 AM   #34
DeanV
Member
 
Join Date: Sep 2008
Posts: 72
Thanks: 0
Thanked 5 times in 4 posts
Default

Quote:
Originally Posted by meyer99 View Post
Dean,
Thank you for this great indicator.
In the indicator parameters only open hour is listed, no closing. Does this mean that if I am running a 24 hours chart (12 am to 12 am), the indicator will measure 9 am to 9 am (if 9 is the open hour selected)?
And it will measure Monday to Friday prior week only, for both evolving VA and VA?
Short answer: Yes.

The start time and day is where the "week" starts. It then continues for the number of days specified (5 default, would end at the start time on the 6th day). To adjust for Open Hours, you need to set the chart up to display only the open hours. The Pre-Session stuff is only useful to see how the previous week worked out on the week-ends or something (perhaps not that useful for this appllicaiton, since the evolving stull will show that).

The Evolving stuff is always the current (not completed till the next week gets a few bars), so could change with every new bar (till the week complete on Sat. or whatever). The normal plot lines (POC, etc.) always will be showing the previous weeks results.

Hope that helps.
Dean.
DeanV is offline  
Reply With Quote
Old 11-30-2009, 06:40 PM   #35
meyer99
Member
 
Join Date: Dec 2004
Location: , ,
Posts: 85
Thanks: 0
Thanked 0 times in 0 posts
Default weekly dvalue

Dean,
Thank you. Whenever you tweak the code again, would it be possible to add the H, L and C of the prior week only (no evolving). But C should be Friday at 4:15 for equities, and if you are really ambitious 2:30 for crude. Thanks again.
meyer99 is offline  
Reply With Quote
Old 12-02-2009, 11:52 AM   #36
NinjaTrader_VinceB
NinjaTrader Customer Service
 
NinjaTrader_VinceB's Avatar
 
Join Date: Mar 2005
Location: Amsterdam, The Netherlands
Posts: 2,559
Thanks: 55
Thanked 80 times in 77 posts
Default

Hi,

Unfortunately our forum experienced technical difficulties early this morning. As a result, we were forced to restore our forum to its last back up point approximately seven (7) hours ago. Any posts created since that time have been lost. We are sorry for the inconvenience.


I have DeanV's last post here in response to 'meyer99':

'meyer, That's a different application, so won't be doing that here.
Feel free to take this code and modify it for what you want.'
NinjaTrader_VinceB is offline  
Reply With Quote
Old 12-04-2009, 05:01 AM   #37
Double D
Junior Member
 
Join Date: Mar 2009
Location: So Cal
Posts: 4
Thanks: 0
Thanked 0 times in 0 posts
Default Learning value area trading

I've been trading futures only a couple of years and am interested in learning how to use market profile in trading. Can you direct a newbie to a link or two that teaches how to use MP? Thanks. The indicator looks interesting, can't wait to try it.
Double D is offline  
Reply With Quote
Old 12-04-2009, 12:27 PM   #38
Eternum
Junior Member
 
Join Date: Aug 2008
Posts: 21
Thanks: 0
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by Double D View Post
I've been trading futures only a couple of years and am interested in learning how to use market profile in trading. Can you direct a newbie to a link or two that teaches how to use MP? Thanks. The indicator looks interesting, can't wait to try it.
http://www.futurestrader71.com/
Eternum is offline  
Reply With Quote
Old 12-04-2009, 12:31 PM   #39
DeanV
Member
 
Join Date: Sep 2008
Posts: 72
Thanks: 0
Thanked 5 times in 4 posts
Default

Quote:
Originally Posted by Double D View Post
I've been trading futures only a couple of years and am interested in learning how to use market profile in trading. Can you direct a newbie to a link or two that teaches how to use MP? Thanks. The indicator looks interesting, can't wait to try it.
There are a lot of resources around about this method. Various ideas on how to use it. This is simular to but not exactly like "market profiles". One of the books I have is "Steidlmayer on Markets" by J. Peter Steidlmayer and Steven B. Hawkins. Do various searches on this site and internet on word combo's like: market, value, profile, map, area, etc. and you'll find a lot of info to filter through.

A few web sites that also have related info (if these links are still good) are:

http://www.enthios.com/price_histogram.htm

http://www.secretsoftraders.com/ValueAreaHelpGuide.htm

http://www.elitetrader.com/vb/showth...hreadid=127181

There are also various commercial versions of this type stuff. Some offer a lot more detail than this app. They also can have clues on how they use this type info. One if the key's is to find a method and version of this that helps you trade your personality style.
DeanV is offline  
Reply With Quote
Old 12-04-2009, 01:28 PM   #40
Double D
Junior Member
 
Join Date: Mar 2009
Location: So Cal
Posts: 4
Thanks: 0
Thanked 0 times in 0 posts
Default Thanks

Thanks for the help.
Double D is offline  
Reply With Quote
Old 12-05-2009, 07:12 PM   #41
kumar
Member
 
Join Date: Sep 2009
Location: MA
Posts: 98
Thanks: 2
Thanked 3 times in 3 posts
Default

Dean,

Great contribution to NT users.
Is the volume distributed equally across the bars or does the indicator collect the actual tic data (at least for the current day)?

If you ever plan to make changes to the indicator, I would suggest that the VPOC for any day should be plotted over that days profile, not extended over to the next day and along the same lines, it would make a chart (when one is looking at profile over several days) if the VPOC lines were terminated at the session and not shown as step-lines.

In any event, thanks for providing the indicator.
kumar is offline  
Reply With Quote
Old 12-06-2009, 03:12 PM   #42
silvester17
Junior Member
 
Join Date: Mar 2009
Posts: 13
Thanks: 3
Thanked 2 times in 1 post
Default

Quote:
Originally Posted by DeanV View Post
Here's a (quickly developed) Weekly version if dValueArea. I've only done basic function testing with it, so make sure you've saved your environment (incase if locks up and you have to crash out).

Calling this "dValueAreaWkly". Use it on intraday charts.
thank you very much for this great indicator.

maybe I'm doing something wrong, but it looks like poc,vat and vab are not plotting the right values. believe vat should be poc. and vab is kind of low.

thanks again
silvester17 is offline  
Reply With Quote
Old 12-06-2009, 04:00 PM   #43
hegh2000
Senior Member
 
Join Date: Nov 2008
Location: Paris
Posts: 201
Thanks: 0
Thanked 16 times in 5 posts
Default

hello,

value of POC is correct.
For VA_t and VA_b, depending on the method of calculation. Here, it is the volume, so if you compare it with TPO (price only) is certainly different.
Last edited by hegh2000; 12-06-2009 at 04:02 PM.
hegh2000 is offline  
Reply With Quote
Old 12-06-2009, 05:43 PM   #44
silvester17
Junior Member
 
Join Date: Mar 2009
Posts: 13
Thanks: 3
Thanked 2 times in 1 post
Default

Quote:
Originally Posted by hegh2000 View Post
hello,

value of POC is correct.
For VA_t and VA_b, depending on the method of calculation. Here, it is the volume, so if you compare it with TPO (price only) is certainly different.
I'm looking at TPO. POC is 1104.75 (I believe it should be 1108.25)
Vat is 1108.25 (I believe it should be 1113.25)
Vab is 1084.85 (I believe it should be 1098.00)

edit: I'm talking about the "weekly version"
Last edited by silvester17; 12-07-2009 at 06:23 AM.
silvester17 is offline  
Reply With Quote
Old 12-07-2009, 07:17 AM   #45
DeanV
Member
 
Join Date: Sep 2008
Posts: 72
Thanks: 0
Thanked 5 times in 4 posts
Default

Silvester, I believe your seeing the difference from the previous week (concluded) and the evolving numbers.

Assuming you've setup chart for openhours only and no weekends, the plot lines (concluded previous week) won't conclude this past weeks stuff, till we see a few completed bars after today's (monday) open. Then the program will know the previous week is done, calc., and plot last weeks stuff. You can see what the open will look like by looking at the evolving lines (perhaps still missing the last bar in the calc.).

I looked this AM on a 15 min. chart, and the numbers looked as expected to me.
DeanV is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Entering Trades When Price Away from Key Areas of Support & Resistance dgregor5 Strategy Development 4 01-19-2008 03:40 PM
Shading areas of chart? higler Platform Technical Support 3 05-01-2007 07:58 AM


All times are GMT -6. The time now is 04:16 PM.

Futures, foreign currency and options trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Risk capital is money that can be lost without jeopardizing ones financial security or lifestyle. Only risk capital should be used for trading and only those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of future results. View Full Risk Disclosure.

CFTC Rules 4.41 - Hypothetical or Simulated performance results have certain limitations, unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, such as lack of liquidity. Simulated trading programs in general are also subject to the fact that they are designed with the benefit of hindsight. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.

This website is hosted and operated by NinjaTrader, LLC (“NT”), a software development company which owns and supports all proprietary technology relating to and including the NinjaTrader trading platform. NT is an affiliated company to NinjaTrader Brokerage (“NTB”), which is a NFA registered introducing broker (NFA #0339976) providing brokerage services to traders of futures and foreign exchange products. This website is intended for educational and informational purposes only and should not be viewed as a solicitation or recommendation of any product, service or trading strategy. No offer or solicitation to buy or sell securities, securities derivative or futures products of any kind, or any type of trading or investment advice, recommendation or strategy, is made, given, or in any manner endorsed by any NT affiliate and the information made available on this Web site is not an offer or solicitation of any kind. Specific questions related to a brokerage account should be sent to your broker directly. The content and opinions expressed on this website are those of the authors and do not necessarily reflect the official policy or position of NT or any of its affiliates. 

Vendors along with their websites, products and services, collectively referred to as (“Vendor Content”), are independent persons or companies that are in no manner affiliated with NT or any if its affiliates. NT or any of its affiliates are not responsible for, do not approve, recommend or endorse any Vendor Content referenced on this website and it’s your sole responsibility to evaluate Vendor Content. Please be aware that any performance information provided by a vendor should be considered hypothetical and must contain the disclosures required by NFA Rule 2-29(c). If you are interested in learning more about, or investigating the quality of, any such Vendor Content you must contact the vendor, provider or seller of such Vendor Content. No person employed by, or associated with, NT or any of its affiliates is authorized to provide any information about any such Vendor Content.