| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Baluda Indicators https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=629 |
Page 8 of 81 |
| Author: | mobthehop [ Sun Jun 24, 2012 10:14 am ] |
| Post subject: | TMA True calculation |
Guys, couple of weeks ago, I spent some hours to investigate the same and would like to share the following links / thoughts: 1. Based on my research, the tma true is somehow based on TMA centered which was originally coded by mladen at TSD in the Elite forum - see attached triangular moving average.pdf 2. In this post http://www.forexfactory.com/showthread. ... ost4133207, zznbrm explains the differences to TMA centered and his coding of tma true. I can not find any source code for tma true coming from zznbrm directly, so really not sure whether the mq4 version everybody uses is actually same as his ex4.... 3. Then there is this thread on FF http://www.forexfactory.com/showthread.php?t=299019 with these posts to consider: http://www.forexfactory.com/showthread. ... ost4699105 http://www.forexfactory.com/showthread. ... ost5474168 http://www.forexfactory.com/showthread. ... ost5531278 at the end of same thread, there is also some interesting discussion between zznbrm and Neotrader....lol 4. According to NB's documentation, page 2 some modifications were made to the TMA true see attached page from the manual, which should help to explain the difference between zznbrm true calculation and the one used in NB's 10.2 system... |
|
| Author: | NeoTrader [ Sun Jun 24, 2012 12:12 pm ] |
| Post subject: | Re: TMA True calculation |
Hi mobthehop, Thanks for sharing your thoughts and links... this is true...i actually have also the code from mladen...and he uses a sma and not lwma in his code And he also uses the atr the same way, 10 bars back. Actually the tma related code looks almost identical only the SMA/LWMA change) but i did not compared it to intensively.. In the tread TMA Reality Tour @ Forex Factory Colt45 posted "Currency Slope Strength v1.0.0 current.mq4" that was modified by me and zznbrm was so kind to add the TMAtrue calculation to it one post later. I have a decompiled version of this and the code is the same that baluda used in his indicators for the "ignoreFuture" Parameter and i also used in my indicator for the "tmaTrueMode". hehe...couldn't resist.. The major adjustments i see is that the tmaPeriod is now 20 and not 56 and at the slopeindicators the atr Multiplier is 0.1 and not 2.0 as in the original. But this is by no means a in depth analysis...i didn't check all code variations side by side. happy Sunday, NeoTrader, - |
|
| Author: | Zypip [ Sun Jun 24, 2012 4:01 pm ] |
| Post subject: | Re: Baluda Indicators |
Thunder, I think that is a brilliant idea, you have my vote |
|
| Author: | rattyo [ Sun Jun 24, 2012 6:06 pm ] |
| Post subject: | Re: Baluda Indicators |
with this baluda slope strength indicator, what does the red and green dots illustrate? also the arrows |
|
| Author: | NeoTrader [ Sun Jun 24, 2012 6:18 pm ] |
| Post subject: | Re: Baluda Indicators |
please read the info about the indicator on the first page...then you will know... little tip... check the parameter info.. happy Sunday, NeoTrader |
|
| Author: | Baluda [ Mon Jun 25, 2012 11:13 am ] |
| Post subject: | Re: Baluda Indicators |
Gary and others, TMA Not quite correct. Remember TMA is a triangluar moving average. The formula above only looks at the bars on the left (past) side of the bar we are calculating the TMA for. For a true TMA we also need to take account of the bars on the right (future) side of that bar. (Triangular, get it?) So the formula in simple form: Code: Select all But this value is still a price. And we can not compare prices of different instruments. The TMA of the EURUSD at some point could be something like 124.0129, the TMA for the USDJPY at the same time could be 80.32. Hardly comparable. To compare TMA values for different instruments wo we need to get to the pips of the TMA instead of the price. One way to do this is to determine the change in the TMA by subtracting the TMA of the prior bar from the TMA of the current bar. Code: Select all Code: Select all Achilles' Heel We suspect that something is rotten in the state of Denmark. The more current bars do not have enough future bars to calculate the TMA and Slope. We solve this by closing our eyes and simply omit any future bars that do not yet exist from any calculation. This means that the TMA for the current bar is calculated with past bars only, like this: Code: Select all The TMA and Slope for the last 20 bars changes with time. Inexperienced (for lack of another word) forex traders do not get this. They like something that is written in stone, something that they can hold onto. Values that never change, that they... (Stop me here or I'll go into Steve Hopwood Rant Mode.) To stop this so-called repainting we have to kick TMA in the balls (and amputate one of them in the process). Because to stop the last bars from changing with time we have to stop looking at the future. This is what we do, determine 'TMA' for the current bar: Code: Select all Code: Select all Code: Select all Side note: forex math geeks immediately recognize the TMA formula for the current bar as the LWMA. Code: Select all Personal note: what has come to be known as 'TMA true' is not TMA at all, let alone 'true'. It is a LWMA with a twist but hey, a rose by any other name... Paul |
|
| Author: | dietcoke [ Mon Jun 25, 2012 12:54 pm ] |
| Post subject: | Re: Baluda Indicators |
Thanks for that explanation of the TMA and slope calculation. Much appreciated. To be clear then, what you are saying is that the slope is generated from the difference between an LWMA and a partially calculated TMA?? And, the indicator we all call TMA is not really a genuine TMA because it is not calculated with all the required data?? |
|
| Author: | Baluda [ Mon Jun 25, 2012 1:31 pm ] |
| Post subject: | Re: Baluda Indicators |
Diet, No, the slope as it was introduced in 10.2 (I believe it was named '10.2 TMA slope v.1.4B 4.30'.) is 'full' TMA slope. All future bars, if available, are part of the calculation. It is only the non-repainting one that is partially castrated. This one has been been (misleadingly) named 'TMA true'. In my opinion it isn't triangular and therefore not TMA and definitely not 'TMA true'. Just my 200 pips. Paul |
|
| Author: | dietcoke [ Mon Jun 25, 2012 2:07 pm ] |
| Post subject: | Re: Baluda Indicators |
The point i was making was that if all the required data is not available then it's only a partial TMA. Which is why the indicator repaints. What we are doing when we look at TMA for the last 20 bars is an estimate of how the centred TMA might eventually evolve. |
|
| Author: | NeoTrader [ Mon Jun 25, 2012 2:17 pm ] |
| Post subject: | Re: Baluda Indicators |
Hi Paul, I value your opinion and thank you also for the explanation of the TMA. But i can not share your evaluation of the tmatrue... since the values of both tma's are the same at real time. The only difference is that the original tma repaints and smoothen the slope of the tma...for the past values... Your claim that tma is looking in so called future Bars is not real because tma is not really seeing future bars (how could it?)... What you define as future Bars are also past Bars that are only future Bars from the point of the actual Bar that is calculated which also lies far more in the past... In conclusion the original tma (non true) only beautifies the slope. From my perspective this is completely irrelevant since we actually rely only on the current value of the tma. And it also makes visual backtesting impossible. The true version doesn't repaint the past bars so we have at least the possibility to do some visual backtest...and like another member in this forum told...can shatter some Illusions about this indicator.. If the calculations are triangularMA or LWMA based is really insignificant as long as the values they deliver us in real time at the end are the same... my 2 pips.. happy trading, NeoTrader P.S.: Please feel free to correct me if i am far of with my conclusion...or otherwise.. - |
|
| All times are UTC | Page 8 of 81 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|