OPEN-SOURCE SCRIPT

TMA All in One

Triangular Moving Averages
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..
imagen

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)
imagen
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
imagen
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
hareketliMoving AveragesortalamastrategyTMATrend Analysis

Script de código abierto

Siguiendo fielmente el espíritu de TradingView, el autor de este script lo ha publicado en código abierto, permitiendo que otros traders puedan entenderlo y verificarlo. ¡Olé por el autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la reutilización de este código en la publicación se rige por las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

¿Quiere utilizar este script en un gráfico?


También en:

Exención de responsabilidad