| Trading Indicators Post your custom trading indicators. If you download, remember to click INSTALL. |
![]() | | Tweet | |
Quick MA Details »» | ||||||||||||||||||||||||||||
Here is a 'very inexpensive' alternative to Juriks Moving Average contributed in Easy Language by John D. McCormick (TS handle = JDM, see jmactrader.com). Quote:
Posted with his permission. Please retain his 'copyright' info in the code. Many thanks to JDM. Download Now
Show Your Support
| ||||||||||||||||||||||||||||
| ∧ Similar Indicator | ||||
| Mod | Developer | Type | Replies | Last Post |
| Hull Moving Average Strategy | Minetoo | Trading Indicators | 25 | 05:23 PM 07-02-2009 |
| The Following 9 Users Say Thank You to zdo For This Useful Post: | ||
garp (11-22-2008), hawk_7_7 (12-04-2008), Minis Trader (11-27-2008), pathfinder62 (11-22-2008), RobotMan (04-03-2009), Soultrader (01-08-2009), Tams (04-06-2009), TradingPro (03-07-2010), whisper01Barry (11-23-2008) | ||
| Comments |
| | #2 | ||
![]() | Re: Quick MA Indicator Code: // // Plots a fractional-bar Quick Moving Average // with the option to select gapless daily opens. // // copyright 2008 John McCormick jmactrader.com // // feel free to copy and use this code royalty free // as long as it retains the above acknowledge // inputs: Price(Close), Quick_Length(9), displace(0), gapless(0); // set gap to a non-zero value to skip over opening daily gaps Var: Length(maxlist(1,Quick_Length)); // GapLess Vars: // gapless O,H,L,C where O=C[1] RelO(0), RelH(0), RelL(0), RelC(0), gap(0), Accum(0), WtMean(0); if date<>date[1] then begin gap = O-C[1]; Accum = Accum+gap; end; RelO = O-Accum; RelC = C-Accum; RelH = H-Accum; RelL = L-Accum; // Gapless bars - end WtMean = (RelH+RelL+RelC)/3; // End Gapless if gapless=0 then plot1[displace](FMA_Smooth(price,length),"FMA_Quick") else plot1[displace](FMA_Smooth(RelC,length)+accum,"FMA_Quick"); Function Code: // generates very smooth and responsive moving average // copyright 2008 John McCormick jmactrader.com // feel free to copy and use this code royalty free // as long as you don't remove the above acknowledgement // Inputs: Price(numericseries), Length(numericsimple); Vars: j(0), workinglen(maxlist(1,absvalue(Length))), peak(workinglen/3), tot(0), divisor(0); Array: val[100](0); if workinglen>100 then workinglen=100; // use larger array to handle lengths over 100 tot=0; divisor=0; for j=1 to floor(workinglen+1) begin if j<=peak then val[j]=j/peak else val[j]=(workinglen+1-j)/(workinglen+1-peak); tot=tot+price[j-1]*val[j]; divisor=divisor+val[j]; end; if divisor<>0 then FMA_smooth=tot/divisor; | ||
| |
|
| | #3 | ||
![]() | Re: Quick MA The arrows show spots where JMA beat QMA to the turn (Note, though, there may be instances off this chart where QMA leads JMA) Enjoy | ||
| |
|
| The Following User Says Thank You to zdo For This Useful Post: | ||
pathfinder62 (11-22-2008) | ||
| | #4 | ||
![]() | Re: Quick MA I'm very impressed by how smooth both of those are. There's three in this pic: the light blue was my attempt at smoothing the thin pink one. The other thin pink one was another smooth attempt but it wasn't good. Those up there are very, very smooth. | ||
| |
|
| The Following User Says Thank You to metalhead For This Useful Post: | ||
| | #5 | ||
![]() | Re: Quick MA Great work & thanks for sharing/educating us. Tom M. | ||
| |
|
| | #6 | ||
![]() | Re: Quick MA | ||
| |
|
| | #7 | ||
![]() | Re: Quick MA Thanks | ||
| |
|
| | #8 | ||
![]() | Re: Quick MA Quote:
Yellow is QuickMA Cyan is really Jurik (through the 90's it was the only adaptive mov avg I considered, hence the indicator label of "AMA" … (and obviously) it uses JMA function) TS has an AdaptiveMovingAverage built in (Kaufman’s) but I would be afraid to even allow it to open on my screen …seriously and … If you have TS you can try it... if not let me know and I will take some serious pain medication and put up a comparison. Keep in mind though that the kaufman effectively just 'dynamically' varies the length parameter via a stochastic rather than actually doing the 'phasing and whatever' that more recent ama do...hth | ||
| |
|
![]() |
| Tags |
| hull, moving average |
| Thread Tools | |
| Help Others By Rating This Thread | |
| |
| ∧ Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Quick Facts about Rollover Day | MrPaul | E-mini Futures Trading Laboratory | 7 | 06-13-2008 06:07 AM |
| A quick question on EuroDollar? | yjl | Beginners Forum | 4 | 01-28-2008 03:56 PM |
| A few quick questions on Tradestation... | MC | Brokers and Data Feeds | 4 | 11-04-2007 09:39 AM |
| A quick hello | BlowFish | Introduce Yourself | 4 | 03-25-2007 03:42 PM |
| Quick YM Analysis 01/17/07 | TinGull | Market Profile | 0 | 01-17-2007 08:14 AM |