| Forex Trading Laboratory Discussion forum for Forex traders - all forex pairs |
![]() | | Tweet | |
| | #465 | ||
![]() | Re: Playing with the VMAR`s open research Quote:
| ||
| |
|
| | #466 | ||
![]() | Re: Playing with the VMAR`s open research Quote:
Thanks Bruce... I forgot to attach code... cheers Walter
__________________ you must enjoy trading... otherwise you shouldnt trade... | ||
| |
|
| | #467 | ||
![]() | Re: Playing with the VMAR`s open research Quote:
Just an FYI...the Ninjatrader platform has a great dom (The same one I use with TransActFutures). It lets you place bracket orders, target and stops all with one click. You can also drag and drop your targets and stops. Great control. Thanks Sparrow....Armand | ||
| |
|
| | #468 | ||
![]() | Re: Playing with the VMAR`s open research This vidya was ported from the VT version by Amritend Maji (Maji). The settings were for 5min chart. Seemed to get the thumbs up for matching VT charts. Chande invented this too, but there are variations around and uncertainty about which are true to Chande. xpMA_v2.mq4 Universal xpMA by Codersguru. Change MA_Type to get: 0 Simple moving average, 1 Exponential moving average, 2 Smoothed moving average, 3 Linear weighted moving average. 4 Double Exponential Moving Average. 5 Triple Exponential Moving Average. 6 T3 Moving Average. 7 Jurik Moving Average. | ||
| |
|
| | #469 | ||
![]() | Re: Playing with the VMAR`s open research Here's my first NT verison of unicorn's adaption of the FantailVMA1. Hopefully someone can test it and tell me if it works fine. Cheers Last edited by Sparrow; 10-31-2007 at 07:12 AM. | ||
| |
|
| | #470 | ||
![]() | Re: Playing with the VMAR`s open research Quote:
Thank you, it looks like you are right but I'm not going to mess with it for now. Users of xpMA be warned. Sparrow, if you are also familiar with T3 this might be a simple question for you, if not just ignore it because I'm being lazy and looking for a quick fix. I suspect that T3 was intended to use a sequence of ema's but a version I am looking at has used a variable where an array should have been used if ema's were the intended result. The difference is that arrays will work fine on both bars and ticks, but a variable will malfunction on live ticks. This is what the code using variables looks like and cci[i] is supposed to end up holding a T3 version of a cci input signal. Would e1[i], e2[i] etc make more sense...? W1 and W2 weightings are ema type weightings eg (n-1) and n. for(int i = Bars - 1; i >= 0; i--) { cci[i] = iCCI(NULL, 0, CCI_Period, PRICE_TYPICAL, i); e1 = w1*cci[i] + w2*e1; e2 = w1*e1 + w2*e2; e3 = w1*e2 + w2*e3; e4 = w1*e3 + w2*e4; e5 = w1*e4 + w2*e5; e6 = w1*e5 + w2*e6; cci[i] = c1*e6 + c2*e5 + c3*e4 + c4*e3; I am new to just about everything so I will lean on an experienced shoulder if I can. Don't bust a gut on it, just answer if its obvious to you. Cheers Lazy PYenner Last edited by PYenner; 10-31-2007 at 07:02 AM. | ||
| |
|
| | #471 | ||
![]() | Re: Playing with the VMAR`s open research I have a programming backgroung and just got into indicator development but I am a quick learner. I might have an idea though because I am facing a similar problem at the moment. My guess is that the value for the previous bar is stored in the variable. If it's calculated on the close of the bar its value is correct but if you use every tick then it will represent the value of the last tick and not the ema value of the last bar. Hope it makes sense. Cheers Last edited by Sparrow; 10-31-2007 at 07:15 AM. | ||
| |
|
![]() |
| 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 09:48 AM |
| Walter`s First Forex Research (various ideas) | walterw | Forex Trading Laboratory | 157 | 09-13-2011 04:14 AM |
| Playing the Opening Gap | Soultrader | Technical Analysis | 19 | 05-23-2007 04:10 PM |
| Playing Inside Days | Soultrader | E-mini Futures Trading Laboratory | 12 | 03-06-2007 04:10 PM |
| Research On Forums and Communities. Comments Please. | RichardKen | General Discussion | 6 | 02-18-2007 07:48 PM |