TradeStation

2 MA Ratio Can Help with Moving Averages

Many technical analysts use moving average crosses to assess trend changes. A faster-moving MA crossing above a slower-moving line may be viewed as a bullish signal. The opposite can apply to the downside.

While these methods may help analyze price direction, they can often force traders to wait until the cross occurs. Sometimes it may be useful to anticipate the event – or at least know it’s getting close.

That’s where the custom script 2 MA Ratio can be useful because it tracks the fast and slow moving averages. The fast MA is then shown as a percent of the slow MA. Positive readings indicate a bullish condition and vice versa for the negative.

It’s also color-coded to clearly illustrate when the crosses occur.

2 MA Ratio can handle simple moving averages (SMAs) and exponential moving averages (EMAs). It even lets you compare SMAs to EMAs. Users can choose between using open, high, low or closing prices as the inputs. (It defaults to Close.)

The chart above shows the short-term pair of the 8- and 21-day EMAs on Tesla (TSLA). The second chart below shows the same stock with the slower 50- and 200-day SMAs. Notice the “Golden Cross” last summer and the “Death Cross” in May:

TradeStation has, for decades, advanced the trading industry, providing access to stocks, options, futures and cryptocurrencies. See our Overview for more.

Important Information
TradeStation Securities, Inc., TradeStation Crypto, Inc., and TradeStation Technologies, Inc. are each wholly owned subsidiaries of TradeStation Group, Inc., all operating, and providing products and services, under the TradeStation brand and trademark. You Can Trade, Inc. is also a wholly owned subsidiary of TradeStation Group, Inc., operating under its own brand and trademarks. TradeStation Crypto, Inc. offers to self-directed investors and traders cryptocurrency brokerage services. It is neither licensed with the SEC or the CFTC nor is it a Member of NFA. When applying for, or purchasing, accounts, subscriptions, products, and services, it is important that you know which company you will be dealing with. Please click here for further important information explaining what this means.

This content is for informational and educational purposes only. This is not a recommendation regarding any investment or investment strategy. Any opinions expressed herein are those of the author and do not represent the views or opinions of TradeStation or any of its affiliates.

Investing involves risks. Past performance, whether actual or indicated by historical tests of strategies, is no guarantee of future performance or success. There is a possibility that you may sustain a loss equal to or greater than your entire investment regardless of which asset class you trade (equities, options, futures, or digital assets); therefore, you should not invest or risk money that you cannot afford to lose. Before trading any asset class, first read the relevant risk disclosure statements on the Important Documents page, found here: www.tradestation.com/important-information.
Script de código abierto

Siguiendo el verdadero espíritu de TradingView, el autor de este script lo ha publicado en código abierto, para que los traders puedan entenderlo y verificarlo. ¡Un hurra por el autor! Puede utilizarlo de forma gratuita, aunque si vuelve a utilizar este código en una publicación, debe cumplir con lo establecido en las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

¿Quiere utilizar este script en un gráfico?