| Forex Trading Laboratory Discussion forum for Forex traders - all forex pairs |
![]() | | Tweet | |
| | #177 | ||
![]() | Re: Playing with the VMAR`s open research Quote:
On a live chart, a 5 pip candle has 5 choices per bar. So on a live chart it is following the ticks, faster than the bars, ![]() The slowest line will often be 2 or 3 bars later, to the right. One reason for attempting a binary version was to minimize the time delays that are built into the vma formula. The binary version has no vma to slow it down 2-3 bars, but so far it doesnt do long HEs either... You dont annoy me Walter, MT4 does, lots of things frustrate. I need to get some trading done, make some $, coz nothing but indicators for a month. When I have a live trade and do other stuff, I can forget about the trade!!!! So need to do a bit of both. The first problem I have with CCI is that it seems to be unsymmetrical or non-linear or something, when the price goes up in two steps the same size CCI shows the first rise big and the second rise looks small, danger danger non-linear not good. | ||
| |
|
| | #178 | ||
![]() | Re: Playing with the VMAR`s open research Quote:
All of the MT4 files are txt files, you can open them with Notepad or word processor or Meta Editor in MT4 and try to follow what the code is saying. VMA is very similar to the formula for an ema. Sma formula can look like this- SmaResult[]=(1-k)Oldprice[] + k*NewPrice[] [] means a storage array, one price or result is stored for each bar on the chart. k is called the weighting, in this case it is fractional between 0-1. When k=1 you get SmaResult[]=NewPrice[] When k=0 you get SmaResult[]=Oldprice[] When k=0.5 you get an average,EmaResult[]=0.5*Oldprice[]+0.5*NewPrice[]. So its an average, that one looks like a simple average of prices from two bars, 50:50. The Sma formula can also look like this, but now k is no longer fractional here- SmaResult[]=((1-1/k)Oldprice[] + NewPrice[])/k (This k behaves like a bar count). k=4 is like a 4 bar average because SmaResult[]=3/4 * Oldprice[] + 1/4 * NewPrice[] The result is 3 parts OldPrice and 1 part NewPrice similar to a 4 bar average. This k is often in integers, but there can be decimals like k=2.5. Ema can give more weight to recent data- (with k fractional) EmaResult[new]=(1-k)EmaResult[old] + k*NewPrice[new] This is a running or moving average, the numbers stored in EmaResult[] can be mostly older prices (slow average) or mostly new prices (fast average) depending on the weighting k. k=1 gives fast average, stays close to new prices, this is like laddering. K is fractional here. k=0 gives no change with new prices, like horizonal effect. So the Chande VMA formula looks like Ema formula-(with k=VI fractional) VMA[new]=(1-VI)VMA[old] + VI*NewPrice[new] VI is the input signal, it provides variable weighting. VI=1 is laddering, ignores old prices, follows new prices. VI=0 is horizonal, ignores new prices and stays with- VMA[new]=VMA[old] Bemac used a 2 bar ema of the Chande formula, VMA4 uses the Chande formula with three different emas applied to it. Yeah it got more complicated. But for feeding a signal into the Chande VMA formula, the input VI= "Volatility Index" has to move between zero and one. So many forms of indicator are not suited to giving 0-1 output and something has to be changed to give 0-1 output for sending to the VMA. Last edited by PYenner; 09-25-2007 at 01:57 AM. | ||
| |
|
| | #179 | ||
![]() | Re: Playing with the VMAR`s open research Use FantailVMA4Turbo and FantailVMA3 as indicators to compare #3 with #4. Dont use FantailVMA4 as an indicator, it is not indended to be added as an indicator, it is only there to make fantail lines. I started this confusion sorry. Better luck with 4Turbo. | ||
| |
|
| | #180 | ||
![]() | Re: Playing with the VMAR`s open research Quote:
I would be interested in your thoughts on incorporating cci into this method, as I, like yourself, am a big fan of cci. Cheers Blu-Ray
__________________ “ Search is the ultimate expression of the power of the individual, using a computer, looking at the world, and finding exactly what they want ” – Eric Schmidt, Google | ||
| |
|
| | #181 | ||
![]() | Re: Playing with the VMAR`s open research The files are used in a different way from the past in order to have the 3 vma lines with or without the fantail. To use the fantail- First add FantailVMA4.tpl as a template, then add FantailVMA4Turbo.mq4 as an indicator to get the vma lines. To use just the vma lines without a fantail- Add FantailVMA4Turbo.mq4 as an indicator. Don't add FantailVMA4.mq4 as in indicator in either case as it will only give you the first yellow line of the fantail... Last edited by PYenner; 09-25-2007 at 08:09 AM. | ||
| |
|
| | #182 | ||
![]() | Re: Playing with the VMAR`s open research Quote:
I will attempt to "translate" VMA4 into VT type statements that may be more useful for others to follow than the MT4 version. But I won't be attempting to actually code it on VT. I ended up doing three vma lines so it got more complicated instead of less complicated. I still have more to do on vma, months maybe. Although vma4 seems like the first "trader friendly" version, I feel like I have only got to the start of understanding how it works, certainly not near the end, not nearly mastered yet. Would also like to get an excel version running, but where is all the time supposed to come from? Cheers | ||
| |
|
| | #183 | ||
![]() | Re: Playing with the VMAR`s open research You are right, coding certainely take a lot of time and it is a big learning process all by itself. Sincerely Shreem | ||
| |
|
| | #184 | ||
![]() | Re: Playing with the VMAR`s open research Blu-Ray: some time today I will post some charts with the cci adding... cheers Walter.
__________________ you must enjoy trading... otherwise you shouldnt trade... | ||
| |
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
| ∧ Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Playing the Initial Balance | TinGull | Market Profile | 13 | 10-19-2011 10:48 AM |
| Walter`s First Forex Research (various ideas) | walterw | Forex Trading Laboratory | 157 | 09-13-2011 05:14 AM |
| Playing the Opening Gap | Soultrader | Technical Analysis | 19 | 05-23-2007 05:10 PM |
| Playing Inside Days | Soultrader | E-mini Futures Trading Laboratory | 12 | 03-06-2007 05:10 PM |
| Research On Forums and Communities. Comments Please. | RichardKen | General Discussion | 6 | 02-18-2007 08:48 PM |