| Coding Forum Collaborate, receive help, or discuss coding related issues. |
![]() | | Tweet | |
| | #9 | ||
![]() | Re: Building a VolumeProfile Indicator with EasyLanguage Quote:
So a 1 dimensional array is a clever and better solution. Now my question is: is the PVPVolArray[V2VolLevel] the array with all the volume at price data ? Or I've to create a new Loop to find it using the same logic ? AndyTick | ||
| |
|
| | #10 | ||
![]() | Re: Building a VolumeProfile Indicator with EasyLanguage try to use google and search "MARKET PROFILE TPO"...........after some first links, you will find this [url=http://www.elitetrader.com.[/quote] tradestation has blocked that link because is illegal. Try the link now. | ||
| |
|
| | #11 | ||
![]() | Re: Building a VolumeProfile Indicator with EasyLanguage Quote:
see step #4 in post #4 try numtostr( V2VolLevel, 0 ) text( PVPVolArray[ V2VolLevel ] ) text( StartPrice ) text( MyVolume )
__________________ Only an idiot would reply to a stupid post | ||
| |
|
| | #12 | ||
![]() | Re: Building a VolumeProfile Indicator with EasyLanguage Quote:
They are both well known John Ficquette - San Diego, CA | Facebook | ||
| |
|
| | #13 | ||
![]() | Re: Building a VolumeProfile Indicator with EasyLanguage Quote:
I'm sorry about tradestation, but the fault is not mine and I'm still waiting for your apology about your words. Andytick | ||
| |
|
| | #14 | ||
![]() | Re: Building a VolumeProfile Indicator with EasyLanguage ![]() The way to do things is construct an array of volume and use a tick's price to index it (after suitable scaling so each change in price is '1'). That is exactly what I wrote and runs efficiently enough to process every tick. All the previous code I have seen uses messy, slow and inefficient loops. My intention was always to expand it to plot a volume profile though never got round to it. One important idea. Again do not use loops to plot just add volume at the appropriate level when a tick arrives. If that happens to be at the mode (PVP, peak, wahtever you call it) You may need to loop through the whole array just for that tick to rescale things to the new peak. This depends on how you choose to scale in the first place and is avoidable if you use a fixed scale of n volume per x axis unit. I have been away from TL for quite a while and have a lot of catching up to do, Once I have I'll take a proper look at what you are up to | ||
| |
|
| | #15 | ||
![]() | Quote:
![]() AndyTick | ||
| |
|
| | #16 | ||
![]() | Re: Building a VolumeProfile Indicator with EasyLanguage V2VolLevel = 5000+(Value2*(1/(minmove/pricescale))); converts a tick to be an integer. So whether it is the ES (.25 tick) or DAX (.5 tick) this will convert it do an array index. (Don't ask me how I struggled with that!) Edit: Another way of looking at this is V2VolLevel is an integer representing Where the tick is in the array compared to the opening tick at 5000. It's not a very well chosen name to be honest. Im not sure I have explained it well enough? Last edited by BlowFish; 11-02-2009 at 08:06 AM. | ||
| |
|
| The Following User Says Thank You to BlowFish For This Useful Post: | ||
Tams (11-02-2009) | ||
![]() |
| Tags |
| array, volume |
| Thread Tools | |
| Display Modes | Help Others By Rating This Thread |
| |
| ∧ Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Building a GAP Trading Strategy | brownsfan019 | The Candlestick Corner | 42 | 04-19-2012 02:53 AM |
| EasyLanguage Indicator -- How Long (in Min) 1500 Tick Bar Took to Complete | Frank | Coding Forum | 3 | 03-16-2010 10:47 AM |
| Adding Sound to Your Indicator (EasyLanguage) | Tams | Coding Forum | 33 | 05-10-2009 07:58 AM |
| building a track record? | darthtrader | Market Analysis | 7 | 06-22-2007 11:19 PM |
| Building a Computer System | wsam29 | General Discussion | 5 | 03-04-2007 06:28 PM |