TMA All in One

TMA formula is prepared on the Tradingview so that everyone can easly access.
First, calculate the simple moving average ( SMA ):
SMA = (P1 + P2 + P3 + P4 + ... + PN ) / N
Then, take the average of all the SMA values to get TMA values.
TMA = (SMA1 + SMA2 + SMA3 + SMA4 + ... SMAN) / N
The TMA can also be expressed
Source : Close
if the prices are upper than moving averages price bar color will be green, if lower than moving average it will be red color.
İf the trend is bullish , TMA will work as support
İf the trend is bear, TMA will work as resistance..
We used SMA5 ( Simple Moving Average5)
İf short period average(Green), cross up Longterm average (brown) that means BUY ( Green area)
İf opposite SELL ( Red area)
My idea, weekly period gives very good results to middleterm and long term invesment..That can help us from which prices we can buy the stock which we think that financial results are positive..
The other topic;
At the end, everytime prices return back to average values, and prices can move away until some distance. We can buy or sell with mixed prices, that can provide us better buy or sell average cost.
in Default Settings;
SELL 2.Area = 20% over than Longterm average, if the prices go upper that means prices are increased so much
SELL 1.Area = 13% over than Longterm average, if the prices go upper that means prices are incresed a bit.
BUY 1.Area = 3% lower than Longterm average, if the prices go upper that means prices are decreased a bit.
BUY 2.Area = 10% lower than Longterm average, f the prices go upper that means prices are decreased so much
You can use this indicator in your interested stock market.. With checking historical behaviour of the related stock market, you can make balance on the indicator setting.
According to averages, below BUY-SELL strategy is important,
Powerful SELL
1- Previosly İncrease
2- Price cross down the long average line
3- Short average,crossdown the long average
4- Price approach to long average, but close the bar under this average
Powerful BUY
1. Previosly Decrease
2. Price cross up the long average line
3. Short average crossup the long average line
4. Price approach to long average, but close the bar over this average
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.
Penafian
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.