For those looking for help understanding this -
//Stochastic Momentum Index //Code by UCSgears study("UCS_Stochastic Momentum Index", shorttitle = "UCS_SMI", overlay=false) a = input(5, "Percent K Length") b = input(3, "Percent D Length") // Range Calculation ll = lowest (low, a) hh = highest (high, a) diff = hh - ll rdiff = close - (hh+ll)/2 // Nested Moving Average for smoother curves avgrel = ema(ema(rdiff,b),b) avgdiff = ema(ema(diff,b),b) // SMI calculations SMI = avgdiff != 0 ? (avgrel/(avgdiff/2)*100) : 0 SMIsignal = ema(SMI,b) //All PLOTS plot(SMI, title = "Stochastic Momentum Index") plot(SMIsignal, color= red, title = "SMI Signal Line") plot(40, color = red, title = "Over Bought") plot(-40, color = green, title = "Over Sold") plot(0, color = blue, title = "Zero Line") //END
(I removed LazyBears' cool color feature for a clearer comparison)
My conclusion: There does not seem to be a clear winner in this comparison, so my recommendation would be to use both indicators to watch the momentum. Here is the 'Composite Momentum Index' coded by LazyBear:
P.S. Both technical analysts are engineers. Tushar Chande holds a Ph.D. in metallurgical engineering from the University of Illinois. And William Blau holds a bachelor's degree in electrical engineering from NYU and a master's in systems engineering and operations research from the University of Pennsylvania.
All the greatest gamblers and traders had a system to line the probability in their favor with or without an indicator. So why not we do the same. Secret to the rich is not behind the indicator. Its is behind the statistical odds of the indicator working. Honestly, Probability and Statistics classes was boring and i thought it was useless in my high school, now the class i hated makes me more money than my Engineering Degree do. I still hold my job and trade, simply because the Job make me sharper with my skills, passion towards engineering and risk free income. To get to where I can trade and work, I needed a solid plan and a good time management, that needed practice. It was a rough ride, very slow, Frustrating and offered many sleepless nights, but I made it.. lol.
One thing an engineering degree did not offer me is, controlling emotions, this can be achieved by Yoga (any form of mental preparation). I am still a rookie here, This really turned my trading, ofcourse trustworthy people, offering advice. My rules for 6 of my strategies are simple, it is stupid as well. If i give it away, many will say, some of my variables are not co-related. That is the point, trading is not a linear system, nothing in the world is linear (human emotion). We and our science degrees teach us linearity on daily basis. Trading is Dynamic and it is very dynamic that all the Open loop systems have failed so many times (for which people pay $10 - $10k), only closed loop systems have proven to be profitable (HFT systems).
To build a process of a personal closed loop systems, you need statistics (trade logs). Using the Stats refine yourself again and again until, one can decide when to trade a system and when not to. Again, simplify the system to where it takes 15 mins to pick tickers. Thats an awful lot of time actually. Simple systems are easier to remember and can execute quicker. Be it Blackjack or Trading, the game is same. ;) Now the question I leave anybody with is, Is the stock market rigged? Is gambling rigged?
Physics have broken Roulette , Statistics have broken Crabs in a casino. You can beat Roulette with enough practice (The dealer is well trained), Just that there are many variables, you need to focus. You can beat the stockmarket with training as well. Its gonna be hard for someone starting with limited cash. I can help you shape your trading journey if needed, provided if time permits.
As usual Good Luck.
btw, I don't believe in Luck. Its just a joy for me to give away luck ;) lol
It basically comes down to timing. You don't want to be positioned too early into the next trend change, because that is emotionally painful to see the old trend still going against you (this can mostly happen using momentum based indicators like above). And you don't want to be so late to the game that all large profit potentials are already gone and the odds of the market changing the trend again has started to increase. Therefore I'm currently trying to get the timing right. When is the high risk worth getting in the position so early and when is waiting for more confirmation necessary to reduce that risk.