| Market Profile Are you a market profile trader? Post here. |
![]() | | Tweet | |
| | #89 | ||
![]() | Re: Trading with Market Statistics. IV Standard Deviation I am a newbie to Easylanguage. I am using this code on mullticharts Comments appreciated Naveen vars: vwap(0), pv(0), Totalvolume(0), Barfromstart(0), Squareddeviations(0), Probabilityweighteddeviat ions(0), deviationsum(0), standarddeviation(0); If date > date[1] then begin Barfromstart=0; pv=AvgPrice*volume; Totalvolume=volume; vwap=pv/totalvolume; end else begin Barfromstart=Barfromstart[1]+1; pv=pv[1] + AvgPrice*Volume; Totalvolume=Totalvolume[1] + Volume; vwap=pv/Totalvolume; end; deviationsum=0; for value1= 0 to Barfromstart begin Squareddeviations=Square( vwap-avgprice[value1]); Probabilityweighteddeviat ions=volume[value1]*Squareddeviations/Totalvolume; deviationsum=deviationsum +Probabilityweighteddevia tions; end; standarddeviation=SquareR oot(deviationsum); plot1(vwap); plot2(vwap+standarddeviat ion); plot3(vwap+2*standarddevi ation); plot4(vwap-standarddeviation); plot5(vwap-2*standarddeviation); | ||
| |
|
| The Following User Says Thank You to NAVEEVIa For This Useful Post: | ||
Chouca (12-08-2009) | ||
| | #90 | ||
![]() | Re: Trading with Market Statistics. IV Standard Deviation Cheers | ||
| |
|
| | #91 | ||
![]() | Re: Trading with Market Statistics. IV Standard Deviation I tried your code and it looks fine (as far as I can tell). It does suffer from being pretty processor intensive though. Cheers. | ||
| |
|
| | #92 | ||
![]() | Re: Trading with Market Statistics. IV Standard Deviation Quote:
| ||
|
| | #93 | ||
![]() | Re: Trading with Market Statistics. IV Standard Deviation To be honest my whole interest in the code side of things came from being slightly disappointed with the performance of traditional algorithms. All have noticeable delays when first applying and make my charts feel a little sluggish. I have code that I believe is now accurate, actually more accurate as it avoids some rounding errors associated with continuously summing. (you then have to be careful with overflow errors, no sign of that but I guess I should try it on the Nikkei & forex to be sure). It also runs pretty darn fast instantaneous for all intents and purposes. There are no loops in it at all. I just havent got round to posting it for a couple of reasons- a) I am still running it against various instruments conditions etc. b) Still running it against other code to make sure it is consistent. c) I have it in multicharts (which imports .ELD but wont export). Seems kind of naff to post it as a text file if I'm going to do it properly. d) Hasn't been that much interest (yours was the first enquiry) so I guess people are reasonably satisfied with what's out there. e) There is still something puzzling me with the VWAP and the algorithm that seems to be commonly used. No biggy but like a dog with a bone I am not ready to let go just yet. Cheers, Nick. | ||
| |
|
| | #94 | ||
![]() | Re: Trading with Market Statistics. IV Standard Deviation Quote:
How does Multicharts compare to TS, by the way? | ||
|
| | #95 | ||
![]() | Re: Trading with Market Statistics. IV Standard Deviation The good - its a one of payment when I grandfathered in it was only a coule of hundred bucks. It compiles easy language and even supports there API for .DLL's. I have had no compatibility issues though some do (mainly with systems I think). Support is pretty good too. (Needs to be sometimes)! The bad some basic things are poorly implemented or just feel un polished. There are numerous little irritating bugs and stuff that is a wee bit more serious (less and less). This in itself isn't so bad but it's taken a long long time to get round to fixing these things. Some of the things they think are 'acceptable' or just don't get are annoying in the extreme. For example there drawing tools are inconsistent in operation and just plain poor. There attitude is that no one ever made any money with drawing tools. Basic data handling and rasterisation (display) of charts have a couple of 'wrinkles'. For me these have to be rock solid before you add bells and whistles. Often they break stuff with new releases, fair enough caca happens, trouble is they often take a month or more to repair it again. Releases are very infrequent and 'hotfixes' almost non existent. Compared to Ensign for example they are streets apart. They have just made there forums customers only, other wise I could point you at a couple of amusing threads. I put an enormous amount of time and energy into MC for myself and providing feedback for them. I am loath to throw that all away. To be honest it is better now, even though it has been released for some months now I have seen more robust and polished software that is beta testing. I think there are a couple of people using it here quite happily (brownsfan springs to mind). I do wonder if he is still as happy the Open Ecry imterface has broken for the last 3 weeks and I believe he was using OEC too. ![]() Cheers. | ||
| |
|
| | #96 | ||
![]() | Re: Trading with Market Statistics. IV Standard Deviation Quote:
Thanks. | ||
|
![]() |
| Thread Tools | |
| Display Modes | Help Others By Rating This Thread |
| |
| ∧ Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Trading With Market Statistics.II The Volume Weighted Average Price (VWAP). | jperl | Market Profile | 65 | 02-25-2012 04:02 PM |
| Trading With Market Statistics I. Volume Histogram | jperl | Market Profile | 36 | 02-21-2012 06:23 PM |
| Trading with Market Statistics III. Basics of VWAP Trading | jperl | Market Profile | 73 | 01-03-2012 08:06 AM |
| Standard deviations & Odds | rayk | Market Profile | 2 | 10-07-2006 11:13 AM |
| Trading in a Dull Market | Soultrader | Technical Analysis | 0 | 09-06-2006 11:44 AM |